CSCI 316: Quiz 1 - Introduction
Sign in to Google
to save your progress.
Learn more
* Indicates required question
Email
*
Your email
Last Name
*
Your answer
First Name
*
Your answer
Student Id
*
Your answer
One major reason for studying programming language concepts is that it
*
1 point
Increases the capacity to express ideas
Improves hardware performance
Replaces compiler theory
Eliminates the need to learn new languages
Guarantees optimal algorithms
Learning multiple programming languages primarily helps programmers
*
1 point
Avoid debugging
Reduce compilation time
Write shorter programs
Eliminate documentation
Simulate missing constructs in other languages
Why is simulation of language features generally inferior to native support?
*
1 point
It violates standards
It is less elegant and less safe
It increases memory usage
It cannot be debugged
It is slower to compile
Why must programmers continually learn new languages?
*
1 point
Standards change yearly
Language usage and popularity are dynamic
Programming languages are unstable
Older languages stop working
Hardware requires it
Understanding implementation issues helps programmers primarily by
*
1 point
Visualizing how programs execute
Avoiding documentation
Reducing syntax errors
Eliminating runtime errors
Replacing testing
What is a primary benefit of understanding implementation details?
*
1 point
E. Better GUIs
Faster compilation
Automatic optimization
Identifying inefficient constructs
Smaller executables
Poor language choices historically resulted partly from
*
1 point
Lack of conceptual understanding
Market forces alone
Compiler limitations
Vendor lock-in
Hardware constraints
Scientific programming languages historically emphasized
*
1 point
Linked lists
Text processing
Symbolic computation
GUIs
Floating-point arithmetic and arrays
Which language is identified as the first major scientific programming language?
*
1 point
Fortran
Ada
COBOL
Lisp
ALGOL
Business application languages are characterized by
*
1 point
Matrix computation
Parallel processing
Pointer manipulation
Decimal arithmetic and report generation
Recursion and lists
The most widely used business application language historically was
*
1 point
Java
C#
Ada
Python
COBOL
Artificial intelligence programming traditionally emphasizes
*
1 point
Fixed-point arithmetic
Numeric arrays
Assembly code
Symbolic computation
Bit manipulation
The first widely used AI programming language was
*
1 point
Lisp
Smalltalk
Scheme
Prolog
Python
Logic programming is most closely associated with which language?
*
1 point
Prolog
Java
Lisp
Ruby
C++
Web software commonly combines
*
1 point
Assembly and C
Only compiled languages
Functional languages only
Markup languages and scripting languages
Logic languages only
Which of the following is NOT one of the primary evaluation criteria discussed?
*
1 point
Reliability
Cost
Writability
Readability
Maintainability
Readability became especially important after
*
1 point
Recognition of software maintenance costs
The decline of assembly language
The introduction of structured programming
The invention of Java
The rise of the Internet
Overall simplicity in a language improves readability by
*
1 point
Eliminating abstraction
Increasing features
Encouraging overloading
Allowing multiple syntaxes
Reducing primitive constructs
Feature multiplicity refers to
*
1 point
Multiple compilers
Multiple standards
Multiple execution models
Multiple data types
Multiple ways to perform the same operation
Orthogonality in language design means
*
1 point
Minimal reserved words
Extensive overloading
Independent features that combine uniformly
Dynamic binding
Strict typing
The presence of Boolean types improves readability because
*
1 point
They eliminate errors
They compile faster
Their meaning is clearer than numeric flags
They simplify syntax
They reduce memory use
Syntax design affects readability primarily through
*
1 point
Program appearance and structure
Hardware mapping
Compiler optimization
Runtime checks
Garbage collection
Writability is best defined as
*
1 point
Ease of maintaining programs
Ease of creating programs for a domain
Ease of reading programs
Ease of compiling programs
Ease of optimizing programs
Reliability in a programming language is most directly improved by
*
1 point
Strong type checking and exception handling
Shorter programs
Faster execution
Fewer keywords
Extensive libraries
Which implementation method translates source code into machine code before execution?
*
1 point
Compilation
Just-in-time linking
Interpretation
Dynamic binding
Hybrid execution
Programming environments primarily affect software development by
*
1 point
Reducing memory usage
Supporting editing, testing, and debugging
Improving language syntax
Increasing execution speed
Eliminating bugs
Machine architecture influences language design primarily through
*
1 point
Naming conventions
Reserved words
Memory organization and instruction sets
Exception handling
Syntax rules
Program design methodologies influence language design by encouraging
*
1 point
Assembly-level programming
Lower-level constructs
Specific control and data structures
Fewer libraries
Less abstraction
The primary purpose of linking and loading is to
*
1 point
Check programs for syntax and semantic errors
Translate high-level source code into assembly language
Combine separately compiled program units and prepare them for execution
Optimize instruction execution at runtime
Bind variable names to data types
Which statement correctly distinguishes static linking from dynamic linking?
*
1 point
Dynamic linking requires recompilation of the program for every execution
Static linking produces smaller executables than dynamic linking
Dynamic linking prevents code sharing between programs, whereas static linking enables it
Static linking includes all required library code in the executable, whereas dynamic linking binds library code at run time
Static linking binds library routines at run time, whereas dynamic linking binds them at compile time
A copy of your responses will be emailed to the address you provided.
Submit
Clear form
Never submit passwords through Google Forms.
reCAPTCHA
Privacy
Terms
This content is neither created nor endorsed by Google. -
Terms of Service
-
Privacy Policy
Does this form look suspicious?
Report
Forms
Help and feedback