stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
HW1 Flashcards | StudBud
Explore
/
HW1
HW1
40 terms
·
StudBud Administration
·
8 plays
Programming Languages
Flashcards
40 cards
F
Practice quiz
P
Host live
L
Questions
40
Answers
1
Which criterion for a good programming language is C most deficient in?
readability
efficiency
reliability
writeability
2
What is true about the symbol table used by the compiler?
C
A
B
3
The licensing costs of the compiler is part of the overall cost of the programming language
True
False
4
Which categories of languages are dictated by the von Neumann architecture?
C D
B C
A B
A D
5
In an exception handling facility, what type of code would be put after a throw in a try block?
B
A
C
6
Which of the following is a client-side scripting language?
B
A
D
C
7
What primitive control statement can build all others?
C
A
D
B
8
A declarative language can also be imperative
False
True
9
In C++ what happens to an unhandled exception?
Program immediately terminates with error message
Exception is thrown on runtime stack in reverse call order
Exception is rethrown on runtime stack in call order
No such thing as an unhandled exception
10
The UNIX operating system is written primarily in which language?
B
C
D
A
11
When would you not re-throw an exception back to the calling routine?
A
C
B
12
What is true about user-defined operator overloading?
B
C
A
13
What does a static linker do?
A
A and B
B
14
Which are advantage of coding under a pure interpreter over a compiler?
A B D
A B C
A C D
B C D
15
Which are true concerning C++'s exception handling facility?
B C D
A B D
A C D
A B C
16
Lines work if c and d are integers. Which lines behave inconsistently if c and d are pointers?
C D
A B
A C
B C
17
What language uses orthogonality as a primary design criterion?
D
C
A
B
18
Software reliability means that the program ...
A
C
B
19
What is the primary disadvantage to multiple ways of doing the same thing?
C
B
A
20
Which language has dominated scientific computing over the past 40 years?
C
D
B
A
21
The strongest influence language design over the past 45 years has been ...
D
A
B
C
22
What happens after execution?
Student.One named "FooBar" & Student.Two named "Joe Smoo"
It will cause a runtime error
Student.One and Student.Two are both named "FooBar"
23
Disadvantage of using same closing reserved word or symbol for more than one control statement?
B
A
C
24
Scheme is a dialect of which language?
A
B
C
D
25
Select true statements
B C D
A B C
A B D
A C D
26
Which of the following does not promote readability?
A
C
B
27
Which two deficiencies were discovered to subsequently result in structured languages Pascal...
B C
A C
A B
B D
28
Scripting languages generally heat compiled language for which?
C
D
B
A
29
What programming language is used primarily for AI?
A
D
C
B
30
Which might be good measures of the readability of a program?
C D
B C
A B
A D
31
This is non-orthogonal because...
Both A and B are correct
Index operators [] can be used on type char* and type char[]
Name of array is treated like an address
32
One valid criticism of the Unix development platform is ...
A
C
B
33
Software reliability means that the program ...
A
B
C
34
What construct of a programming language provides process abstraction?
B
D
C
A
35
The "von Neumann bottleneck" is the limit on what?
A
A and B
B
36
Which language has dominated business applications over the past 40 years?
D
C
B
A
37
Which approach to language implementation generally makes results in fastest program execution?
B
A
38
Which is an example of non-orthogonality in the design of C?
B
A
C
39
Which language has dominated system programming for the last 40 years?
Letter B
Letter C
Letter D
Letter A
40
Which two languages design criteria are more often in direct conflict?
B
A