Filters
Question type

Study Flashcards

This is a volatile type of memory, used for temporary storage.


A) A floppy disk
B) ALU
C) RAM
D) A hard disk
E) None of the above

Correct Answer

verifed

verified

An Integrated Development Environment typically consists of:


A) A text editor
B) A compiler
C) A debugger
D) All of the above
E) None of the above

Correct Answer

verifed

verified

During which stage does the central processing unit retrieve from main memory the next instruction in the sequence of program instructions?


A) fetch
B) decode
C) execute
D) portability stage

Correct Answer

verifed

verified

Which of the following best describes an operator?


A) An operator is a rule that must be followed when constructing a program.
B) An operator allows you to perform operations on one or more pieces of data.
C) An operator marks the beginning or ending of a statement, or is used to separate items in a list.
D) An operator is a word that has a special meaning.
E) An operator is a symbolic name that refers to a variable.

Correct Answer

verifed

verified

B

Mistakes that cause a running program to produce incorrect results are called:


A) Syntax errors
B) Logic errors
C) Compiler errors
D) Linker errors
E) None of the above

Correct Answer

verifed

verified

Which of the following is a preprocessor directive?


A) pay = hours * rate;
B) cin >> rate;
C) // This program calculates the user's pay.
D) int main()
E) #include <iostream>

Correct Answer

verifed

verified

An example of a secondary storage device is:


A) The computer's main memory
B) The keyboard
C) The monitor
D) A hard disk
E) None of the above

Correct Answer

verifed

verified

The statements written by the programmer are called:


A) Syntax
B) Object code
C) Source code
D) Runtime libraries
E) None of the above

Correct Answer

verifed

verified

Internally, the CPU consists of two parts:


A) The Output Device and the Input Device
B) The Software and the Hardware
C) The Control Unit and the Arithmetic and Logic Unit
D) The Single-task Device and the Multi-task Device
E) None of the above

Correct Answer

verifed

verified

C

A set of well-defined steps for performing a task or solving a problem is known as a(n) :


A) Hierarchy
B) Algorithm
C) Central Processing Unit
D) Encoded instruction
E) None of the above

Correct Answer

verifed

verified

The computer's main memory is commonly known as:


A) The hard disk
B) The floppy disk
C) RAM
D) Secondary storage
E) None of the above

Correct Answer

verifed

verified

In the process of translating a source file into an executable file, which of the following is the correct sequence?


A) Source code, preprocessor, modified source code, linker, object code, compiler, executable code.
B) Preprocessor, source code, compiler, executable code, linker, modified source code, object code.
C) Source code, compiler, modified source code, preprocessor, object code, linker, executable code.
D) Source code, preprocessor, modified source code, compiler, object code, linker, executable code.
E) Source code, linker, object code, compiler, modified source code, preprocessor, executable code.

Correct Answer

verifed

verified

The name for a memory location that may hold data is:


A) Key Word
B) Syntax
C) Operator
D) Variable
E) None of the above

Correct Answer

verifed

verified

D

Unix and Windows 2000 are examples of _______________ operating systems.


A) single tasking
B) multi-tasking
C) Macintosh
D) command-driven
E) None of these

Correct Answer

verifed

verified

_______________ are used to translate each source code instruction into the appropriate machine language instruction.


A) Modules
B) Library routines
C) Compilers
D) Preprocessor directives
E) None of the above

Correct Answer

verifed

verified

Characters or symbols that perform operations on one or more operands are:


A) Syntax
B) Op codes
C) Operators
D) Program ops
E) None of the above

Correct Answer

verifed

verified

In programming, the terms "line" and "statement" always mean the same thing.

Correct Answer

verifed

verified

Machine language is an example of a high-level language.

Correct Answer

verifed

verified

Programmer-defined names of memory locations that may hold data are:


A) Operators
B) Variables
C) Syntax
D) Operands
E) None of the above.

Correct Answer

verifed

verified

This is a complete instruction that causes the computer to perform some action.


A) Line
B) Statement
C) Variable
D) Key Word
E) None of the above

Correct Answer

verifed

verified

Showing 1 - 20 of 44

Related Exams

Show Answer