C++ Basics

Flashcard
•
Computers
•
University
•
Hard
Jack Bandy
Used 1+ times
FREE Resource
Student preview

24 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which is the correct statement to output "Hello World" in C++?
Back
cout << "Hello World";
2.
FLASHCARD QUESTION
Front
Reserved word in C++
Back
A keyword with a special meaning
3.
FLASHCARD QUESTION
Front
Write a C++ statement that declares the variable firstInitial to be a character variable.
Back
char firstInitial;
4.
FLASHCARD QUESTION
Front
Role of "void" keyword in a C++ function?
Back
To indicate a function returns no value
5.
FLASHCARD QUESTION
Front
What is the result of the following expression in C++? 11%9
Back
2
6.
FLASHCARD QUESTION
Front
What is the result of the following expression in C++? 15/4
Back
3
7.
FLASHCARD QUESTION
Front
What is the result of the following expression in C++? 3.0/2.0
Back
1.5
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Fundamentals of data Structures & Linked list

Flashcard
•
University
20 questions
Flashcard on C++_1

Flashcard
•
Professional Development
19 questions
Intro to CS Midterm Exam

Flashcard
•
12th Grade
17 questions
Java Basics

Flashcard
•
12th Grade
18 questions
Basic C++ Programming Questions

Flashcard
•
University
16 questions
Arrays in C++ - CS172- Exercise #2

Flashcard
•
University
20 questions
c++ programming

Flashcard
•
University
21 questions
Java Loops

Flashcard
•
KG
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade