Deck 1: An Introduction to Computer Science
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: An Introduction to Computer Science
1
All conceivable problems can be solved algorithmically.
False
2
The three types of operations used to construct algorithms are sequential, conditional, and iterative.
True
3
The five generations of modern computers are distinguished mainly by fundamental changes in the underlying computer architecture.
False
4
Mechanical devices for performing complex calculations existed prior to the 20th century.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
An algorithm that contains an infinite loop cannot be a correct solution to a problem.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
Computer science work was carried out even before the electronic computer was invented.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
The first accurate definition of computer science described it as a study of algorithms.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
Computer science is the study and use of computers and computer programs.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
The statement: "If the mixture is too dry, then add one-half cup of water to the bowl" is an example of a conditional operation.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
John Von Neumann created the modern computer architecture when he developed a computer that stored its program in its own memory.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
Computer science is the study of the uses and applications of computers and software.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
Algorithms are exclusive to the field of computer science.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
For an operation to be part of a proper algorithm it must be effectively computable.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
Euclid's algorithm finds prime numbers between any two given numbers.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
All problems have algorithmic solutions, but some of the solutions are impractical.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
Leibnitz's Wheel could carry out addition, subtraction, multiplication, and division.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
Whether or not an operation is a primitive depends, in part, on the computing agent that is expected to execute it.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
Algorithms usually contain a set of instructions to be executed in any order.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
If you can specify an algorithm to solve a problem you can automate its solution.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
One of the most fundamentally important virtues of an algorithm is that if we can specify an algorithm to solve a problem, then we can automate the solution.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
In 1946, John Von Neumann proposed a radically different computer design based on a model called the ____ computer.
A) stored program
B) external program
C) programmable function
D) memory unit
A) stored program
B) external program
C) programmable function
D) memory unit
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
Implementing algorithms on computers can increase production by taking over repetitive physical tasks.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
An operation that is unambiguous is called a ____ operation of the computing agent carrying out the algorithm.
A) primary
B) complementary
C) basic
D) primitive
A) primary
B) complementary
C) basic
D) primitive
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
A(n) ____ is a well-ordered collection of unambiguous and effectively computable operations that, when executed, produces a result and halts in a finite amount of time.
A) sequence
B) computing agent
C) mechanical calculator
D) algorithm
A) sequence
B) computing agent
C) mechanical calculator
D) algorithm
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
Wireless data communications are a fifth-generation innovation in computing.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
In 1614, John Napier invented ____ as a way to simplify difficult mathematical computations.
A) algorithms
B) logarithms
C) electronic computers
D) mechanical calculators
A) algorithms
B) logarithms
C) electronic computers
D) mechanical calculators
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
The ____ was the first fully electronic general-purpose programmable computer.
A) EDVAC
B) EDSAC
C) ENIAC
D) Mark I
A) EDVAC
B) EDSAC
C) ENIAC
D) Mark I
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
____ was the first programmable device.
A) Leibnitz's Wheel
B) the Analytic Engine
C) the Pascaline
D) Jacquard's loom
A) Leibnitz's Wheel
B) the Analytic Engine
C) the Pascaline
D) Jacquard's loom
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
Hollerith's major contribution was increasing the scale of information processing.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
Which of the following is an application of computers?
A) searching a list
B) running a company
C) writing programs
D) generating a list of all the prime numbers
A) searching a list
B) running a company
C) writing programs
D) generating a list of all the prime numbers
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
The first slide rule appeared around ____.
A) 1183
B) 1622
C) 1882
D) 1945
A) 1183
B) 1622
C) 1882
D) 1945
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
FORTRAN and COBOL, the first high-level ("natural") programming languages, appeared during the ____ generation of computing.
A) first
B) second
C) third
D) fourth
A) first
B) second
C) third
D) fourth
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
Charles Babbage gave up on his second Difference engine because the current technology could not support his project.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
Learning about an algorithm's ____ is an important component of the study of algorithms.
A) mathematical properties
B) difficulty level
C) uniqueness
D) the time it takes to formulate them
A) mathematical properties
B) difficulty level
C) uniqueness
D) the time it takes to formulate them
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
The operation "Replace i with i - 1" is a(n) ____ operation.
A) sequential
B) conditional
C) iterative
D) hierarchal
A) sequential
B) conditional
C) iterative
D) hierarchal
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
The operation "Print x if n = 0; print n if n ¹ 0" is a(n) ____ operation.
A) sequential
B) conditional
C) hierarchal
D) iterative
A) sequential
B) conditional
C) hierarchal
D) iterative
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
The first electronic programmable computer, ENIAC, was built during World War I.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
"Designing programming languages and translating algorithms into these languages" is known as ____ realization.
A) programming language
B) compiler
C) linguistic
D) interpreter
A) programming language
B) compiler
C) linguistic
D) interpreter
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
The ____ was the first computing device to use the base-2 binary numbering system.
A) Mark I
B) Difference Engine
C) Analytic Engine
D) ENIAC
A) Mark I
B) Difference Engine
C) Analytic Engine
D) ENIAC
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
The history of mathematics begins ____ years ago.
A) 250
B) 1,000
C) 3,000
D) 10,000
A) 250
B) 1,000
C) 3,000
D) 10,000
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
Aside from being unsolvable, why might an algorithm be useless?
A) it is too hard to read
B) it takes too long to solve
C) it takes too long to create
D) people might be offended by the results
A) it is too hard to read
B) it takes too long to solve
C) it takes too long to create
D) people might be offended by the results
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
What is a computing agent?
A) something that carries out steps of the algorithm
B) a person who works with users and developers for improving software
C) a person that writes computer code
D) the hardware that powers the computer
A) something that carries out steps of the algorithm
B) a person who works with users and developers for improving software
C) a person that writes computer code
D) the hardware that powers the computer
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
Indian mathematicians made important discoveries that contributed to the foundations of computer science. What were the discoveries?
A) slide rules and logarithms
B) the concept of zero and the decimal based system
C) mechanical calculators and analytic machines
D) numerical methods for generating square roots
A) slide rules and logarithms
B) the concept of zero and the decimal based system
C) mechanical calculators and analytic machines
D) numerical methods for generating square roots
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
What is wrong with the following algorithm?
1. Set X to be 1
2. Increment X
3. Print X
4. If X > 0, repeat from 2
A) it does not produce a result
B) it is ambiguous
C) it does not halt in a finite amount of time
D) it is not well-ordered
1. Set X to be 1
2. Increment X
3. Print X
4. If X > 0, repeat from 2
A) it does not produce a result
B) it is ambiguous
C) it does not halt in a finite amount of time
D) it is not well-ordered
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
Automation of mental tasks was part of a movement known as the ____ revolution.
A) industrial
B) technological
C) computer
D) designer
A) industrial
B) technological
C) computer
D) designer
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
Repetition is characteristic of ____ operations.
A) sequential
B) conditional
C) iterative
D) recursive
A) sequential
B) conditional
C) iterative
D) recursive
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
The ____, invented in 1672 by a French philosopher, was a mechanical calculator that could do addition and subtraction.
A) Pascaline
B) Leibnitz's wheel
C) abacus
D) TI-85
A) Pascaline
B) Leibnitz's wheel
C) abacus
D) TI-85
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
During the ____ generation of computing, the desktop machine shrunk to the size of a typewriter
A) first
B) second
C) third
D) fourth
A) first
B) second
C) third
D) fourth
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
Integrated circuits, built on silicon chips, were introduced during the ____ generation of computing.
A) first
B) second
C) third
D) fourth
A) first
B) second
C) third
D) fourth
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
Babbage's analytical engine used a mill. What was its function?
A) store memory
B) process instructions
C) perform arithmetic and logic
D) accept input
A) store memory
B) process instructions
C) perform arithmetic and logic
D) accept input
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck