Match List I (programming paradigms) with List II (characteristics). List I: A. Imperative, B. Object-oriented, C. Logic, D. Functional. List II: I. Declarative, clausal representation, theorem proving, II. Side-effect-free, declarative, expression evaluation, III. Imperative, abstract data type, IV. Command-based, procedural.
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: A. A ‐ IV, B ‐ III, C ‐ I, D ‐ II
Explanation
Imperative languages are command-based and procedural; object-oriented languages are imperative with abstract data types; logic programming is declarative and clausal (theorem proving); functional programming is side-effect-free expression evaluation.
More Programming Languages and Computer Graphics questions
- Suppose you have eight black-and-white images taken with a 1-megapixel camera and one 8-colour image taken with an 8-megapixel camera. How…
- Which of the statements given below are correct? The midpoint (or Bresenham) algorithm for rasterizing lines is optimized relative to DDA a…
- What is the transformation matrix that transforms the square with vertices (1, 1), (−1, 1), (−1, −1), (1, −1) into the parallelogram with c…
- A Bezier curve P(t) is defined by four control points P0 = (−2, 0), P1 = (−2, 4), P2 = (2, 4), P3 = (2, 0). Which statements are correct? A…
- Given below are two statements Statement I: The maximum number of sides that a triangle might have when clipped to a rectangular viewport i…
- With 1-byte chars, 2-byte shorts, 4-byte ints and 8-byte doubles, each aligned to its size, no field reordering, and padding for alignment,…