C++ Fundamentals

Quiz
•
Computers
•
University
•
Medium
Carlos Montiel
Used 7+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a struct in C++?
A struct in C++ is a built-in data type for storing integers.
A struct in C++ is used for defining functions.
A struct in C++ is a keyword for loops.
A struct in C++ is a user-defined data type that allows you to group different types of variables under one name.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who developed the C++ programming language?
Linus Torvalds
Bjarne Stroustrup
Tim Berners-Lee
Dennis Ritchie
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the different data types available in C++?
int, float, double, char, bool, arrays, structures, classes
string
boolean
pointers
float
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you perform iterations in C++?
Iterations in C++ are done by using 'switch' statements.
Performing iterations in C++ involves using 'goto' statements.
You can perform iterations in C++ using 'if-else' statements.
You can perform iterations in C++ using loops like 'for', 'while', or 'do-while'.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why are structs used in C++?
To perform mathematical operations efficiently
To handle exceptions in the code
To create user-defined data types that can hold multiple variables of different data types under a single name.
To improve the readability of comments
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
When was C++ first released?
1985
2005
1975
1990
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Give an example of a primitive data type in C++.
double
string
float
int
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Revision 2 MCA

Quiz
•
University
10 questions
Week 9 C# (for Java programmers)

Quiz
•
University
10 questions
Quiz on Stacks and Data Structures 2

Quiz
•
University
10 questions
Chatbots Vocabulary

Quiz
•
University
5 questions
Linked list

Quiz
•
University
15 questions
CS 2nd Semester Mid-Term

Quiz
•
10th Grade - University
15 questions
FOP - CHAPTER 7

Quiz
•
University
10 questions
Rapid Round 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
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