C-Quiz-01

C-Quiz-01

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

FINALS summative test in TRENDS

FINALS summative test in TRENDS

12th Grade - University

20 Qs

Quiz Elemen Komputer

Quiz Elemen Komputer

9th Grade

20 Qs

Flowcharts

Flowcharts

11th Grade - University

20 Qs

PTS Ganjil Grade XII 2024

PTS Ganjil Grade XII 2024

12th Grade

20 Qs

Mid Exam

Mid Exam

12th Grade - University

20 Qs

STS INFORMATIKA

STS INFORMATIKA

9th Grade

20 Qs

Data Security

Data Security

12th Grade - University

17 Qs

Cyber Security Awreness

Cyber Security Awreness

9th - 12th Grade

15 Qs

C-Quiz-01

C-Quiz-01

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Practice Problem

Easy

Created by

HS Mok

Used 1+ 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.

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

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?