Choose the RIGHT data-type used in C++ to store Employee Identification Card
for “CC00123".
Final Exam Revision (Trial)

Quiz
•
Computers
•
University
•
Medium
SHARIFAH (IPH)
Used 5+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A. string
B. boolean
C. character
D. integer
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the keyword in C++?
A. then
B. number
C. case
D. rational
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following term is equivalent with the != operator?
A. is equal
B. is not equal
C. greater than
D. less than
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of = operator in C++ programming?
A . To assign a value to a
variable
B. To compare two values for equality
C. To declare a function
D. To perform arithmetic addition
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the suitable data type of the Ringgit = 5 . 1 ?
A. integer
B. character
C. float
D. string
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of keyword const in C++ programming?
A. The value declared in the
program cannot be changed
throughout the program.
B. The memory location can be
referred using the variable name and
this location is used to store the value
of the variable.
C. The value declared in the program
can be changed throughout the
program.
D. Special character constant is a nonprinting character, known as Escape
Sequence.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the CORRECT equivalent combined assignment operator in C++ for
y=y+(m*x+c).
A. y*=(m*x)+c
B. y+=m*x+c
C. y+=m*{x+c)
D. y=+{m)*x+c
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Python - Unit Test 2

Quiz
•
9th Grade - University
20 questions
C Programming Unit-1 Test-2

Quiz
•
University
20 questions
EST102 : PROGRAMMING IN C TEST 1

Quiz
•
University
20 questions
TECHFEST QUALIFYING ROUND

Quiz
•
University
20 questions
ROUND 1 QUIZ FOR 1ST YEAR

Quiz
•
University
20 questions
Geeks for Geeks PCCOER Info Session CP Quiz

Quiz
•
University
20 questions
Programming in C(1)

Quiz
•
University
20 questions
C-QUEST QUIZ BEE

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade