Week 1 Flashcards

1
Q

A software developer is the person with the training to design, create, and test computer programs.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

A bit that is turned off is represented by the value -1.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

IDLE is an alternative method to using a text editor to write, execute, and test a Python program.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A computer is a single device that performs different types of tasks for its users.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

All programs are normally stored in ROM and are loaded into RAM as needed for processing.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The instruction set for a microprocessor is unique and is typically understood only by the microprocessors of the same brand.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The CPU understands instructions written in a binary machine language.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

RAM is a volatile memory used for temporary storage while a program is running.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The Python language uses a compiler which is a program that both translates and executes the instructions in a high-level language.

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Programs are commonly referred to as
a. system software
b. software
c. application software
d. utility programs

A

B. Software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which of the following is considered to be the world’s first programmable electronic computer?
a. IBM
b. Dell
c. ENIAC
d. Gateway

A

C. ENIAC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Where does a computer store a program and the data that the program is working with while the program is running?
a. in main memory
b. in the CPU
c. in secondary storage
d. in the microprocessor

A

A. Main Memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What type of volatile memory is usually used only for temporary storage while running a program?
a. ROM
b. TMM
c. RAM
d. TVM

A

C. RAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which of the following is not a microprocessor manufacturing company?
a. Intel
b. Dell
c. AMD
d. Motorola

A

B. Dell

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which computer language uses short words known as mnemonics for writing programs?
a. Assembly
b. Java
c. Pascal
d. Visual Basic

A

A. Assembly

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

The process known as the __________ cycle is used by the CPU to execute instructions in a program.
a. decode-fetch-execute
b. decode-execute-fetch
c. fetch-decode-execute
d. fetch-execute-decode

A

C. Fetch-Decode-Execute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Which language is referred to as a low-level language?
a. C++
b. Assembly language
c. Java
d. Python

A

B. Assembly language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

The following is an example of an instruction written in which computer language?
10110000
a. Assembly language
b. Java
c. machine language
d. C#

A

C. Machine Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

The encoding technique used to store negative numbers in the computer’s memory is called
a. Unicode
b. ASCII
c. floating-point notation
d. two’s complement

A

D. Two’s complement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

The __________ coding scheme contains a set of 128 numeric codes that are used to represent characters in the computer’s memory.
a. Unicode
b. ASCII
c. ENIAC
d. two’s complement

A

B. ASCII

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

The smallest storage location in a computer’s memory is known as a
a. byte
b. ketter
c. switch
d. bit

A

D. Bit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is the largest value that can be stored in one byte?
a. 255
b. 128
c. 8
d. 65535

A

A. 255

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

The disk drive is a secondary storage device that stores data by __________ encoding it onto a spinning circular disk.
a. electrically
b. magnetically
c. digitally
d. optically

A

