CSE 100: Principles of Programming with C++ Midterm Exam 1

Description

Quiz on CSE 100: Principles of Programming with C++ Midterm Exam 1, created by Zoe Cayetano on 13/02/2016.
Zoe Cayetano
Quiz by Zoe Cayetano, updated more than 1 year ago
Zoe Cayetano
Created by Zoe Cayetano almost 9 years ago
247
2

Resource summary

Question 1

Question
When 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].
Answer
  • central processing unit

Question 2

Question
When a program runs on a computer, it is stored in the [blank_start]main memory[blank_end].
Answer
  • main memory

Question 3

Question
Monitors, printers, and status lights are all examples of [blank_start]output[blank_end] devices.
Answer
  • output

Question 4

Question
Mice, trackpads, keyboards, scanners, and joysticks are all examples of [blank_start]input[blank_end] devices.
Answer
  • input

Question 5

Question
When a program is not running, it is stored in a/an [blank_start]secondary storage[blank_end].
Answer
  • secondary storage

Question 6

Question
Flash drives, CDs, and external disks are all examples of [blank_start]secondary[blank_end] storage (memory) devices.
Answer
  • secondary

Question 7

Question
At each step of its operation, the input to a central processing unit is a/an [blank_start]instruction[blank_end].
Answer
  • instruction

Question 8

Question
A [blank_start]bit[blank_end] is a binary digit, like 0 or 1.
Answer
  • bit

Question 9

Question
A byte in memory is identified by a unique number called its [blank_start]address[blank_end].
Answer
  • address

Question 10

Question
In modern computer systems, a byte consists of [blank_start]8[blank_end] bits.
Answer
  • 8

Question 11

Question
RAM, random-access memory, is called that because
Answer
  • it is optimized for random number processing.
  • accesses are randomized to prevent clogging the control lines.
  • you can pick any two random locations and it will take the same time to access the data.
  • when power is turned off, its contents are lost and replaced by random bits.
  • none of the above.

Question 12

Question
When a program is not running, it is stored
Answer
  • on a disk.
  • in a level-2 cache (L2).
  • in main memory.
  • on the ethernet or wifi.

Question 13

Question
An operating system
Answer
  • is the chief hardware unit in a computer.
  • is loaded into the computer each time it needs to carry out an operation.
  • ensures that programs will not run on the computer at the same time.
  • allocates resources like memory to programs that are running.
  • all of the above.

Question 14

Question
What best defines a "programming language"?
Answer
  • It allows us to control a computer.
  • It allows us to make a calculation.
  • It allows us to execute a program.
  • It allows us to express an algorithm.

Question 15

Question
Which of these is not a programming language?
Answer
  • C
  • C++
  • HTML
  • Java

Question 16

Question
Which of the following is not true?
Answer
  • An algorithm allows ambiguity.
  • An algorithm, when carried out, must eventually stop.
  • An algorithm can be carried out by a human being.
Show full summary Hide full summary

Similar

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr