Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
Give this quiz to my class
Q 1/15
Score 0
Expressions are the fundamental means of specifying computations in a programming language. Which of the following is a primary role of expressions in imperative languages?
30
Data Retrieval
Data Storage
Assignment
Data Transmission
Q 2/15
Score 0
Which operator has the highest precedence in most programming languages?
30
Parentheses
Unary operators
Multiplication (*)
Addition (+)
15 questions
Q.
Expressions are the fundamental means of specifying computations in a programming language. Which of the following is a primary role of expressions in imperative languages?
1
30 sec
Q.
Which operator has the highest precedence in most programming languages?
2
30 sec
Q.
In C-based languages, which of the following is an example of a conditional expression?
3
30 sec
Q.
Which of the following is a solution to the problem of functional side effects?
4
30 sec
Q.
A program has the property of referential transparency if:
5
30 sec
Q.
Which of the following languages does NOT allow user-defined overloaded operators?
6
30 sec
Q.
Which of the following is a widening conversion?
7
30 sec
Q.
In most programming languages, how are mixed-mode expressions typically handled?
8
30 sec
Q.
Which Boolean operator/s has equal precedence in some language?
9
30 sec
Q.
Which of the following statements about short-circuit evaluation is true?
10
30 sec
Q.
Which language uses := as the assignment operator?
11
30 sec
Q.
What is the shorthand syntax for adding two values in most modern programming languages?
12
30 sec
Q.
Which of the following languages allows the assignment statement to produce a result and be used as an operand?
13
30 sec
Q.
In which language can you use the syntax ($first, $second) = ($second, $first); for multiple-target, multiple-source assignments?
14
30 sec
Q.
Which of the following statements is true about mixed-mode assignments in Java?