AlgoProg - Review Quiz

AlgoProg - Review Quiz

University

20 Qs

quiz-placeholder

Similar activities

STRUKTUR DATA (QUIZ FINAL)

STRUKTUR DATA (QUIZ FINAL)

University

15 Qs

Coding club Summit Online Quiz

Coding club Summit Online Quiz

University

15 Qs

Linked list 1

Linked list 1

University

20 Qs

Technical Quiz

Technical Quiz

University

20 Qs

CSI Coding Quiz

CSI Coding Quiz

University

20 Qs

Fundamentals of data Structures & Linked list

Fundamentals of data Structures & Linked list

University

20 Qs

TARANG Technical Quiz Round-2

TARANG Technical Quiz Round-2

University

20 Qs

Programming Homework Questions

Programming Homework Questions

University

17 Qs

AlgoProg - Review Quiz

AlgoProg - Review Quiz

Assessment

Quiz

Computers

University

Hard

Created by

Eileen Heriyanni

Used 2+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?