Quiz
CSE 100: Principles of Programming with C++ Midterm Exam 1
This quiz has question types that open in the usual player.
Questions in this quiz (16)
1When a program runs on a computer, the part of the computer that carries out the instructions is called the [blank_start]central processing unit[blank_end].
- Acentral processing unit
2When a program runs on a computer, it is stored in the [blank_start]main memory[blank_end].
- Amain memory
3Monitors, printers, and status lights are all examples of [blank_start]output[blank_end] devices.
- Aoutput
4Mice, trackpads, keyboards, scanners, and joysticks are all examples of [blank_start]input[blank_end] devices.
- Ainput
5When a program is not running, it is stored in a/an [blank_start]secondary storage[blank_end].
- Asecondary storage
6Flash drives, CDs, and external disks are all examples of [blank_start]secondary[blank_end] storage (memory) devices.
- Asecondary
7At each step of its operation, the input to a central processing unit is a/an [blank_start]instruction[blank_end].
- Ainstruction
8A [blank_start]bit[blank_end] is a binary digit, like 0 or 1.
- Abit
9A byte in memory is identified by a unique number called its [blank_start]address[blank_end].
- Aaddress
10In modern computer systems, a byte consists of [blank_start]8[blank_end] bits.
- A8
11RAM, random-access memory, is called that because
- Ait is optimized for random number processing.
- Baccesses are randomized to prevent clogging the control lines.
- Cyou can pick any two random locations and it will take the same time to access the data.
- Dwhen power is turned off, its contents are lost and replaced by random bits.
- Enone of the above.
12When a program is not running, it is stored
- Aon a disk.
- Bin a level-2 cache (L2).
- Cin main memory.
- Don the ethernet or wifi.
13An operating system
- Ais the chief hardware unit in a computer.
- Bis loaded into the computer each time it needs to carry out an operation.
- Censures that programs will not run on the computer at the same time.
- Dallocates resources like memory to programs that are running.
- Eall of the above.
14What best defines a "programming language"?
- AIt allows us to control a computer.
- BIt allows us to make a calculation.
- CIt allows us to execute a program.
- DIt allows us to express an algorithm.
15Which of these is not a programming language?
- AC
- BC++
- CHTML
- DJava
16Which of the following is not true?
- AAn algorithm allows ambiguity.
- BAn algorithm, when carried out, must eventually stop.
- CAn algorithm can be carried out by a human being.
Information
- Description
- Quiz on CSE 100: Principles of Programming with C++ Midterm Exam 1, created by Zoe Cayetano on 13/02/2016.
- Author
- Zoe Cayetano
- Language
- English
- Views
- 291
- Tags
- Rating
- 3.5 out of 5 · 2 ratings Rate this quiz