B. Magnetically

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
A __________ has no moving parts and operates faster than a traditional disk drive. a. DVD drive b. solid state drive c. jumper drive d. hyper drive
B. Solid State Drive
26
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. Operating System
27
Which type of error prevents the program from running? a. syntax b. human c. grammatical d. logical
A. Syntax
28
What is the decimal value of the following binary number? 10011101 a. 157 b. 8 c. 156 d. 28
A. 157
29
Select all that apply. To create a Python program you can use a. a text editor b. a word processor if you save your file as a .docx c. IDLE d. Excel
A. Text Editor and C. IDLE
30
​A(n) ___________ is a set of instructions that a computer follows to perform a task.
Program
31
The term ___________ refers to all the physical devices that make up a computer.
Hardware
32
The __________ is the part of the computer that actually runs programs and is the most important component in a computer.
Central Processing Unit (CPU)
33
​A disk drive stores data by __________ encoding it onto a circular disk.
Magnetically
34
__________ are small central processing unit chips.
Microprocessors
35
​__________ is a type of memory that can hold data for long periods of time, even when there is no power to the computer.
Secondary Storage
36
Main memory is commonly known as _______________.
Random Access Memory (RAM)
37
USB drives store data using __________ memory.
Flash
38
The Python __________ is a program that can read Python programming statements and execute them
Interpreter
39
In __________ mode, the interpreter reads the contents of a file that contains Python statements and executes each statement.
Script
40
List the five major components of a computer system.
The Central Processing Unit (CPU), Main Memory, Secondary Storage Devices, Input Devices, Output Devices
41
A component that collects data from people or other devices and send it to the computer is called _____. a. an output device b. an input device c. a secondary storage device d. main memory
b. an input device
42
A video is a(n) _____ device. a. an output device b. an input device c. a secondary storage device d. main memory
a. an output device
43
A _____ is enough memory to store a letter of the alphabet or a small number. a. byte b. bit c. switch d. transistor
a. byte
44
A byte is made up of eight _____. a. CPUs b. instructions c. variables d. bits
d. bits
45
In the _____ numbering system, all numeric values are written as sequences of 0s and 1s. a. hexadecimal b. binary c. octal d. decimal
b. binary
46
A bit that is turned off represents:
0
47
A set of 128 numeric codes that represent the English letters, various punctuation marks, and other characters is _____. a. binary numbering b. ASCII c. Unicode d. ENIAC
b. ASCII
48
An extensive encoding scheme that can represent characters for many languages in the world is ______. a. binary numbering b. ASCII c. Unicode d. ENIAC
c. Unicode
49
Negative numbers are encoded using the ______ technique. a. two's complement b. floating point c. ASCII d. Unicode
a. two's complement
50
Real numbers are encoded using the _____ technique a. two's complement b. floating point c. ASCII d. Unicode
b. floating point
51
The tiny dots of color that digital images are composed of are called __________. a. bits b. bytes c. color packets d. pixels
d. pixels
52
If you were to look at a machine language program, you would see __________. a. Python code b. a stream of binary numbers c. English words d. circuits
b. a stream of binary numbers
53
In the __________ part of the fetch-decode-execute cycle, the CPU determines which operation it should perform. a. fetch b. decode c. execute d. deconstruct
b. decode
54
Computers can only execute programs that are written in __________. a. Java b. assembly language c. machine language d. Python
c. machine language
55
The __________ translates an assembly language program to a machine language program. a. assembler b. compiler c. translator d. interpreter
a. assembler
56
The words that make up a high-level programming language are called __________. a. binary instructions b. mnemonics c. commands d. key words
d. key words
57
The rules that must be followed when writing a program are called __________. a. syntax b. punctuation c. key words d. operators
a. syntax
58
A(n) __________ program translates a high-level language program into a separate machine language program. a. assembler b. compiler c. translator d. utility
b. compiler
59
Today, CPUs are huge devices made of electrical and mechanical components such as vacuum tubes and switches.
False
60
Any piece of data that is stored in a computer’s memory must be stored as a binary number.
True
61
Images, like the ones created with your digital camera, cannot be stored as binary numbers.
False
62
Machine language is the only language that a CPU understands
True
63
Assembly language is considered a high-level language.
False
64
An interpreter is a program that both translates and executes the instructions in a highlevel language program
True
65
A syntax error does not prevent a program from being compiled and executed.
False
66
Windows, Linux, Android, iOS, and macOS are all examples of application software.
False
67
Word processing programs, spreadsheet programs, email programs, web browsers, and games are all examples of utility programs.
False
68
How does the main memory and the secondary storage of a computer differ from each other?
The main memory is temporary and volatile, that is its contents are erased when power is removed from the computer. Secondary memory does not lose its contents when power is removed from the computer. The main memory is where the computer stores a program while the program is running, as well as data that the program is working with. The secondary memory can hold data for long periods of time.
69
What number does a bit that is turned on represent?
1
70
How many different characters can be represented in ASCII? Name the character set that addresses this limitation.
The ASCII character set is a 7-bit set of codes that allows 128 different characters.
71
What is an individual instruction in a program written in a high-level programming language called?
statements
72
What are the short words that are used in assembly language called?
Mnemonic
73
What is the difference between a compiler and an interpreter?
Interpreter translates just one statement of the program at a time into machine code. Compiler scans the entire program and translates the whole of it into machine code at once.
74
What type of software controls the internal operations of the computer’s hardware?
operating system