Deck 10: The Tower of Babel: Programming Languages

ملء الشاشة (f)
exit full mode
سؤال
C# offers a feature called garbage collection that automatically reclaims memory no longer needed by the program.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
C++ is in fact a "subset" of C, meaning that all of the C++ language is part of C.
سؤال
Java is the language used to frame database queries. _________________________
سؤال
Logic programming languages are sometimes called declarative languages. _________________________
سؤال
FORTRAN does allow the use of external libraries.
سؤال
Writing all computer programs in the same programming language would be more efficient because all languages meet essentially the same needs.
سؤال
The use of parallelism always reduces processing time because subtasks are being executed concurrently.
سؤال
Unlike FORTRAN, COBOL, C, C++, and Ada, which were carefully developed as programming languages, ____________________, a modern, object-oriented language, was almost an accident.
سؤال
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.
سؤال
Much of the processing in the business world concerns updating "transaction files" with changes from "master files."
سؤال
Although C++ supports the basic arithmetic operations of addition, subtraction, multiplication, and division by providing simple operators (+, −, *, /)to do these tasks, there is no operator for exponentiation-that is, raising a value to a power.
سؤال
Procedural languages act the same regard to 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.
سؤال
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.
سؤال
C++ was designed with engineering applications in mind. _________________________
سؤال
At some point, an increase in the _______ of processors can become more of a hindrance than a help, due to the extra data communication required.
سؤال
COBOL and ____________________ were the dominant high-level languages of the 1960s and 1970s.
سؤال
C programs cannot make use of low-level information such as knowledge of where data are stored in memory. _________________________
سؤال
Early versions of FORTRAN did not include a while loop mechanism. _________________________
سؤال
Early versions of FORTRAN allowed the use of mathematical symbols such as to compare two quantities.
سؤال
Scripting language or script code fragments can be embedded in _______ to make those pages active rather than static.
سؤال
A device _______ is a program written to interact with an I/O device.

A)driver
B)object
C)translator
D)hook
سؤال
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
سؤال
With a suitable parallel processor, a search for the largest of 1,000,000 numbers requires (2*lg N), or ____ steps.

A)1
B)500
C)40
D)1,000,000
سؤال
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++
سؤال
One of the newest languages, ____, was designed for building apps on the iOS and OS X operating systems.

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

A)legacy code
B)spaghetti code
C)Y2K code
D)portable code
سؤال
____, 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
سؤال
Using a single processor, finding the largest of N numbers takes ____ time.

A)θ(1)
B)θ ( N log N )
C)θ (N 2 )
D)θ ( N )
سؤال
____ was the first high-level programming language that was actually implemented.

A)COBOL
B)BASIC
C)PL-1
D)FORTRAN
سؤال
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
سؤال
____ is the most widely used language for writing system software because it combines the power of a high-level language with the ability to circumvent that level of abstraction and work at the assembly-language-like level.

A)C++
B)Pascal
C)Java
D)C
سؤال
A(n)____ is a model or mental framework for representing or thinking about something.

A)pyramid
B)paradigm
C)architecture
D)stack
سؤال
____ was born out of frustration with existing languages and environments for systems programming.

A)F#
B)C#
C)Go
D)FORTRAN
سؤال
A ____ expresses a property about a single object or a relationship among several objects.

A)Prolog fact
B)Prolog fallacy
C)Prolog query
D)Prolog rule
سؤال
READ is the __________ implementation of "input."

A)Fortran
B)Cobol
C)C++
D)C#
سؤال
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
سؤال
____ was originally designed for systems programming, in particular, for writing the operating system UNIX.

A)COBOL
B)C
C)Python
D)Java
سؤال
_________ code is freely available and can be used, distributed, or modified by anyone.

A)Public domain
B)Open source
C)Free code
D)Dynamic
سؤال
Java ____ are programs designed to run from webpages.

