
C Programming Fundamentals Assessment
Quiz
•
Engineering
•
University
•
Hard
Poojith Kokku
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
ARM Co-Processor Interface Quiz
Quiz
•
University
15 questions
CYBERSYNAPSE
Quiz
•
University
15 questions
Computer Architecture Quiz - 1
Quiz
•
University
15 questions
Computer Organization- Quiz 1 by Gururaj Surampalli
Quiz
•
University
20 questions
Embedded Systems Quiz_3_with realworld scenario
Quiz
•
University
18 questions
Verilog HDL -module 1 Quiz
Quiz
•
University
20 questions
General Knowledge Quiz
Quiz
•
University
20 questions
DataScience-28 & 29
Quiz
•
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 Engineering
21 questions
Spanish-Speaking Countries
Quiz
•
6th Grade - University
20 questions
Levels of Measurements
Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns
Interactive video
•
4th Grade - University
12 questions
Los numeros en español.
Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review
Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational
Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado
Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)
Interactive video
•
11th Grade - University
