Kuis C++

Kuis C++

University

6 Qs

quiz-placeholder

Similar activities

Kiểm tra nhanh lớp 10

Kiểm tra nhanh lớp 10

10th Grade - University

10 Qs

IMSD_Week-3_CSE-1

IMSD_Week-3_CSE-1

University

10 Qs

Quiz - Foundation of Testing (Testing and System Implementation)

Quiz - Foundation of Testing (Testing and System Implementation)

University

10 Qs

Основы работы с СУБД

Основы работы с СУБД

University

10 Qs

AI and Machine Learning Quiz

AI and Machine Learning Quiz

University

10 Qs

ALFABETIZACION DIGITAL GRUPO 7

ALFABETIZACION DIGITAL GRUPO 7

University

10 Qs

Ods 11

Ods 11

4th Grade - University

10 Qs

Quizzi bài 29 Tin học 10

Quizzi bài 29 Tin học 10

10th 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?