C-Quiz-01

C-Quiz-01

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Soal Ulangan Ahir Semester Genap T.A 2024/2025 SMKN 4 TIK Nabire

Soal Ulangan Ahir Semester Genap T.A 2024/2025 SMKN 4 TIK Nabire

11th Grade

20 Qs

SISTEM KOMPUTER

SISTEM KOMPUTER

10th Grade

15 Qs

Python for loop/lists

Python for loop/lists

9th Grade - University

15 Qs

Mock-Up Academy Programming Online Test

Mock-Up Academy Programming Online Test

6th Grade - University

20 Qs

Algoritma Pemrograman

Algoritma Pemrograman

10th Grade

21 Qs

Pemrograman Blokly

Pemrograman Blokly

9th Grade - University

20 Qs

Soal PAS Algoritma dan Flowchart

Soal PAS Algoritma dan Flowchart

10th Grade - University

20 Qs

Quizz Sebelum UTS

Quizz Sebelum UTS

9th - 12th Grade

21 Qs

C-Quiz-01

C-Quiz-01

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Easy

Created by

HS Mok

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

Explain what is #include <stdio.h> ?

Evaluate responses using AI:

OFF

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is printf for ?

display some message in terminal.

wait for user to reply

exit the program

draw a straight line

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

what's the result of following code:
printf("Hello Students.\nI am from Nanyang\n");

Hello Students. I am from Nanyang

Hello Students.
I am from Nanyang

Hello Students
I am from Nanyang

Hello Students. I am from Medan

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Select which statement that is correct using scanf

scanf("%d", number);

scanf("%d", &number);

scanf("%d %d", &number1, &number2);

scanf("%d %d", number1, number2);

5.

OPEN ENDED QUESTION

3 mins • 1 pt

In C, what is the difference between printf() and scanf() functions?

Evaluate responses using AI:

OFF

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct way to read an integer in C?

scanf("%d", num);

scanf("%d", &num);

scanf("%i", num);

scanf(num, "%d");

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code if x = 10?

A

B

AB

No output

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?