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

Beschreibung

Quiz am CSE 100: Principles of Programming with C++ Midterm Exam 1, erstellt von Zoe Cayetano am 13/02/2016.
Zoe Cayetano
Quiz von Zoe Cayetano, aktualisiert more than 1 year ago
Zoe Cayetano
Erstellt von Zoe Cayetano vor mehr als 8 Jahre
236
2

Zusammenfassung der Ressource

Frage 1

Frage
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].
Antworten
  • central processing unit

Frage 2

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

Frage 3

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

Frage 4

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

Frage 5

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

Frage 6

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

Frage 7

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

Frage 8

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

Frage 9

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

Frage 10

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

Frage 11

Frage
RAM, random-access memory, is called that because
Antworten
  • 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.

Frage 12

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

Frage 13

Frage
An operating system
Antworten
  • 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.

Frage 14

Frage
What best defines a "programming language"?
Antworten
  • 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.

Frage 15

Frage
Which of these is not a programming language?
Antworten
  • C
  • C++
  • HTML
  • Java

Frage 16

Frage
Which of the following is not true?
Antworten
  • An algorithm allows ambiguity.
  • An algorithm, when carried out, must eventually stop.
  • An algorithm can be carried out by a human being.
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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