Recap Chapter 6, 7, 8
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
nurul iman
Used 4+ times
FREE Resource
Enhance your content in a minute
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Best type of repetition control structures to be used to make a menu item?
While loop
If ...else
Do...while loop
For loop
Answer explanation
Do...while loop is more convenient to the user, where the menu in a program will repeats itself, until the user chooses to quit the program. Therefore, do…while loop is a good choice for repeating a menu.
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Display array according to the boxes for the statement below.
char string2[] = "Wonderful";
Answer explanation
A C-string is a string whose characters are stored in consecutive memory locations, terminated by a null character.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which one of the syntax can read C-string with whitespaces?
cin.getline(arrayName, size);
getline(cin, variableName);
cin >> VariableName;
All of the above
4.
FILL IN THE BLANK QUESTION
2 mins • 1 pt
Please write the output for the code based on the picture.
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Header file that used for character testing function.
Example: isupper, islower, isalpha
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of dataType that can be used in array?
int & string
char & string
int & double
All kind of dataType
7.
OPEN ENDED QUESTION
5 mins • 2 pts
Please write the output for the program as shown in the picture.
Evaluate responses using AI:
OFF
Answer explanation
The answer supposed to be:
This will display greetings between two friends
Hello! Nice to meet you!
Hi! My name is Laura!
Nice to meet you too!
Hope you are getting it right!
In any case, the program should give an output starting from the main function although the other functions are declared before the main function.
Create a free account and access millions of resources
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
15 questions
4.6.4 Logic Gates
Quiz
•
10th Grade - Professi...
10 questions
Algorithm analysis: divide & conquer theory
Quiz
•
University
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
10 questions
Programacion Orientada a Objetos
Quiz
•
12th Grade - University
15 questions
Firewall and Network Security
Quiz
•
University
10 questions
Information systems concepts
Quiz
•
University
13 questions
L1 - Computer Networks
Quiz
•
University
15 questions
DBC CHAPTER 3 - REVISION
Quiz
•
University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
