Deck 10: The Tower of Babel

Full screen (f)
exit full mode
Question
Early versions of FORTRAN included a while loop mechanism._________________________
Use Space or
up arrow
down arrow
to flip the card.
Question
C++ is in fact a "subset" of C, meaning that all of the C++ language is part of C.
Question
Unlike FORTRAN, COBOL, C, C++, and Ada, which were carefully developed as programming languages, ____________________, a modern, object-oriented language, was almost an accident.
Question
Procedural languages differ in the details of assigning a new value to a variable, in the mechanisms the language provides for directing the flow of control through conditional and looping statements, and in the statement forms that control input and output.
Question
Logic programming languages are sometimes called imperative languages._________________________
Question
Although C++ supports the basic arithmeticoperations of addition, subtraction, multiplication, and division by providingsimple operators (+, −, *, /) to do these tasks, there is no operator forexponentiation-that is, raising a value to a power.
Question
The use of parallelism always reduces processing time because subtasks are being executed concurrently.
Question
Java is the language used to frame database queries._________________________
Question
Early versions of FORTRAN allowed the use of mathematical symbols such as < to compare two quantities.
Question
FORTRAN does not allow the use of external libraries.
Question
C++ was designed with engineering applications in mind._________________________
Question
At some point, an increase in the number of ____________________ can become more of a hindrance than a help, due to the extra data communication required.
Question
Writing all computer programs in the same programming language would be more efficient because all languages meet essentially the same needs.
Question
The majority of business transactions, billions of them per day, are still done on ____________________ code that has now been updated and is likely to continue to run for the foreseeable future.
Question
C programs can make use of low-level information such as knowledge of where data are stored in memory._________________________
Question
Lady Ada Lovelace is regarded as the world's first programmer on the basis of her correspondence with Charles Babbage and her published notes on his work with the Analytic Engine.
Question
____________________ language code fragments can be embedded in webpages to make those pages active rather than static.
Question
Much of the processing in the business world concerns updating "transaction files" with changes from "master files."
Question
C# is the successor to C++ and is the same basic language.
Question
FORTRAN and ____________________ were the dominant high-level languages of the 1960s and 1970s.
Question
____ is the FORTRAN implementation of "input."

A) FETCH
B) GET
C) READ
D) INPUT
Question
With a suitable parallel processor, a search for the largest of 1,000,000 numbers requires (2*lgN), or____ steps.

A) 1
B) 500
C) 40
D) 1,000,000
Question
Directing the flow of control in a FORTRAN program by using ____ statements is similar to using the various JUMP statements in the assembly language.

A) BRANCH
B) RUN
C) GOSUB
D) GO TO
Question
A ____ expresses a property about a single object or a relationship among several objects.

A) fact
B) fallacy
C) query
D) connection
Question
One of the newest languages, ____, was designed for building apps on the iOSand OS X operating systems.

A) Go
B) C++
C) Swift
D) F#
Question
Old computer code that is still in use is known as ____.

A) legacy code
B) spaghetti code
C) Y2K code
D) portable code
Question
Java ____ are programs designed to run from webpages.

A) applications
B) beans
C) grounds
D) applets
Question
A program to interact with an I/O device is called a ____.

A) device-let
B) device interface
C) device driver
D) device hook
Question
Today ____ is still strong in the transportation industry (aircraft, helicopters, subway systems, European high-speed train control systems) and in safety monitoring systems at nuclear reactors, as well as in financial and communication systems.

A) Ada
B) C
C) Java
D) C++
Question
____ was born out of frustration with existing languages and environments for systems programming.

A) F#
B) C#
C) Go
D) FORTRAN
Question
____ was the first high-level programming language that was actually implemented.

A) COBOL
B) BASIC
C) PL-1
D) FORTRAN
Question
A(n) ____ is a model or mental framework for representing or thinking about something.

A) pyramid
B) paradigm
C) architecture
D) stack
Question
____, which includes MIMD, is really a catchall term for a variety of approaches to computing architectures and algorithm design.

A) Distributed processing
B) Serial processing
C) Parallel processing
D) Scalable processing
Question
A ____ occurs when a function, in the course of acting on its argument values to produce a result value, also changes other values that it has no business changing.

