• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/19

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

19 Cards in this Set

  • Front
  • Back

Which of the following is an example of a language that is based on the functional paradigm?



A. LISP


B. PROLOG


C. C


D. C++

A. LISP

Which of the following is an example of a language that is based on the object-oriented paradigm?




A. LISP


B. PROLOG


C. C


D. C++

D. C++

Most machine languages are based on the




A. Imperative paradigm


B. Declarative paradigm


C. Functional paradigm


D. Object-oriented paradigm

A. Imperative paradigm

Which of the following is not a type of statement found in a typical high-level imperative programming language?




A. Imperative statement


B. Exclamatory statement


C. Declarative statement


D. Comment statement

B. Exclamatory statement

Which of the following does not require a Boolean structure?




A. If-then-else statement


B. While loop statement


C. Assignment statement


D. For loop statement

C. Assignment statement

Which of the following is not a control statement?




A. If-then-else statement


B. While loop statement


C. Assignment statement


D. For loop statement

C. Assignment statement

Which of the following is not a step in the process of translating a program?




A. Executing the program


B. Parsing the program


C. Lexical analysis


D. Code generation

A. Executing the program

Which of the following is not associated with object-oriented programming?




A. Inheritance


B. Resolution


C. Encapsulation


D. Polymorphism

B. Resolution

Which of the following is not associated with the concept of data type?




A. Coercion


B. Boolean


C. Operator precedence


D. Strongly typed language

C. Operator precedence

Positions within arrays are identified by means of numbers called




A. Indices


B. Parameters


C. Instance variables


D. Constants

A. Indices

Which of the following is ignored by a compiler?




A. Control statements


B. Declarations of constants


C. Procedure headers


D. Comment statements

D. Comment statements

Which of the following is not a possible value of the expression 4 + 6 ÷ 2 - 1




A. 4


B. 5


C. 6


D. 10

B. 5

Which of the following is not a way of referring to a value in a program?




A. Variable


B. Literal


C. Constant


D. Type

D.Type

Which of the following is the scope of a variable?


A. The number of characters in the variable’s name


B. The portion of the program in which the variable can be accessed


C. The type associated with the variable


D. The structure associated with the variable

B. The portion of the program in which the variable can be accessed

Which of the following is a means of nullifying conflicts among data types?




A. Inheritance


B. Parsing


C. Coercion


D. Code optimization

C. Coercion

Which of the following is not constructed by a typical compiler?




A. Source code


B. Symbol table


C. Parse tree


D. Object program

A. Source code

Which of the following is a means of defining similar yet different classes in an object-oriented program?




A. Inheritance


B. Parsing


C. Coercion


D. Code optimization

A. Inheritance

Which of the following statements is not a resolvent of the following clauses?


P OR Q OR ¬R ¬P OR T ¬Q OR T R OR T




A. Q OR ¬R OR T


B. T OR P


C. P OR ¬R OR T


D. Q OR T

B. T OR P

Which of the following can Prolog conclude from the following program?


parent(jill, sue).


parent(jill, sally).


parent(john, sue).


parent(john, sally).


sibling(X, Y) :- parent(Z, X), parent(Z, Y).




A. parent(jill, john)


B. sister(sue, sally)


C. sibling(sue, sally)


D. sibling(jill, sue)

C. sibling(sue, sally)