
C Programming Fundamentals
Authored by Ms.S. PERIYANAYAKI
Engineering
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the basic structure of a C program?
The basic structure of a C program includes preprocessor directives, the main function, variable declarations, statements, and a return statement.
Only includes the main function and return statement.
Consists solely of variable declarations and comments.
Requires a graphical user interface to run.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Name the primary data types in C.
int, float, double, char, void
array
boolean
string
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of storage classes in C?
The purpose of storage classes in C is to control the visibility, lifetime, and storage duration of variables.
To define the data types of variables.
To optimize the performance of the program.
To manage memory allocation for functions.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List three keywords in C programming.
while
['int', 'return', 'if']
for
switch
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you convert a binary number to decimal in C?
Use bitwise operations or a loop to calculate the decimal value from the binary representation.
Use a string manipulation function to parse the binary digits.
Use printf to display the binary number directly.
Convert the binary number to hexadecimal first.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the arithmetic operator '+' in C?
The '+' operator multiplies two numbers in C.
The '+' operator divides two numbers in C.
The '+' operator adds two numbers or concatenates strings in C.
The '+' operator subtracts two numbers in C.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the use of the 'if' statement in decision making.
The 'if' statement is only applicable in mathematical calculations.
The 'if' statement is used to execute code based on whether a condition is true, enabling decision making in programs.
The 'if' statement is used to declare variables in a program.
The 'if' statement is used to define functions in programming.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Solidworks Basics Quiz for Students
Quiz
•
10th Grade - University
20 questions
Quality Week 2025
Quiz
•
12th Grade - University
20 questions
GREEN TECHNOLOGY COMPLIANCE
Quiz
•
University
20 questions
1.1 & 1.2 Robótica
Quiz
•
University
20 questions
Computer Networks CT-1
Quiz
•
University
20 questions
Electro2 MSW3
Quiz
•
University
20 questions
Java MCQ Test Day-2
Quiz
•
University
20 questions
Module 10 Features and Planes
Quiz
•
12th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Engineering
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University