A) side effect
B) side line
C) secondary interface
D) secondary routine
Question
The task of finding the largest number in a list can be solved in a MIMD parallel fashion using the ____ model.

A) distributed
B) divide-and-conquer
C) piecewise
D) stepwise
Question
Compared to functional programming, ____ goes a step further toward not specifying exactly how a task is to be done.

A) logic interfacing
B) logic structuring
C) logic outlining
D) logic programming
Question
____ was originally designed for systems programming, in particular for writing the operating system UNIX.

A) COBOL
B) C
C) Python
D) Java
Question
Using a single processor, finding the largest of N numbers takes ____ time.

A) <strong>Using a single processor, finding the largest of N numbers takes ____ time.</strong> A)   (1) B)   (NlogN) C)   (N2) D)   (N) <div style=padding-top: 35px> (1)
B) <strong>Using a single processor, finding the largest of N numbers takes ____ time.</strong> A)   (1) B)   (NlogN) C)   (N2) D)   (N) <div style=padding-top: 35px> (NlogN)
C) <strong>Using a single processor, finding the largest of N numbers takes ____ time.</strong> A)   (1) B)   (NlogN) C)   (N2) D)   (N) <div style=padding-top: 35px> (N2)
D) <strong>Using a single processor, finding the largest of N numbers takes ____ time.</strong> A)   (1) B)   (NlogN) C)   (N2) D)   (N) <div style=padding-top: 35px> (N)
Question
____ source code is freely available and can be used, distributed, or modified by anyone.

A) C#
B) Python
C) Java
D) J#
Question
____is the most widely used language for writing system software becauseit combines the power of a high-level language with the ability to circumventthat level of abstraction and work at the assembly-language-like level.

A) C++
B) Pascal
C) Java
D) C
Question
What is HTML used for?
Question
Briefly discuss the relationship between facts and queries in logic programming.
Question
Explain what an expert system is.
Question
Describe in detail what a metalanguage like XML is and what it can do.
Question
Is recursion the major argument for using a functional language? If not, what is?
Question
Explain the MIMD model of parallel architecture.
Question
Provide an explanation of the word function in the context of functional languages.
Question
With what is SQL designed to be used?
Question
What does programming in a procedural language consist of?
Question
Discuss dynamic webpages and PHP.
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 10: The Tower of Babel
1
Early versions of FORTRAN included a while loop mechanism._________________________
False
- did not include, didn't include
2
C++ is in fact a "subset" of C, meaning that all of the C++ language is part of C.
False
3
Unlike FORTRAN, COBOL, C, C++, and Ada, which were carefully developed as programming languages, ____________________, a modern, object-oriented language, was almost an accident.
Java
4
Procedural languages differ in the details of assigning a new value to a variable, in the mechanisms the language provides for directing the flow of control through conditional and looping statements, and in the statement forms that control input and output.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
Logic programming languages are sometimes called imperative languages._________________________
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
Although C++ supports the basic arithmeticoperations of addition, subtraction, multiplication, and division by providingsimple operators (+, −, *, /) to do these tasks, there is no operator forexponentiation-that is, raising a value to a power.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
The use of parallelism always reduces processing time because subtasks are being executed concurrently.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
Java is the language used to frame database queries._________________________
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
Early versions of FORTRAN allowed the use of mathematical symbols such as < to compare two quantities.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
FORTRAN does not allow the use of external libraries.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
C++ was designed with engineering applications in mind._________________________
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
At some point, an increase in the number of ____________________ can become more of a hindrance than a help, due to the extra data communication required.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
Writing all computer programs in the same programming language would be more efficient because all languages meet essentially the same needs.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
The majority of business transactions, billions of them per day, are still done on ____________________ code that has now been updated and is likely to continue to run for the foreseeable future.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
C programs can make use of low-level information such as knowledge of where data are stored in memory._________________________
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
Lady Ada Lovelace is regarded as the world's first programmer on the basis of her correspondence with Charles Babbage and her published notes on his work with the Analytic Engine.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
____________________ language code fragments can be embedded in webpages to make those pages active rather than static.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
Much of the processing in the business world concerns updating "transaction files" with changes from "master files."
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
C# is the successor to C++ and is the same basic language.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
FORTRAN and ____________________ were the dominant high-level languages of the 1960s and 1970s.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
____ is the FORTRAN implementation of "input."

