C++ Quiz - 23 Trivia Questions!

C++ Quiz Cover

Challenge your programming skills with the C++ quiz, covering the fundamentals of this powerful and versatile programming language widely used in software development.

Who is the creator of the C and C++ programming languages?

Charles Darwin
Bjarne Stroustrup
David Rowe
Paul Allen

What is the term for the process by which one data type acquires the properties of other data types?

Inheritance
Confusion
Transplant
Transparency

What is the name of the block of code that handles exceptions in a program?

Arguments
Loop
Argument
Catch

In C and C++, what is the name of the function that destroys a local variable?

Destructors
Variables
Modifiers
Functions

In computing, what is the term for a function that is called from the point of failure?

Signal
A signalling system
Reverse Engineering
Function call

In computing, what is the term for the ability of a program to determine the correct function to call at run-time?

Dynamic dispatch
Auxiliary data
Asynchronous operation
a function call

What enables one common interface for many implementations, and for objects to act differently under different circumstances?

Polymorphism
A single identifier
Dynamic behaviour
A global variables

Which computer language was developed by Brian Stroustrup in 1982 as a successor to C?

C
C++
C#
C-like

What is the term for the use of the same function name for different purposes in a computer program?

Modification
Embarrassment
Overloading
Modifying

What is the term for the hiding of information in a computer program?

Functions
Encapsulation
A programming language
Function calls

Who developed the C and C++ programming languages?

Stroustrup
Robert Gates
John C. Holm
Robert C.

What name is given to a class containing pure virtual functions?

Functions of a particular class
Abstract
Functions in the Realms
Virtual

What word is used to raise an exception in a computer program?

Reverse
Throw
Exceptional
Go

In computing, what is the term for the value of a function's parameter that can be omitted when it is called?

Default
Unknown
Variable
Value derived from the function

Static, Dynamic, and Thread are all types of what in C and C++?

Functions
Memory
Programs
Computer

In computing, what is the difference between 'templates' and what are used to control the compilation of a program?

Functions
Programs
Macros
Variables

What is the name for a system that prevents programmers from violating the rules of the language they are working with?

a lexicon
Type system
A computer
Typewriter

"Who said ""to think of programming in C++ would make Edsger Dijkstra physically ill""?"

Edsger Dijkstra
Donald Knuth
Edsger Dijkstra's friend
Edsger Dijkstra's friends

Which organisation standardized the C and C++ languages?

ECSC
IFLA
ISO
International Organization

What is the most common type of variable in C and C++?

Long-term
Symbol
Temporary
Long

What are created as a result of expression evaluation and destroyed when the statement containing the expression has been fully evaluated?

Symbols
Arguments
Variables that change the statement
Temporary variables

What is the name of the function in C and C++ that creates and destroys dynamically allocated memory?

stdout
Dynamic memory
Malloc
Ioctl

In computing, what is the term for a problem that is raised at runtime?

Problem statement
Exception
Problematic operation
Problem
0
right
0
wrong
©2024, laquiz.tilyupo.com