WITH COMPLETE SOLUTIONS VERIFIED LATEST UPDATE
What programming paradigm does Fortran belong to?
Imperative
What programming language characteristics impact the readability of the
programs written in this language?
Data structures, Syntax design and Control structures
What computing paradigm enforces stateless (no side-effects) programming?
Functional
What is the major improvement of structured programming languages over the
earlier programming languages?
Removing Goto statement from the language.
What is a feature of object-oriented computing?
encapsulation of states
Given this snippet of code in C,
```
char alpha = 'a';
float numeric = alpha + 10;
```
Which of the following statements is correct:
Syntactically correct, but contextually incorrect.
, Which command will have a loop when expressed in a syntax graph?
Switch
If your program was desgined to print "Hello World" ten (10) times, but during
execution, it printed eleven (11) times. What type of error is it?
Semantics Errors.
A computer program can be broken down and viewed with several different
structural layers. Which of the following belongs to these structures? Select all
that apply.
Syntactic, Contextual, Semantic
Can the indentifier (a string) "base_variable" be created using the following BNF
rules?
<char> ::= a | b | c | ... | s | ... | x | y | z
<identifier> ::= <char> | <char>
<identifier>
No - there is an underscore in the identifier name that cannot be generated.
Which of the following would be the most significant motivation for applying two-
step translation in high level programming language?
One compiler for all machines.
During compilation, linker is used for____
resolving external references (bring in code from other libraries).
What is "func" in this C program example?
```