Quiz
Design CS-1501
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (11)
1Naming convention for variable is followed in company because ____.
- AA. it enhances readability
- BB. it allows to work without conflicts
- CC. it enhances the efficiency
- DD. all of the above
2The true and false values represent ____.
- AA. logical data
- BB. numeric data
- CC. character data
- DD. alphanumeric data
3Following operator distinguishes equation from expression
- AA. +, -, *, /
- BB. < or >
- CC. Logical operators
- DD. Assignment Operator
4Following are called logical operators
- AA. +, -, *, /
- BB. <, >, <=, >=
- CC. AND, OR, NOT
- DD. \, MOD
5Evaluate 5*(x+y)-4*y/(z+6) where x = 2, y = 3, and z = 6
- AA. 1
- BB. 24
- CC. 5
- DD. 10
6Evaluate a-2>b where a=6, b = 8
- AA. False
- BB. True
- CC. 6
- DD. 7
7Evaluate for a = 5, b = 4, c = 3, d = 12 for the equation E = a*b+d/c
- AA. 40
- BB. 24
- CC. 10
- DD. 10.66
8Evaluate for the equation e = 5*a\d*(b+1) where a = 5, b = 4, c = 3, d = 12
- AA. 10
- BB. 24
- CC. 0
- DD. 10
9The most important reason for including a destructor in a class is:
- AA. To print a message for debugging purposes
- BB. To store information about an object before it goes out of scope
- CC. To free up resources allocated by that class
- DD. To reset the original object's pointer to NULL
- EE. To make your TA happy
10Which of the following name does not relate to stacks?
- AA. FIFO lists
- BB. LIFO list
- CC. Piles
- DD. Push-down lists
11Which of the following data structure is linear type?
- AA. Strings
- BB. Lists
- CC. Queues
- DD. All of above
Information
- Description
- Quiz on Design CS-1501, created by Aidana Repina on 23/05/2017.
- Author
- Aidana Repina
- Language
- English
- Views
- 0
- Rating
- No ratings yet Rate this quiz