Co è la sintaxa correcta per declerar ina variabla en C++?

C++ Fundamentals Challenge

Quiz
•
Ina Braguța
•
English
•
10th Grade
•
1 plays
•
Hard
Student preview

15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
variableName type;
int; x
declera variableName sco type;
type variableName; (exempel, int x;)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid data type in C++?
char
int
float
string
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co creescha ina variabla constanta en C++?
Utilisescha la parola 'final', p.ex. 'final int variableName = value;'
Utilisescha la parola 'const', p.ex. 'const int variableName = value;'
Dichara la variabla senza nagina parola, p.ex. 'int variableName = value;'
Utilisescha la parola 'static', p.ex. 'static int variableName = value;'
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used to denote a single-line comment in C++?
# comment
/* comment */
// comment
//
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which control structure is used for looping in C++?
for, while, do-while
switch
if-else
goto
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Che è l'output dal suandant code: int x = 5; cout << x++;?
5.0
4
6
5
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co declerais in array d'integers en C++?
int myArray[10];
myArray int[10];
array
int[10] myArray;
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Che è il scopo da l'istrucziun 'if' en C++?
Per declerar variablas en C++
Per definir ina funcziun en C++
Per crear ciclus en C++
Il scopo da l'istrucziun 'if' en C++ è da executar code cun condition basà sin ina expressiun boolean.
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for logical AND in C++?
||
&&
&
and
10.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Co è il mod correct da definir ina funcziun en C++?
function_name return_type(parameter_list) { // function body }
function_name(parameter_list) return_type { // function body }
function return_type_name(parameter_list) { // body }
return_type function_name(parameter_list) { // function body }
Explore all questions with a free account
Similar Resources on Quizizz
13 questions
G2U6W3 - Astronaut Handbook

Quiz
•
2nd Grade - University
20 questions
ENGLISH 7- UNIT 11- WORDS

Quiz
•
6th - 12th Grade
15 questions
Indovina la parola

Quiz
•
4th Grade - Professio...
20 questions
LSA2-3-3

Quiz
•
1st - 12th Grade
15 questions
Quiz sur la santé

Quiz
•
1st Grade - University
13 questions
Faux-Amis Anglais

Quiz
•
10th Grade - Professi...
20 questions
AWL 3.1

Quiz
•
8th Grade - University
15 questions
Practical Research 2 Quiz # 2

Quiz
•
KG - 12th Grade
Popular Resources on Quizizz
17 questions
CAASPP Math Practice 3rd

Quiz
•
3rd Grade
20 questions
math review

Quiz
•
4th Grade
21 questions
6th Grade Math CAASPP Practice

Quiz
•
6th Grade
13 questions
Cinco de mayo

Interactive video
•
6th - 8th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
10 questions
4th Grade Math CAASPP (part 1)

Quiz
•
4th Grade
45 questions
5th Grade CAASPP Math Review

Quiz
•
5th Grade
Discover more resources for English
20 questions
Common Grammar Mistakes

Quiz
•
7th - 12th Grade
37 questions
Hunger Games 1-27

Quiz
•
5th - 12th Grade
10 questions
Exploring Figurative Language in Disney Songs

Interactive video
•
6th - 10th Grade
27 questions
English II EOC Review

Quiz
•
10th Grade
7 questions
Parts of Speech

Lesson
•
1st - 12th Grade
15 questions
EOCA Grammar Review

Lesson
•
9th - 12th Grade
25 questions
Review for Vocab Quiz 10

Quiz
•
10th Grade
8 questions
Parts of Speech

Lesson
•
5th - 10th Grade