Exam Theory Practice Flashcards
A(n) _______ is a program that translates the statements of a high-level language the resulting output is a set of machine executable statements
Compiler
A(n) __________ is a sequence of characters that in some languages can be considered as one data value.
String
A(n) ________ is a description of a set of values and the operations that can be applied to those values.
Data type
A file’s _______ is a text designation of the location of the file within the file system.
Path
What is the name of the last part of the file name that gives an indication of what kind of data the file contains?
File extension
Operating systems manages the allocation and sharing of _______ resources to applications that want to use them.
Hardware
The computer’s operating system and language translators are generally known as ________
System Software
In the earliest electronic computers, programmers had to write machine language code expressed as ______ digits.
Binary
How many bits are in a byte?
8
Name some of the bases that the notation 364 can NOT be written in?
6,5,4,3,binary
The ________ is the dot that separates the whole part from the fractional part in any real number in any base.
Radix point
Which gate inverts its input?
NOT
An assembly-language program uses _______________ to represent instructions.
Mnemonics
The control unit fetches the next instruction from memory using the address stored in the ___________
Program counter
A(n) __________ is a descriptive name you give to memory locations which are used to store values.
Variable
Compiled programs are generally slower than interpreted programs(true or false)
False
An interpreter translates and executes the statements in sequence. (true or false)
True
Imperative paradigm describe the results, but not how to get to it. (true or false)
True
A(n) ________ is an abstract data type behaves in a manner similar to a waiting line at a bank or supermarket.
Queue
A(n) ________ operates on a “last in, first out” manner.
Stack
________ is used to remove the first object in a queue.
Dequeue
______ is used for the insertion operation of a Stack.
Push
Both queue and stack use this command to determine if there are any more elements in their respective array.
Is Empty
The _______ of an array is the number of elements it can hold.
Length