C-Quiz-01

C-Quiz-01

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

N5 Admin Letters and Tables

N5 Admin Letters and Tables

8th Grade - University

15 Qs

Pengenalan Kecerdasan Buatan

Pengenalan Kecerdasan Buatan

11th Grade - University

15 Qs

2.00

2.00

9th - 12th Grade

20 Qs

JAVA Q2 WW1

JAVA Q2 WW1

11th Grade

20 Qs

Tips of Information Assurance & Security in ICT

Tips of Information Assurance & Security in ICT

12th Grade

20 Qs

Exploring Digital Transformation and IoT

Exploring Digital Transformation and IoT

12th Grade

15 Qs

P1-Robot Types and Functions Quiz

P1-Robot Types and Functions Quiz

12th Grade

20 Qs

E-Tech

E-Tech

11th Grade - University

20 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?