
Si Session 2/8/23

Quiz
•
Other
•
University
•
Hard
Fernando Hernandez
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Will output 10
Will output 9
Will output 11
I is out of scope
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will output?
x = 1
x=25
x=26
memory address of x
3.
MULTIPLE SELECT QUESTION
1 min • 1 pt
How can we properly declare multiple pointers?
int *myPtr1, *myPtr2;
You cant, must be one at at time
int* myPtr;
int *myPtr2
int* myPointer,myPointer2
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will be the output?
int y=9;
int yPtr;
yPtr = &y;
cout<<" y = " << y <<endl;
cout<<" &y = "<< &y <<" \n ";
cout<<"yPtr = "<< yPtr <<" \n ";
cout<< "yPtr = "<<*yPtr<<" \n ";
9
9
0x7fff9942bde4
0x7fff9942bde4
9
0x7fff9942bde4
9
0x7fff9942bde4
9
9
9
9
9
0x7fff9942bde4
0x7fff9942bde4
9
5.
OPEN ENDED QUESTION
3 mins • 1 pt
What is the first function called? What is it doing?
Evaluate responses using AI:
OFF
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
int a= 12;
int b= 8;
swapFunc(a,b);
cout<< a << " " << b<<endl;
What will be the output?
12 8
8 12
8 8
12 12
7.
FILL IN THE BLANK QUESTION
3 mins • 1 pt
What will cause the loop to skip all odd numbers
for(int i=0;i<50;i++){
if(i%2!=0){//}
cout<<i<<endl;
}
Similar Resources on Quizizz
10 questions
TA Modul 0

Quiz
•
University
5 questions
Sesión 07 - FP

Quiz
•
University
7 questions
Cấu trúc dữ liệu & Giải thuật 1

Quiz
•
University
10 questions
HTML PHP C++

Quiz
•
University
11 questions
Junk Genius

Quiz
•
University
10 questions
Memory Management

Quiz
•
University
12 questions
Archivos en JAVA

Quiz
•
University
10 questions
Java Quiz

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