
C Programming Quiz

Quiz
•
Computers
•
12th Grade
•
Medium
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
Similar Resources on Wayground
41 questions
Final Day Quiz for ICT Skill Share

Quiz
•
4th Grade - Professio...
40 questions
Ôn Trắc Nghiệm Tin 12_HK1-NH24.25

Quiz
•
12th Grade
40 questions
Ujian Informatika Kelas VII

Quiz
•
7th Grade - University
42 questions
Key Term Quiz - Creative iMedia

Quiz
•
9th - 12th Grade
37 questions
AQA Computer Science GCSE - 3.3 Data representation

Quiz
•
10th - 12th Grade
40 questions
quiz java

Quiz
•
12th Grade
35 questions
Module 7 Questions

Quiz
•
12th Grade
40 questions
2nd Grade Roman Numerals

Quiz
•
2nd Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade