
Basics of C
Quiz
•
Computers
•
University
•
Hard
Santhi Priya B
Used 20+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in C?
A function that returns a value
A type of mathematical equation
A constant value that cannot be changed
Named storage location that can hold a value
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the different data types in C?
int, float, double, char, void
string, boolean, array, object, function
integer, decimal, character, void, boolean
int, float, char, double, boolean
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the arithmetic operators in C?
+, -, *, /, %, ^
+, -, *, /, %
+, -, *, /, %, =
+, -, *, /, %, !
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the relational operators in C?
==, !=, >, <, >=, <=
[], {}, (), ., ->
+, -, *, /, %
++, --, !, &&, ||
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the logical operators in C?
EQUALS (==), NOT EQUALS (!=), GREATER THAN (>)
IF-ELSE, SWITCH, FOR
AND (&&), OR (||), and NOT (!)
ADD (+), SUBTRACT (-), MULTIPLY (*)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the syntax for do-while loop in C?
do-while (condition);
do-while (condition) {};
do-while [condition];
do-while {condition};
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a header file in C?
To declare the structure of a program
To include function prototypes and macro definitions
To define the main function of a program
To store global variables
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
1.1.1 The structure and function of the processor
Quiz
•
11th Grade - University
10 questions
Planning and Implementation of Information Security
Quiz
•
University
10 questions
Programming in C
Quiz
•
University
20 questions
Software Engineering Quiz 1
Quiz
•
University
10 questions
Machine Learning (Introduction)
Quiz
•
University
20 questions
INTERNET
Quiz
•
University
20 questions
Round 1 ( RHA Learner Contest )
Quiz
•
University
11 questions
Determining System Requirements
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
12 questions
Halloween
Quiz
•
3rd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
14 questions
Eat Healthy,Be Healty
Quiz
•
4th Grade - University
7 questions
History of Halloween: Pagan or Christian?
Interactive video
•
11th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
