
Kuis C++
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Siswo TA
Used 4+ times
FREE Resource
Enhance your content in a minute
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 10 pts
x = x++
Berapakah nilai x jika int x = 5
1
4
5
6
2.
MULTIPLE CHOICE QUESTION
2 mins • 15 pts
x = x--
y = x + y++ * x + x--
Berapakah nilai y jika int x = 3, y = 5
20
21
19
22
3.
MULTIPLE CHOICE QUESTION
3 mins • 15 pts
a = a++ * a--
b = --b + ++a
c = a + b++ - --b + a++(1)
Berapakah nilai a, b, c jika int a = 10, b = 15
110
125
222
112
125
220
110
130
222
115
135
210
4.
MULTIPLE CHOICE QUESTION
5 mins • 20 pts
a = (x + z)(y - z)
if ( a < 10) { a = a * x + z++ - y }
else { a = a++ + y - x-- * ++z }
Berapakah nilai a jika int x = 5, y = 4, z = 3
30
39
50
25
5.
MULTIPLE CHOICE QUESTION
10 mins • 20 pts
a = x++ - --y;
if (a < 18) {
x = x + y++;
if (x > 70) { a = a * y + --a + x(a + y) }
}
else {
a = a + --x;
if (a > 70) { a = (x + y)y + --x * a }
}
Berapakah nilai a jika int x = 50, y = 30
7770
2355
3128
5770
6.
MULTIPLE CHOICE QUESTION
10 mins • 20 pts
a = --x + y++
if (a > x || a < y) { a = a + x + y * a - --a }
b = a - x + y
if (x > b && x > y) { b = a - x + --y * y }
Berapakah nilai a dan b jika int x = 10, y = 50
a = 3019
b = 3061
a = 3020
b = 2030
a = 1100
b = 3019
a = 1330
b = 2130
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
Quiz - Foundation of Testing (Testing and System Implementation)
Quiz
•
University
10 questions
Основы работы с СУБД
Quiz
•
University
10 questions
Review - Software Engineering
Quiz
•
University
10 questions
AI and Machine Learning Quiz
Quiz
•
University
10 questions
Quizzi bài 29 Tin học 10
Quiz
•
10th Grade - University
10 questions
Quiz on Basics of C
Quiz
•
University
10 questions
Quiz sobre Diseño Gráfico
Quiz
•
7th Grade - University
10 questions
Sesión 2 LED TE
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
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
Discover more resources for Information Technology (IT)
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University
