
C++ quiz (finals)

Quiz
•
Computers
•
University
•
Medium
Wilfredo Jr.
Used 8+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
It is a basic data type that stores a single character/letter/number, or ASCII values.
string
char
int
Boolean
Answer explanation
The correct choice is 'char' because it is a basic data type that stores a single character/letter/number, or ASCII values.
2.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
C++ was developed by _________ and ____________.
Bjarne Stroustrup and Bell Laboratories
Bjarne Stroustrups and Albert Einstein
Bjarne Strostrup and Bel LaboratorieS
Bjarne Laboratories and Bell Stroustrup
Answer explanation
C++ was developed by Bjarne Stroustrup and Bell Laboratories, making the correct answer choice A.
3.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
These data types are built-in or predefined data types and can be used directly by the user to declare variables. example: int, char, float, bool, etc.
Primitive Data Types
Abstract or User-Defined Data Types
Derived Data Types
User-Defined Data Types
Answer explanation
Primitive Data Types are built-in or predefined data types that can be directly used by the user to declare variables like int, char, float, bool, etc.
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
It is a basic data type that stores true or false values.
char
int
boolean
string
Answer explanation
The correct choice is boolean because it is a basic data type that stores true or false values.
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
C++ was made available outside Bell Laboratories in 1985. The first commercial C++ compiler, Cfront, was released in _________.
1985
1995
1989
1975
Answer explanation
The first commercial C++ compiler, Cfront, was released in 1985, the same year C++ was made available outside Bell Laboratories.
6.
MULTIPLE SELECT QUESTION
30 sec • 2 pts
The data types that are derived from the primitive or built-in datatypes are referred to as ________________.
Abstract or User-Defined Data Types
Derived Data Types
User-Defined Data Types
Primitive Data Types
Answer explanation
Derived Data Types and User-Defined Data Types are the data types derived from primitive or built-in data types.
7.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
After the return statement, execution control returns to the operating system component that launched this program. Execution of the code terminates here.
Main Function Section
Function Body Section
Main Function Body Section
Standard Libraries Section
Answer explanation
After the return statement, execution control returns to the Main Function Section where the program was launched from, terminating the code execution.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
MTA - Mobility and Devices Fundamentals Part 1

Quiz
•
10th Grade - Professi...
20 questions
AIS160 Chapter 6: Cloud Computing in Accounting & FinTech

Quiz
•
University
20 questions
Output Quiz-9

Quiz
•
University
25 questions
Introduction to Java

Quiz
•
University
20 questions
Excel Spreadsheet Intro

Quiz
•
KG - University
30 questions
C-Language Q1

Quiz
•
University
30 questions
CS 211 - Midterm Review

Quiz
•
University
20 questions
AI 900 - pt 11

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University