
Fundamentals of C and C++ Programming

Quiz
•
Other
•
University
•
Easy
DILEEP KUMAR SAHU
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of a compiler?
To optimize high-level code for better performance.
To debug high-level code for errors.
To execute high-level code directly without translation.
The primary purpose of a compiler is to translate high-level code into machine code.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Explain the difference between C and C++.
C is a high-level language; C++ is a low-level language.
C supports classes; C++ does not support classes.
C is procedural; C++ is object-oriented.
C is used for system programming; C++ is only for web development.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in programming?
A variable is a command that executes a specific task in the program.
A variable is a symbolic name for a storage location in memory that can hold a value and can be changed during program execution.
A variable is a fixed value that cannot be changed during program execution.
A variable is a type of function that performs calculations.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you declare a variable in C/C++?
declare
To declare a variable in C/C++, use the syntax:
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function and why is it used?
A function is a reusable block of code that performs a specific task.
A function is a method for creating user interfaces.
A function is a graphical representation of data.
A function is a type of variable that stores data.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the main() function in C/C++?
The main() function is where all the functions are declared.
The main() function is responsible for memory management.
The main() function is used for defining global variables.
The main() function is the entry point of a C/C++ program.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are data types in C/C++?
Primitive types, composite types, functional types
Integer types, floating-point types, string types
Static types, dynamic types, abstract types
Basic types, derived types, user-defined types
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
electrical engineering

Quiz
•
University
10 questions
Evaluación sobre Arduino Uno en Robótica

Quiz
•
5th Grade - University
10 questions
CONTROL SYSTEM QUIZ ON BLOCK DIAGRAM -26.08.2020

Quiz
•
University
20 questions
CNC quiz

Quiz
•
University
14 questions
Knots

Quiz
•
5th Grade - Professio...
15 questions
Arduin-KNOW Recap

Quiz
•
University
20 questions
Programming Fundamentals

Quiz
•
KG - University
10 questions
MEC522/MEM686 CONTROL SYSTEM QUIZ 1

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
Appointment Passes Review

Quiz
•
6th - 8th 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
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Other
15 questions
Disney Trivia

Quiz
•
University
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University
20 questions
Disney Trivia

Quiz
•
University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
5 questions
Examining Theme

Interactive video
•
4th Grade - University
23 questions
Lab 4: Quizziz Questions

Quiz
•
University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University