
Cout
Authored by Rabih Rabih
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
FILL IN THE BLANK QUESTION
30 sec • 1 pt
Fill in the blank to get 3 outputted from this code:
int main() {
cout<< 15 % _____ <<endl;
}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
int main(){
int x=106;
if( x>99 && x<=105 ){
cout << "Congrats, you got an A+";
} else if( x<99 && x>=92 ){
cout << "You got an A";
} else if( x<92 && x>=90 ){
cout << "You got an A-";
} else {
cout << "Check in with me.";
}
return 0;
}
Congrats, you got an A+
check in With ME.
You got an A-
Check in with me.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False. this code prints all numbers from 100 to 0
int numbers = 0;
while(numbers <=100){
cout<<numbers<<" ";
numbers++;
}
True
False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
int x=30;
if( x<50 ){
cout << "Big Number.";}
else if( x<=30 ){
cout << "It's a small big number. "; }
else if( x<15 ){
cout << "It could be a big number."; }
else {
cout << "What kind of number is it?"; }
Big Number.
It's a small big number
It's a small big number. It could be a big number.
What kind of number?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank to get 3 outputted from this code:
int main() {
cout<< 19 ____ 4 <<endl;
}
%
==
+
&&
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
10 questions
OSP201 - Quiz 2
Quiz
•
University
10 questions
Industry 4.0 Unit 1
Quiz
•
University
10 questions
python quiz
Quiz
•
6th Grade - Professio...
10 questions
TIU Quiz-4
Quiz
•
University
10 questions
DAA Quiz 1
Quiz
•
University
10 questions
Quizz3 Ciencia de Datos
Quiz
•
University
10 questions
SQL Programming
Quiz
•
4th Grade - Professio...
10 questions
XII RPL 2
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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade