GoConqr has a new look! Let us know what you think.

Quiz

Programming

Upma Sharma 21 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (21)

  1. 1(Pick 4) Named entities are bound in a running program to:
    1. Ascope
    2. Bvisibility
    3. Ctype
    4. Dlifetime
    5. Efunctions
  2. 2A [blank_start]type[blank_end] is a collection of values and a collection of operations on those values.
    [blank_start]Simple[blank_end] types: numbers, characters, booleans, ...
    [blank_start]Structured[blank_end] types: Strings, lists, trees, hash tables, ...
    1. Atype
    2. BSimple
    3. CStructured
  3. 3[blank_start]Type[blank_end] system in a programming language is needed to organize data and helps to check the correctness of programs: Determine legal operations. Detect type errors.
    1. AType
  4. 4What is a programming language paradigm?
    1. AIs a pattern of problem- solving thought that underlies a particular genre of programs and languages.
    2. BIs a pattern of problem- solving thought that underlies a particular genre of languages.
    3. CIs a pattern of ineptness thought that underlies a particular genre of programs and languages.
  5. 5Many researches (and Wikipedia) classify programming languages into two categories.
    1. AImperative in which the programmer instructs the machine how to change its state.
    2. BArbitrative in which the programmer merely declares properties of the desired result, but not how to compute it.
    3. CDeclarative in which the programmer merely declares properties of the desired result, but not how to compute it.
    4. DDeclarative in which the programmer instructs the machine how to change its state.
  6. 6Which of these are not included in Imperative languages?
    1. Aprocedural which groups instructions into procedures.
    2. Bobject-oriented which groups instructions together with the part of the state they operate on.
    3. Cfunctional in which the desired result is declared as the
      value of a series of function applications.
  7. 7Declarative languages also include: (Pick 3)
    1. Afunctional in which the desired result is declared as the
      value of a series of function applications.
    2. Blogic in which the desired result is declared as the answer to a question about a system of facts and rules.
    3. Cmathematical in which the desired result is declared as the solution of an optimization problem.
    4. Dobject-oriented which groups instructions together with the part of the state they operate on.
  8. 8Which of these are the 4 main programming paradigms?
    1. AImperative, Object-Oriented (OO), Functional, Logic (Declarative)
    2. BImperative, Object-Oriented (OO), Procedural, Logic (Declarative)
    3. CUlcerative, Object-Oriented (OO), Functional, Logic (Declarative)
    4. DImperative, Logic-Oriented (OO), Functional, Logic (Declarative)
  9. 9Von Neumann architecture: how to encode programs as sequences of numbers resulting in a stored-program computer.
    1. ATrue
    2. BFalse
  10. 10Modern CPU:
    • Memory contains instructions and data
    • Processing unit performs arithmetic and logical operations
    • Control unit interprets instructions
    1. ATrue
    2. BFalse

Information

Description
Quiz on Programming , created by Upma Sharma on 24/10/2018.
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?