C Programming Quiz

C Programming Quiz

12th Grade

25 Qs

quiz-placeholder

Similar activities

DATA STRUCTURES

DATA STRUCTURES

12th Grade

20 Qs

ULANGAN HARIAN PEMROGRAMAN C

ULANGAN HARIAN PEMROGRAMAN C

12th Grade

26 Qs

Python Text Files

Python Text Files

12th Grade

20 Qs

C Programming Quiz

C Programming Quiz

12th Grade - University

20 Qs

Programming Round 1

Programming Round 1

12th Grade - University

21 Qs

Java, part I

Java, part I

11th Grade - University

20 Qs

PH - KLS 12 BAB 1

PH - KLS 12 BAB 1

12th Grade

20 Qs

Programmer Quiz

Programmer Quiz

12th Grade

20 Qs

C Programming Quiz

C Programming Quiz

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Shruti Dhote

Used 2+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who is the father of the C programming language?

Bjarne Stroustrup

Dennis Ritchie

James Gosling

Guido van Rossum

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to end a statement in C?

:

;

.

,

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to print a message to the screen in C?

printf()

scanf()

print()

output()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to declare a variable in C?

variable x;

int x;

declare int x;

x integer;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is used to store decimal numbers in C?

int

float

char

double

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid comment in C?

// This is a comment

\ This is a comment

* This is a comment *

#This is a comment

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of an int in C?

1 byte

2 bytes

4 bytes

8 bytes

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?