Download CS383 Programming Languages Quiz 1

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

String literal wikipedia , lookup

Subroutine wikipedia , lookup

Join-pattern wikipedia , lookup

C syntax wikipedia , lookup

Compiler wikipedia , lookup

Corecursion wikipedia , lookup

Standard ML wikipedia , lookup

Parsing wikipedia , lookup

Control flow wikipedia , lookup

Abstraction (computer science) wikipedia , lookup

Falcon (programming language) wikipedia , lookup

Logic programming wikipedia , lookup

C++ wikipedia , lookup

Object-oriented programming wikipedia , lookup

Programming language wikipedia , lookup

Reactive programming wikipedia , lookup

Functional programming wikipedia , lookup

Go (programming language) wikipedia , lookup

C Sharp (programming language) wikipedia , lookup

Structured programming wikipedia , lookup

Transcript
CS383 Programming Languages
Quiz 1
1. Which one is not a basic property
of programming languages?
a. Functions
b. Syntax
c. Type
d. Semantics
2. What is this course about?
a. programming in a language
b. how to compile a program
c. how to interpret a program
d. the design and implementation of
languages
3. What was the running example
used in this lecture?
a. summation
b. fibonacchi
c. factorial
d. sine
4. What is not a major concern of
syntax?
a. Syntax error detection
b. Grammar
c. Types
d. Vocabulary
5. Which of the following is not a
name in Java?
a. factorial
b. f
c. String
d. “abc”
6. Which of the following is not a
programming paradigm?
a. Functional programming
b. Logical programming
c. Imperative programming
d. Web programming
7. Which of the following is not a type
in imperative programs?
a. Arrow (function) type
b. Boolean
c. String
d. Integer
8. Is state change a major feature in
function languages?
a. Yes
b. No
9. Logic programs describes
a. How the problem is solved
b. What is the expected outcome
10. What doesn’t make a successful
programming language?
a. Clarity about binding
b. Close to human language
c. Support
d. Orthogonality