A) FETCH
B) GET
C) READ
D) INPUT
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
With a suitable parallel processor, a search for the largest of 1,000,000 numbers requires (2*lgN), or____ steps.

A) 1
B) 500
C) 40
D) 1,000,000
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
Directing the flow of control in a FORTRAN program by using ____ statements is similar to using the various JUMP statements in the assembly language.

A) BRANCH
B) RUN
C) GOSUB
D) GO TO
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
A ____ expresses a property about a single object or a relationship among several objects.

A) fact
B) fallacy
C) query
D) connection
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
One of the newest languages, ____, was designed for building apps on the iOSand OS X operating systems.

A) Go
B) C++
C) Swift
D) F#
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
Old computer code that is still in use is known as ____.

A) legacy code
B) spaghetti code
C) Y2K code
D) portable code
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
Java ____ are programs designed to run from webpages.

A) applications
B) beans
C) grounds
D) applets
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
A program to interact with an I/O device is called a ____.

A) device-let
B) device interface
C) device driver
D) device hook
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
Today ____ is still strong in the transportation industry (aircraft, helicopters, subway systems, European high-speed train control systems) and in safety monitoring systems at nuclear reactors, as well as in financial and communication systems.

A) Ada
B) C
C) Java
D) C++
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
____ was born out of frustration with existing languages and environments for systems programming.

A) F#
B) C#
C) Go
D) FORTRAN
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
____ was the first high-level programming language that was actually implemented.

A) COBOL
B) BASIC
C) PL-1
D) FORTRAN
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
A(n) ____ is a model or mental framework for representing or thinking about something.

A) pyramid
B) paradigm
C) architecture
D) stack
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
____, which includes MIMD, is really a catchall term for a variety of approaches to computing architectures and algorithm design.

A) Distributed processing
B) Serial processing
C) Parallel processing
D) Scalable processing
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
A ____ occurs when a function, in the course of acting on its argument values to produce a result value, also changes other values that it has no business changing.

A) side effect
B) side line
C) secondary interface
D) secondary routine
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
The task of finding the largest number in a list can be solved in a MIMD parallel fashion using the ____ model.

A) distributed
B) divide-and-conquer
C) piecewise
D) stepwise
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
Compared to functional programming, ____ goes a step further toward not specifying exactly how a task is to be done.

A) logic interfacing
B) logic structuring
C) logic outlining
D) logic programming
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
____ was originally designed for systems programming, in particular for writing the operating system UNIX.

A) COBOL
B) C
C) Python
D) Java
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
Using a single processor, finding the largest of N numbers takes ____ time.

A) <strong>Using a single processor, finding the largest of N numbers takes ____ time.</strong> A)   (1) B)   (NlogN) C)   (N2) D)   (N) (1)
B) <strong>Using a single processor, finding the largest of N numbers takes ____ time.</strong> A)   (1) B)   (NlogN) C)   (N2) D)   (N) (NlogN)
C) <strong>Using a single processor, finding the largest of N numbers takes ____ time.</strong> A)   (1) B)   (NlogN) C)   (N2) D)   (N) (N2)
D) <strong>Using a single processor, finding the largest of N numbers takes ____ time.</strong> A)   (1) B)   (NlogN) C)   (N2) D)   (N) (N)
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
____ source code is freely available and can be used, distributed, or modified by anyone.

A) C#
B) Python
C) Java
D) J#
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
____is the most widely used language for writing system software becauseit combines the power of a high-level language with the ability to circumventthat level of abstraction and work at the assembly-language-like level.

A) C++
B) Pascal
C) Java
D) C
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
What is HTML used for?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
Briefly discuss the relationship between facts and queries in logic programming.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
Explain what an expert system is.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
Describe in detail what a metalanguage like XML is and what it can do.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
Is recursion the major argument for using a functional language? If not, what is?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
Explain the MIMD model of parallel architecture.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
Provide an explanation of the word function in the context of functional languages.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
With what is SQL designed to be used?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
What does programming in a procedural language consist of?
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
Discuss dynamic webpages and PHP.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 50 flashcards in this deck.