Chapter 1 in class review Flashcards
True or False
The Python language uses a compiler which is a program that both translates and executes the instructions in a high-level language
false
What is an alternative method to using a text editor to write, execute, and test a Python program?
Integrated Development and Learning Environment (IDLE)
What is considered to be the worlds first programmable electronic computer?
ENIAC
Where does a computer store a program and the data that the program is working with while the program is running?
in main memory
Modern CPUs are much more what than the CPUs of early computers
smaller and more powerful
The process known as the blank cycle is used by the CPU to execute instructions in a program
fetch-decode-execute
Which language is referred to as a low-level language?
Assembly language
The following is an example of an instruction written in which computer language?
10110000
Machine language
True or False
All programs are normally stored in ROM and are loaded into RAM as needed for processing
false
True or False
The instruction set for a microprocessor is unique and is typically understood by the microprocessor
true
True or False
The CPU understands instructions written in a binary machine language
true
True or False
A bit that is turned off is represented by the value -1
false
True or False
The main reason to use secondary storage is to hold data for long periods of time, even when the power supply to the computer is turned off
true
True or False
RAM is a volatile memory used for temporary storage while a program is running
true
Programs are commonly referred to as
software
What type of volatile memory is usually only used for temporary storage while running a program?
RAM
Which computer language used short words known as mnemonics for writing programs?
Assembly
The encoding technique used to store negative numbers in the computers memory is called
twos complement
The coding scheme contains set of 128 numeric characters that are used to represent characters in a computers memory
ASCII
The smallest storage location in a computers memory is known as
bit
What is the largest value that can be stored in one byte?
255
The disk drive is a secondary storage device that stores data by blank encoding it onto a spinning circular disk
magnetically
A blank has no moving parts and operates faster than a traditional disk drive
solid state drive
Which of the following is not a major component of a typical computer system?
a. the CPU
b. main memory
c. the operating system
d. secondary storage devices
c. the operating system
Which type of error prevents the program from running?
syntax
What is the decimal value of the following binary number 10011101
157