
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
40 questions
Ujian Tengah Semester Informatika

Quiz
•
10th Grade - University
39 questions
Module 6 Questions

Quiz
•
12th Grade
37 questions
IC3 GS6 Domain 1 Assessment

Quiz
•
6th - 12th Grade
35 questions
Upper 6th - IP Addresses and Subnet

Quiz
•
12th Grade
40 questions
MS office 2016

Quiz
•
1st Grade - Professio...
38 questions
Microsoft Word 2016

Quiz
•
9th - 12th Grade
43 questions
Branding and Identity Review

Quiz
•
9th - 12th Grade
40 questions
21910-1003 กลางภาค

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade