
C Programming Fundamentals Assessment
Authored by Poojith Kokku
Engineering
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the basic data types in C?
int, float, double, char, void
boolean
array
string
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in C?
var variableName;
float variableName;
int variableName;
string variableName;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'if' statement?
To declare a function in the code.
To create a loop for repeated execution.
To control the flow of execution based on a condition.
To define a variable in a program.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the use of 'for' loops in C.
'for' loops in C do not require a condition to terminate.
'for' loops in C can only iterate over arrays.
'for' loops in C are used for repeated execution of code with a defined number of iterations, structured
'for' loops in C are used for error handling in programs.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is recursion in programming?
Recursion is a method where a function solves a problem by calling itself.
Recursion is a process of optimizing code by removing loops.
Recursion is a method where a function runs in parallel with another function.
Recursion is a technique where a function is executed only once.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you define a function in C?
return_type { function_name(parameter_type) }
return_type function_name(parameter_type parameter_name) { // function body }
function_name(parameter_type) return_type { // body }
function_name { return_type parameter_type; }
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a pointer in C?
A pointer is a type of function in C.
A pointer is a variable that stores a string in C.
A pointer is a variable that holds the address of another variable in C.
A pointer is a special kind of loop in C.
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
Data Communications Quiz 1-ICE 3203
Quiz
•
University
20 questions
Pembangkit Tenaga Listrik
Quiz
•
University
20 questions
Quiz on Sensors and Transducers
Quiz
•
University
15 questions
Linh kiện thụ động
Quiz
•
University
20 questions
I+D+i GET
Quiz
•
University
15 questions
Cuestionario: Motores Paso a Paso
Quiz
•
University
20 questions
Gravity
Quiz
•
10th Grade - University
20 questions
Dive in SQL
Quiz
•
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
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Engineering
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University