C Programming Quiz

C Programming Quiz

12th Grade

40 Qs

quiz-placeholder

Similar activities

Media and Information Literacy Review Long Quiz

Media and Information Literacy Review Long Quiz

12th Grade

40 Qs

Bài tập python cơ bản

Bài tập python cơ bản

9th - 12th Grade

41 Qs

Activity 5 (Looping and Case Statement in C)

Activity 5 (Looping and Case Statement in C)

12th Grade - University

36 Qs

Computer

Computer

6th - 12th Grade

45 Qs

ย้อนหลัง กลางภาค Java ระดับต้น

ย้อนหลัง กลางภาค Java ระดับต้น

KG - University

40 Qs

Java Basics

Java Basics

11th - 12th Grade

35 Qs

Quiz PTS CT & Algoritma Pemrograman

Quiz PTS CT & Algoritma Pemrograman

10th Grade - University

35 Qs

Data Structures Quiz

Data Structures Quiz

12th Grade

36 Qs

C Programming Quiz

C Programming Quiz

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Awwal Mudashir

Used 1+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is the correct syntax to include a header file in C?

#include "stdio.h"

include

#include<stdio.h>

nothing na

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the extension of a C program source file?

.cpp

.c

.java

.cs

3.

MULTIPLE CHOICE QUESTION

45 sec • 4 pts

Who developed the C programming language?

James Gosling

Dennis Ritchie

Bjarne Stroustrup

Ken Thompson

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which function is used to start execution in a C program?

init()

start()

main()

execute()

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which keyword is used to define a constant in C?

const

static

define

final

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is a valid variable name in C?

int

123var

_value

$number

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the size of an int data type on a 32-bit system?

2 bytes

4 bytes

8 bytes

1 byte

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?