Kuis C++

Kuis C++

University

6 Qs

quiz-placeholder

Similar activities

24-2 IT104 P1

24-2 IT104 P1

University

10 Qs

Windows Group Policy Object Batch 1

Windows Group Policy Object Batch 1

University

10 Qs

TEST #08

TEST #08

University

10 Qs

7 класс программирование

7 класс программирование

7th Grade - University

10 Qs

Chapter Quiz

Chapter Quiz

University

10 Qs

Introduction to Computer Science, Group 1,

Introduction to Computer Science, Group 1,

University

10 Qs

 Chapter 5 Database Management Quiz

Chapter 5 Database Management Quiz

University

10 Qs

Bienvenida al Diseño Gráfico

Bienvenida al Diseño Gráfico

12th Grade - University

10 Qs

Kuis C++

Kuis C++

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Hard

Created by

Siswo TA

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?