Quiz 2 - CS110
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
Avariella Lapuz
Used 54+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output?
int i = 1;
int j = i--;
cout << "i is " << i;
cout << " and j is " << j;
i is 1 and j is 1
i is 1 and j is 0
i is 0 and j is 1
i is 0 and j is 0
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these data types requires the most amount of memory?
short
float
int
long
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these data types requires the most amount of memory?
double
long double
short
long
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Solve the following problem
int X = 3;
int Y = x % 2 / 10+10 / 2
What does Y equal to?
3
1
5
6
8
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
is q6uub9TN a valid C++ Identifier?
True
False
6.
MULTIPLE SELECT QUESTION
1 min • 1 pt
What is a resonable constant value? (Choose 3)
Pi
Inflation
Speed of light
Gravity
Gas prices
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What header should be included to use advanced math functions?
#include <c++math>
#include <advmath>
#include <cmath>
#include <arithmathc>
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
Sketup M1 รวม สาระเพิ่ม
Quiz
•
University
20 questions
basisdata1
Quiz
•
University
10 questions
KIỂU DỮ LIỆU CÓ CẤU TRÚC
Quiz
•
11th Grade - University
17 questions
Microprocessor - Intel 8088 - Part 1
Quiz
•
University
20 questions
PARC Linux Basic Part 2
Quiz
•
University
20 questions
CSS Pseudo dan CSS Grid System
Quiz
•
University
20 questions
1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni
Quiz
•
University - Professi...
14 questions
BÀI 14- THUẬT TOÁN TÌM KIẾM TUẦN TỰ
Quiz
•
6th Grade - 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
