Reference no: EM13725599
Question 1: The quality of a language that allows a programmer to express a computation clearly, correctly, concisely, and quickly is called _____.
- Efficiency
- Orthogonality
- Regularity
- Writ ability
Question 2: Which of the following is a functional language?
- Lisp
- Python
- ALGOL
- FORTRAN
Question 3: Which of the following is an object-oriented language?
- Algol
- C++
- FORTRAN
- C
Question 4: A language achieves ____ by avoiding special cases in the use of constructs.
- Orthogonality
- Generality
- Efficiency
- Uniformity
Question 5: A language that allows the user to add features to it is said to have the property of ____.
- Uniformity
- Extensibility
- Regularity
- Reliability
Question 6: A ____ specifies the syntax of a piece of code that expands to other standard code.
- Compiler
- Function
- Macro
- Procedure
Question 7: C++ ____.
- Is an object-oriented language
- Is a functional type language
- Is a logic type language
- Is not widely used
Question 8: Which of the following statements about functional programming languages is incorrect?
- In pure functional programming, there are no assignments
- In pure functional programming there are no loops
- In pure functional programming loops are replaced by recursive calls
- The value of a function depends on the order of evaluation of its parameters
Question 9: To express symbols as a data type in Scheme, use the keyword ____.
- Symbol
- Quote
- Form
- Exclamation
Question 10: Which of the following represents a list of data in Scheme?
- (3.1, 3.2, 3.3)
- (Quote (3.1 3.2 3.3))
- (3.1; 3.2; 3.3)
- (Quote (3.1, 3.2, and 3.3))
Question 11: Which of the following correctly assigns values to two variables and then multiplies them in the Scheme programming language?
- (Let ((x 5) (y 3)) (* x y))
- (Let (x 5) (y 3)) (* x y)
- Let (x 5) (y 3) (* x y)
- (Let (x 5 y 3) (* x y))
Question 12: The ____ is used in Scheme to create a function.
- Let special form
- Lambda special form
- Letrec special form
- Procedure special form
Question 13: Which of the following Scheme statements will insert the number 6 at the head of a list named L?
- (Add 6 L)
- (Hd 6 L)
- (Insert 6 L)
- (Cons 6 L)
Question 14: Given a list L in Scheme with contents of (3 7 2 8). What will be returned if the command (cdr L) is executed?
- (8)
- (2 8)
- (3)
- (7 2 8)
Question 15: Given a list L in Scheme with contents of ((x y) s (t)). What will be returned if the command (cdr (car L)) is executed?
- (x)
- (x y)
- (y)
- (t)
Question 16: ____ are statements that are assumed to be true and from which other true statements can be proved.
- Axioms
- Logical statements
- Predicates
- Universal statements
Question 17: In the Horn clause a1 and a2 and a3 ? b, the variable b is called the ____.
- Head
- Tail
- Body
- Fact
Question 18: In the Horn clause a1 and a2 and a3 ? b, the portion a1 and a2 and a3 is called the ____.
- Head
- Tail
- Body
- Query
Question 19: ____ is the process of pattern matching to make statements identical.
- Unification
- Instantiation
- Resolution
- Equalization
Question 20: Variables set equal to patterns are said to be ____.
- Unified
- Initialized
- Instantiated
- Resolved
Question 21: Prolog uses ____.
- Lowercase for variable names, and uppercase for constants and functions
- Uppercase for variable names, and lowercase for constants and functions
- Lowercase for variable names and constants, and uppercase for functions
- Uppercase for variable names and constants, and lowercase for functions
Question 22: A list is written in Prolog using ____ to enclose the items.
- Curly braces
- Single quotes
- Square brackets
- Double quotes
Question 23: To force evaluation of an arithmetic term in Prolog, you must use the built-in predicate ____.
- Force
- Equals
- Evaluate
- Is
Question 24: To force Prolog to perform loops, we must force backtracking even when a solution is found by using the built-in predicate ____.
- Is
- Parent
- Fail
- Repeat
An expertise in building customer relationships
: The Meredith Corporation has developed an expertise in building customer relationships through segmentation, targeting, and positioning. However, the amazing part is that they have accomplished this by focusing on only the female half of the po..
|
Demographic: couples without children
: Demographic: Couples without Children Product: Travel collects at least 1 journal article about Travel and or Couples without children
|
Identify and analyze two potential target segments
: Using the scenario as an example, identify and analyze (at a summary level) 2 potential target segments using demographics and psychographics that may meet the bank's high-level strategic goals
|
Why gopro users are so loyal
: How does the chapter-opening GoPro story relate to the major concepts in the consumer behavior chapter? Include in your response why GoPro users are so loyal
|
Questions related to mcqs
: The quality of a language that allows a programmer to express a computation clearly, correctly, concisely, and quickly is called _____.
|
Laws and their amendments
: Before starting this assignment, be sure that you are familiar with the following laws and their amendments:
|
Explain similarities between european views of africans
: Three distinct similarities between European views of Africans and European views of Native Americans around the time of European arrival in the Americas.
|
Create a new integrated marketing communication plan
: Pitch a new Integrated Marketing Communication plan (IMC) to your client for the Apple I-Pad, Identify any considerations you will need to employ to build and maintain the brand and customer loyalty
|
Extensive positive experience in the past
: Think about a leader with whom you have had extensive positive experience in the past. Think about whether this leader had a high need for achievement, affiliation, or power.
|