Deck 1: Introduction
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
Play
Full screen (f)
Deck 1: Introduction
1
An algorithm solves a general class of problems.
True
2
A program stored in computer memory must be represented in binary digits, which is also known as ASCII code.
False
3
Ancient mathematicians developed the first algorithms.
True
4
An important part of any operating system is its file system, which allows human users to organize their data and programs in permanent storage.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
An algorithm describes a process that ends with a solution to a problem.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
The part of a computer that is responsible for processing data is the central processing unit (CPU).
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
Informally, a computing agent is like a recipe.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
Computer science focuses on a broad set of interrelated ideas.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
The algorithms that describe information processing can also be represented as information.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
The first electronic digital computers, sometimes called mainframe computers, consisted of vacuum tubes, wires, and plugs, and filled entire rooms.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
When using a computer, human users primarily interact with the memory.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
An algorithm describes a process that may or may not halt after arriving at a solution to a problem.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
Each individual instruction in an algorithm is well defined.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
A programmer typically starts by writing high-level language statements in a text editor.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
In the early 1940s, computer scientists realized that a symbolic notation could be used instead of machine code, and the first assembly languages appeared.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
The most important example of system software is a computer's operating system.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
The development of the transistor in the early 1960s allowed computer engineers to build ever smaller, faster, and less expensive computer hardware components.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
Magnetic storage media, such as tapes and hard disks, allow bit patterns to be stored as patterns on a magnetic field.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
Information is stored as patterns of bytes (1s and 0s).
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
In the 1930s, the mathematician Blaise Pascal explored the theoretical foundations and limits of algorithms and computation.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
What kind of programming language is Python?
A) An interpreted language.
B) A compiled language.
C) A interpolated language.
D) A manufactured language.
A) An interpreted language.
B) A compiled language.
C) A interpolated language.
D) A manufactured language.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
What is the name used for the integrated program development environment that comes with a Python installation?
A) Eclipse
B) IDLE
C) PyShell
D) PyDDL
A) Eclipse
B) IDLE
C) PyShell
D) PyDDL
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
What would be the output if you were to print the variable named value as declared by this statement: value = "2" + "2"?
A) The number "4".
B) A floating point value of 4.0.
C) The string "22".
D) A type error, as integers cannot be concatenated.
A) The number "4".
B) A floating point value of 4.0.
C) The string "22".
D) A type error, as integers cannot be concatenated.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
In the 1960s, batch processing sometimes caused a programmer to wait days for results, including error messages.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
Who is credited as having created the World Wide Web in 1992?
A) Steve Jobs
B) Albert Gore
C) Tim Berners-Lee
D) Paul Allen
A) Steve Jobs
B) Albert Gore
C) Tim Berners-Lee
D) Paul Allen
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
What built-in function should you use in Python to prompt a user for data input?
A) input
B) cin
C) prompt
D) get
A) input
B) cin
C) prompt
D) get
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
In 1984, Apple Computer brought forth the Macintosh, the first successful mass-produced personal computer with a graphical user interface.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
In Python, the programmer can force the output of a value by using the cout statement.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
What component of Python is responsible for the execution of Python byte code?
A) IDLE
B) Python interpreter
C) Python virtual machine (PVM)
D) Python Script Engine (PSE)
A) IDLE
B) Python interpreter
C) Python virtual machine (PVM)
D) Python Script Engine (PSE)
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
How is data stored within a computer's memory?
A) It is stored as hexadecimal data.
B) It is stored as octal data.
C) It is stored as binary data.
D) It is stored in plain text data.
A) It is stored as hexadecimal data.
B) It is stored as octal data.
C) It is stored as binary data.
D) It is stored in plain text data.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
While viewing a screen displaying an active IDLE session, what does green text mean?
A) The text is the result of output, or is the name of a function.
B) The text represents a string.
C) The text is a built-in function name.
D) The text indicates a variable's name.
A) The text is the result of output, or is the name of a function.
B) The text represents a string.
C) The text is a built-in function name.
D) The text indicates a variable's name.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
When a Python interpreter runs a script, what is the script translated into?
A) assembly code
B) byte code
C) interpolated language code
D) ELF-formatted binary
A) assembly code
B) byte code
C) interpolated language code
D) ELF-formatted binary
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
What program is used by a programmer to convert high-level code into executable code?
A) translator
B) run-time system
C) interpreter
D) text editor
A) translator
B) run-time system
C) interpreter
D) text editor
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
A flash memory stick is an example of what type of storage media?
A) magnetic storage media
B) optical storage media
C) electrical storage media
D) semiconductor storage media
A) magnetic storage media
B) optical storage media
C) electrical storage media
D) semiconductor storage media
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
Moore's Law states that the processing speed and storage capacity of hardware will increase and its cost will decrease by approximately a factor of 3 every 18 months.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
At what point in the interpretation of a Python program are syntax error messages generated?
A) After the conversion of the code into byte code.
B) Before execution of the program, when it is passed through the translator.
C) During execution of the program by the Python virtual machine.
D) After user input defined by the program is collected.
A) After the conversion of the code into byte code.
B) Before execution of the program, when it is passed through the translator.
C) During execution of the program by the Python virtual machine.
D) After user input defined by the program is collected.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
What problem was the Atanasoff-Berry Computer designed to solve?
A) The automatic creation of ballistics tables for the U.S. military.
B) The coded transmissions used by Germany in WWII.
C) The solving of systems of simultaneous linear equations.
D) The calculation of maritime navigation routes for the U.S. Navy.
A) The automatic creation of ballistics tables for the U.S. military.
B) The coded transmissions used by Germany in WWII.
C) The solving of systems of simultaneous linear equations.
D) The calculation of maritime navigation routes for the U.S. Navy.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
By the mid 1980s, the ARPANET had grown into what we now call the Internet, connecting computers owned by large institutions, small organizations, and individuals all over the world.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
In a computer, what component is known as the "processor"?
A) RAM
B) CPU
C) basic input/output devices
D) motherboard
A) RAM
B) CPU
C) basic input/output devices
D) motherboard
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
When using IDLE for Python programming, what color is used to distinguish built-in function names?
A) blue
B) green
C) purple
D) red
A) blue
B) green
C) purple
D) red
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
What processor was contained in the first mass-produced personal computer?
A) Intel 8080
B) AMD486
C) NEC V20
D) Motorola 88000
A) Intel 8080
B) AMD486
C) NEC V20
D) Motorola 88000
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
What was the first PC-based operating system called?
A) Microsoft Disk Operating System (MS-DOS)
B) UNIX
C) Linux
D) Control Program for Microcomputers (CP/M)
A) Microsoft Disk Operating System (MS-DOS)
B) UNIX
C) Linux
D) Control Program for Microcomputers (CP/M)
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
In order to change the print function to output on the same line as the previous one, without printing a newline, what expression can be added?
A) terminator = ""
B) end = ""
C) eol = ""
D) newline = 0
A) terminator = ""
B) end = ""
C) eol = ""
D) newline = 0
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
What is NOT one of the initial four locations connected by the ARPANET in the 1970s?
A) Stanford Research Institute
B) University of California at Los Angeles
C) UC Santa Barbara
D) Massachusetts Institute of Technology
A) Stanford Research Institute
B) University of California at Los Angeles
C) UC Santa Barbara
D) Massachusetts Institute of Technology
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
What language was designed based on a theory of recursive functions and is considered to be an ideal language for solving difficult or complex problems?
A) COBOL
B) FORTRAN
C) LISP
D) Assembler
A) COBOL
B) FORTRAN
C) LISP
D) Assembler
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
What type of processing occurs when processes run for a slice of time, then yield access to the CPU to another process, cycling through processes repeatedly?
A) coalescent processing
B) cooperative processing
C) concurrent processing
D) divisive processing
A) coalescent processing
B) cooperative processing
C) concurrent processing
D) divisive processing
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
When reading the syntax for the print command, what does the ellipsis between expressions indicate?
A) They indicate that all expressions are required to be included.
B) They indicate that the program has a minimum number of expressions that must be included.
C) They indicate that you must pass a value of specific type to the expression.
D) They indicate that you could include multiple expressions after the first one.
A) They indicate that all expressions are required to be included.
B) They indicate that the program has a minimum number of expressions that must be included.
C) They indicate that you must pass a value of specific type to the expression.
D) They indicate that you could include multiple expressions after the first one.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
What technology replaced the vacuum tube as the mechanism for implementing electronic switches in computer hardware?
A) transistor
B) resistor
C) fully programmable gate array
D) microprocessor
A) transistor
B) resistor
C) fully programmable gate array
D) microprocessor
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
What language, created by Tim Berners-Lee, allows browsers to structure the information to be displayed on Web pages?
A) Python
B) HTML
C) HTTP
D) Java
A) Python
B) HTML
C) HTTP
D) Java
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
Regardless of whether print is passed a single or multiple expressions, what does output always end with by default?
A) A carriage return.
B) A null terminator.
C) A newline.
D) An EOL.
A) A carriage return.
B) A null terminator.
C) A newline.
D) An EOL.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck