A language consisting of a fixed vocabulary and set of syntax rules that is used to create instructions for a computer to follow is a(n)___.
Computer instructions written in machine language is called _____
RAM stands for _____
True or false: ROM is memory whose contents are NOT lost when power is turned off or interrupted.
Computer instructions written in a high-level language is called… _____
A(n) … is a collection of statements written in a programming language. _____
A(n) … is a step-by-step list of instructions for solving a
problem and is independent of any programming language. _____
Where is a program stored when it is not currently running?
Which part of the computer carries out arithmetic operations, such as addition and multiplication?
What are the two most important benefits of the Java language?
Using Eclipse, create a Java program that displays the string "Hello World".
What is a Java compiler?
What do you do to protect yourself from data loss when you work on programming assignments?
What does the following set of statements print?
System.out.print("Today is lucky.");
System.out.println(3 + 4 + 5);
Consider the following problem: A cell phone carrier charges 29.95 for up to 300 minutes of calls,
and $0.45 for each additional minute, plus 12.5% taxes and fees. Write an algorithm to compute the monthly charge from a given number of minutes.
Answers
A programming language.
Machine language
Random Access Memory
true
Programming language
Computer program
Algorithm
In secondary storage, typically a hard disk.
The central processing unit.
Safety and portability
You will be asked to perform this during the quiz on Friday.
In order to run your program, the Java compiler translates your source code
(that is, the statements that you wrote) into class files. A class file
contains instructions for the Java virtual machine. After the compiler has translated
your program into virtual machine instructions,
the virtual machine executes them.
You back up your files and folders.
Today is lucky.12
Algorithm: Is the number of minutes at most 300?
YES:
The computed answer is $29.95 * 1.125
NO:
a. Compute the difference (number of minutes - 300.
b. Multiply the difference by 0.45
c. Add $29.95
d. The computed answer :Multiply the total value from c. by 1.125.