C Programming Quiz(session 1)

Quiz
•
Computers
•
University
•
Medium
Sumithra pm
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is NOT a token in C?
Keyword
Identifier
Compiler
Constant
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the correct term for the following in C: +, -, *, /?
Identifiers
Operators
Keywords
Constants
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a valid identifier in C?
int
2value
value_2
#define
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these is a constant in C?
main
123.45
return
void
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the purpose of a delimiter (like {}, [], ;) in C?
To store data
To separate tokens
To define operators
To identify keywords
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a keyword in C?
total
for
Sum
avg
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output if you use an invalid identifier in your C program?
Program will compile successfully
Program will run but show wrong output
Compilation error
Runtime error
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
PRA UAS - Dasar Dasar Pemrograman 2023

Quiz
•
University
20 questions
C - Strings

Quiz
•
University
19 questions
Technotsav'23

Quiz
•
University
15 questions
Common errors in C programming

Quiz
•
University
20 questions
1st Year quiz

Quiz
•
University
23 questions
C que que que

Quiz
•
University
19 questions
C Programming Quiz

Quiz
•
University
20 questions
Quizz C++ ^_^

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 Computers
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