AlgoProg - Review Quiz

AlgoProg - Review Quiz

University

20 Qs

quiz-placeholder

Similar activities

Sistem Informasi Manajemen

Sistem Informasi Manajemen

University

20 Qs

unit-4-testing

unit-4-testing

University

20 Qs

SMARTICUS

SMARTICUS

University

20 Qs

Herramientas de Google

Herramientas de Google

12th Grade - University

15 Qs

kollekvium 3

kollekvium 3

University

20 Qs

data structures1

data structures1

University

20 Qs

Quiz on List and Tuples

Quiz on List and Tuples

University

16 Qs

AlgoProg - Review Quiz

AlgoProg - Review Quiz

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Eileen Heriyanni

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which one of assignment below is invalid?

x = y
x = y + 2
x = 1
x + 1 = 3

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

4 0
4 7
4 16
4 23

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the output of this slice of code?

float myFloat = 45.1342f;

printf("%09.3f", myFloat);

00045.134
000045.134
00000045.134
00000000045.134

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what is the output of this slice of code?

char str[30]="Bina Nusantara";

printf("%-15s2024", str);

BinaNusantara-15s2024
Bina Nusantara 2024
Bina Nusantaras2024
Bina Nusantara

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assuming the user input is: 1053 17.5 42

What is the value of the variable val3 in this code?

scanf("%2d %f %d", &val1, &val2, &val3);

1053
42
17
17.5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assuming the user input is: 1053 17.5 42 Smith

What is the value of the variable str2 in this code?

scanf("%s %d %s", str1, &val1, str2);

17
.5
42
Smith

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the arithmetic operator:

g / -m * 2

which order will the operators be executed sequentially?

/ - *
* / -
- * /
- / *

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?