
Basic C Programming Concepts

Quiz
•
Computers
•
11th Grade
•
Medium
WANDA LISTYANINGSIH
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does C stand for in programming?
C for JavaScript
C programming language
C++ programming language
C# programming language
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to include a header file in C?
#include {header_file}
import header_file;
#include
#include
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in C?
To declare a variable in C, use the syntax: type variable_name; e.g., int x;.
int x = 0;
declare int x;
var x int;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the main() function in C?
The main() function is the entry point of a C program.
The main() function is responsible for error handling in C.
The main() function handles memory allocation in C.
The main() function is used for defining global variables.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you write a comment in C?
Use '/* comment' for multi-line comments
Use '#' for comments
Use '//' for single-line comments and '/* comment */' for multi-line comments.
Use '//' for multi-line comments
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of printf("%d", 5 + 3);?
6
10
8
9
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a loop in C and name two types of loops?
do while loop
for loop, while loop
foreach loop
repeat until loop
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Grade 8 End of Unit Revision

Quiz
•
8th Grade - University
15 questions
LEGO Ev3 Robotics

Quiz
•
5th - 12th Grade
10 questions
Reshaping & vStack&hstack( )

Quiz
•
9th Grade - University
15 questions
Unit 8 Javascript Quiz

Quiz
•
9th - 12th Grade
12 questions
Computer Science

Quiz
•
3rd - 12th Grade
10 questions
Desafios de Lógica de Programação

Quiz
•
9th - 12th Grade
10 questions
Software Design and Development Quick Quiz 3

Quiz
•
11th - 12th Grade
15 questions
Pointer Arithmetic in C Programming

Quiz
•
9th - 12th Grade
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