
char , bool and Operators
Authored by Fatma Metwally
Information Technology (IT)
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. What is the size of a char datatype in C++?
16 bits
c) 1 byte
1 kilobyte
2 bytes
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. What is the value of the ASCII code for the character 'A'?
64
66
65
67
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. What will be the output of the following code?
3
a) 67
C
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. Which of the following is a valid bool value in C++?
'true'
1
"true"
True
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Which operator is used to check if two values are equal in C++?
!=
==
=
<=
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. What is the correct result of the following expression?
15
21
11
7
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
8. What does the sizeof operator return for the bool datatype?
2 bytes
a) 1 byte
8 bytes
4 bytes
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Digitalization and Development
Quiz
•
University
21 questions
Direct Data Entry Devices, Advantages and Disadvantages
Quiz
•
7th Grade - University
20 questions
Understanding Database Technologies, Relational Model, and Data
Quiz
•
University
15 questions
ITEC 70: Multimedia Quiz 1
Quiz
•
University
15 questions
S2 Microsoft Access Database Quiz
Quiz
•
10th Grade - University
15 questions
cybersecurity-common security infrastructure security
Quiz
•
University
15 questions
OSS (QUIZ 3) - Process Management (Part 2)
Quiz
•
University
17 questions
COU4306 Day 01
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University