A)applications
B)beans
C)grounds
D)applets
سؤال
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
سؤال
Discuss dynamic webpages and PHP.
سؤال
Discuss Prolog facts and Prolog rules. How do these affect Prolog queries?
سؤال
Explain what an expert system is.
سؤال
Is recursion the major argument for using a functional language? If not, what is?
سؤال
Describe in detail what a metalanguage like XML is and what it can do.
سؤال
What does programming in a logic programming language consist of?
سؤال
Explain the MIMD model of parallel architecture.
سؤال
Discuss open source programming languages such as Swift and Go. What are some of the benefits and pitfalls of open source languages?
سؤال
With what is SQL designed to be used?
سؤال
What is HTML used for?
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 10: The Tower of Babel: Programming Languages
1
C# offers a feature called garbage collection that automatically reclaims memory no longer needed by the program.
True
2
C++ is in fact a "subset" of C, meaning that all of the C++ language is part of C.
False
3
Java is the language used to frame database queries. _________________________
False
4
Logic programming languages are sometimes called declarative languages. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
FORTRAN does allow the use of external libraries.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
Writing all computer programs in the same programming language would be more efficient because all languages meet essentially the same needs.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
The use of parallelism always reduces processing time because subtasks are being executed concurrently.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
Unlike FORTRAN, COBOL, C, C++, and Ada, which were carefully developed as programming languages, ____________________, a modern, object-oriented language, was almost an accident.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
Much of the processing in the business world concerns updating "transaction files" with changes from "master files."
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
Although C++ supports the basic arithmetic operations of addition, subtraction, multiplication, and division by providing simple operators (+, −, *, /)to do these tasks, there is no operator for exponentiation-that is, raising a value to a power.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
Procedural languages act the same regard to 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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
C++ was designed with engineering applications in mind. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
At some point, an increase in the _______ of processors can become more of a hindrance than a help, due to the extra data communication required.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
COBOL and ____________________ were the dominant high-level languages of the 1960s and 1970s.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
C programs cannot make use of low-level information such as knowledge of where data are stored in memory. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
Early versions of FORTRAN did not include a while loop mechanism. _________________________
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
Early versions of FORTRAN allowed the use of mathematical symbols such as to compare two quantities.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
Scripting language or script code fragments can be embedded in _______ to make those pages active rather than static.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
A device _______ is a program written to interact with an I/O device.

A)driver
B)object
C)translator
D)hook
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
With a suitable parallel processor, a search for the largest of 1,000,000 numbers requires (2*lg N), or ____ steps.

A)1
B)500
C)40
D)1,000,000
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
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++
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
One of the newest languages, ____, was designed for building apps on the iOS and OS X operating systems.

A)Go
B)C++
C)Swift
D)F#
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
____, 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
Using a single processor, finding the largest of N numbers takes ____ time.

A)θ(1)
B)θ ( N log N )
C)θ (N 2 )
D)θ ( N )
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
____ was the first high-level programming language that was actually implemented.

A)COBOL
B)BASIC
C)PL-1
D)FORTRAN
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
____ is the most widely used language for writing system software because it combines the power of a high-level language with the ability to circumvent that level of abstraction and work at the assembly-language-like level.

A)C++
B)Pascal
C)Java
D)C
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
____ was born out of frustration with existing languages and environments for systems programming.

A)F#
B)C#
C)Go
D)FORTRAN
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
A ____ expresses a property about a single object or a relationship among several objects.

A)Prolog fact
B)Prolog fallacy
C)Prolog query
D)Prolog rule
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
READ is the __________ implementation of "input."

A)Fortran
B)Cobol
C)C++
D)C#
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
_________ code is freely available and can be used, distributed, or modified by anyone.

A)Public domain
B)Open source
C)Free code
D)Dynamic
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
Java ____ are programs designed to run from webpages.

A)applications
B)beans
C)grounds
D)applets
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
Discuss dynamic webpages and PHP.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
Discuss Prolog facts and Prolog rules. How do these affect Prolog queries?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
Explain what an expert system is.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
Is recursion the major argument for using a functional language? If not, what is?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
Describe in detail what a metalanguage like XML is and what it can do.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
What does programming in a logic programming language consist of?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
Explain the MIMD model of parallel architecture.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
Discuss open source programming languages such as Swift and Go. What are some of the benefits and pitfalls of open source languages?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
With what is SQL designed to be used?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
What is HTML used for?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.