Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
14 views
Study-Guide-for-Creative-Tech
Uploaded by
Donald richie Cubero
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download now
Download
Save Study-Guide-for-Creative-Tech For Later
Download
Save
Save Study-Guide-for-Creative-Tech For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
14 views
Study-Guide-for-Creative-Tech
Uploaded by
Donald richie Cubero
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download now
Download
Save Study-Guide-for-Creative-Tech For Later
Carousel Previous
Carousel Next
Save
Save Study-Guide-for-Creative-Tech For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 3
Search
Fullscreen
Study Guide
1. Which of the following is the correct way to start a C++ program?
Programs start with #include <iostream> to include the input/output library.
The main() function is required as the entry point.
2. What is the file extension of a C++ program?
C++ source files typically use the .cpp extension.
3. Which library is used for input and output in C++?
The iostream library is used for input (cin) and output (cout).
4. What is the standard namespace in C++?
The std namespace is the standard namespace and avoids prefixing std:: for objects like
cout and cin.
5. How do you print text in C++?
Use cout << "Text"; for outputting text.
6. Which symbol is used to end a statement in C++?
Statements in C++ end with a semicolon (;).
7. What does "int" represent in C++?
The int data type represents integer numbers.
8. What does the keyword "return" do in a function?
It sends a value back to the caller and ends the function.
9. What is the output of the following code snippet?
cout << "Hello, World!";
The output is Hello, World!.
10. Which of the following is a valid C++ comment?
Use // for single-line comments or /* */ for multi-line comments.
11. What is "cin" used for?
The cin object is used for taking input from the user.
12. How do you declare a variable in C++?
Declare variables with the syntax dataType variableName;.
13. Which of the following is NOT a valid data type in C++?
word is not a valid data type in C++.
14. What is the default value of an uninitialized variable in C++?
Uninitialized variables have a garbage value.
15. Which loop is guaranteed to execute at least once?
The do-while loop executes at least once.
16. How do you create a constant in C++?
Use const variableName; to declare constants.
17. What does "bool" represent in C++?
The bool data type represents Boolean values (true or false).
18. What is the use of the "if" statement in C++?
It is used to make decisions based on conditions.
19. How do you start a block of code in C++?
Use curly braces {} to define a block of code.
20. What is the output of the following code snippet?
int x = 5;
cout << x;
The output is 5.
21. Which header file is essential for input/output operations in C++?
The iostream header file is required for input/output operations.
22. What does the following code do?
int arr[5];
Declares an integer array of size 5.
23. Which keyword is used to define a function in C++?
Functions can be defined using the syntax returnType functionName().
24. What is the output of the following code snippet?
int a = 10, b = 20;
cout << a + b;
The output is 30.
25. What will the following code produce?
int x = 10;
x++;
cout << x;
The output is 11.
26. Which keyword is used to allocate memory dynamically in C++?
Use new to allocate memory dynamically.
27. Which of the following is NOT a feature of C++?
C++ is not platform-independent.
28. What symbol is used to declare a pointer in C++?
Use * to declare pointers.
29. What is the purpose of the "break" statement?
It terminates a loop or switch statement.
30. What is the output of the following code?
for (int i = 0; i < 3; i++) {
cout << i;
}
The output is 012.
31. Which of the following is a valid way to declare a string in C++?
Strings can be declared as string s = "Hello"; or char s[] = "Hello";.
32. What keyword is used to create an object in C++?
Use the new keyword to create objects dynamically.
33. What is the typical size of an "int" variable in most systems?
The size of an int is typically 4 bytes.
34. What does the keyword "class" define in C++?
A class is a blueprint for creating objects.
35. What is the purpose of the "continue" statement in a loop?
It skips the current iteration and moves to the next one.
36. Which operator is used to access members of a class in C++?
Use the dot operator (.) or arrow operator (->) for accessing class members.
37. How do you write an exception handler in C++?
Use try and catch blocks for exception handling.
38. What is the correct syntax for a "for" loop in C++?
Use the syntax for (int i = 0; i < n; i++) { // code }.
39. What is the purpose of the "delete" keyword in C++?
The delete keyword frees dynamically allocated memory.
40. What is the purpose of the "private" access specifier in C++?
The private access specifier restricts access to class members.
You might also like
his-sc-metriken.1.3.1_e
PDF
No ratings yet
his-sc-metriken.1.3.1_e
8 pages
CNN Numpy 1st Handson
PDF
100% (1)
CNN Numpy 1st Handson
5 pages
ICT Questions
PDF
No ratings yet
ICT Questions
2 pages
Structured_Programming_Exam_New
PDF
No ratings yet
Structured_Programming_Exam_New
4 pages
C++ Viva Questions
PDF
No ratings yet
C++ Viva Questions
6 pages
C++ MCQ - qb
PDF
No ratings yet
C++ MCQ - qb
31 pages
Pretest (Finals)
PDF
No ratings yet
Pretest (Finals)
18 pages
Who Invented C++
PDF
No ratings yet
Who Invented C++
11 pages
CS UNIT 2
PDF
No ratings yet
CS UNIT 2
8 pages
C++ Task2
PDF
No ratings yet
C++ Task2
5 pages
CSC201 past questions and answers
PDF
No ratings yet
CSC201 past questions and answers
17 pages
Quiz 1 C++
PDF
No ratings yet
Quiz 1 C++
8 pages
Computer Studies Viva Voce
PDF
No ratings yet
Computer Studies Viva Voce
7 pages
c++++++++.docx.86feb0f717e192e5a7ccdea52957ce35.bak-1
PDF
No ratings yet
c++++++++.docx.86feb0f717e192e5a7ccdea52957ce35.bak-1
21 pages
Basic C++ Quiz
PDF
No ratings yet
Basic C++ Quiz
2 pages
C++ Interview Questions & Answers: BY HK2002
PDF
No ratings yet
C++ Interview Questions & Answers: BY HK2002
13 pages
C++ Viva Questions
PDF
No ratings yet
C++ Viva Questions
8 pages
MCQS C++
PDF
No ratings yet
MCQS C++
57 pages
C++ Question Bank
PDF
100% (1)
C++ Question Bank
32 pages
Practice Questions Computer Programing II
PDF
No ratings yet
Practice Questions Computer Programing II
9 pages
Structured Programming Exam Full
PDF
No ratings yet
Structured Programming Exam Full
4 pages
C++ OOP MCQ
PDF
No ratings yet
C++ OOP MCQ
3 pages
Exit Exam CPP - 2
PDF
No ratings yet
Exit Exam CPP - 2
23 pages
reviewer for comp programming 1 final exam
PDF
No ratings yet
reviewer for comp programming 1 final exam
5 pages
Important Question
PDF
No ratings yet
Important Question
39 pages
mcq c--
PDF
No ratings yet
mcq c--
119 pages
C++ Question Bank
PDF
No ratings yet
C++ Question Bank
8 pages
C++ Test
PDF
No ratings yet
C++ Test
3 pages
C - C++ by Mahad
PDF
No ratings yet
C - C++ by Mahad
33 pages
MCQ of CPP
PDF
No ratings yet
MCQ of CPP
12 pages
C++ common questions
PDF
No ratings yet
C++ common questions
11 pages
C++ Interview
PDF
No ratings yet
C++ Interview
6 pages
Home C++ Q & A
PDF
No ratings yet
Home C++ Q & A
80 pages
MCQs On C++
PDF
No ratings yet
MCQs On C++
7 pages
C++ MCQ Based On Learning Outcomes
PDF
No ratings yet
C++ MCQ Based On Learning Outcomes
8 pages
MCQ 2022
PDF
No ratings yet
MCQ 2022
16 pages
I.Choose The Correct Answer: 35 X 1 35: Optim Test - 3
PDF
No ratings yet
I.Choose The Correct Answer: 35 X 1 35: Optim Test - 3
3 pages
C++ MCQs
PDF
No ratings yet
C++ MCQs
21 pages
Model Exam - Introduction To Computing
PDF
No ratings yet
Model Exam - Introduction To Computing
12 pages
Document
PDF
No ratings yet
Document
19 pages
C++
PDF
No ratings yet
C++
9 pages
Loki Oop
PDF
No ratings yet
Loki Oop
4,280 pages
C++
PDF
No ratings yet
C++
2 pages
MCQ and T (Or) F C++
PDF
No ratings yet
MCQ and T (Or) F C++
10 pages
SBL Part 1 Viva Questions
PDF
100% (2)
SBL Part 1 Viva Questions
11 pages
Chapter 1 To 4
PDF
No ratings yet
Chapter 1 To 4
50 pages
Here Are 1000 MCQs On C
PDF
No ratings yet
Here Are 1000 MCQs On C
18 pages
Pynux Soft Solutions
PDF
No ratings yet
Pynux Soft Solutions
2 pages
California Baptist University, Online & Professional Studies
PDF
No ratings yet
California Baptist University, Online & Professional Studies
9 pages
Pfmcqs
PDF
No ratings yet
Pfmcqs
8 pages
Programming Fundamentals Exit Exam (2)
PDF
No ratings yet
Programming Fundamentals Exit Exam (2)
11 pages
1689859607C++ Programming
PDF
No ratings yet
1689859607C++ Programming
9 pages
Bankprogramming
PDF
No ratings yet
Bankprogramming
20 pages
C++ Q&A
PDF
No ratings yet
C++ Q&A
4 pages
OBJECT Oriented Programming Using C++: (1-MARK Questions)
PDF
No ratings yet
OBJECT Oriented Programming Using C++: (1-MARK Questions)
14 pages
C MCQ Test 2 (Imamoddin Answer)
PDF
No ratings yet
C MCQ Test 2 (Imamoddin Answer)
9 pages
C++ MCQ
PDF
No ratings yet
C++ MCQ
7 pages
OOPs Class Test - Answers
PDF
No ratings yet
OOPs Class Test - Answers
10 pages
C++ Theory Quetions
PDF
No ratings yet
C++ Theory Quetions
3 pages
C++ Learn in 24 Hours
From Everand
C++ Learn in 24 Hours
Alex Nordeen
No ratings yet
C Programming
From Everand
C Programming
Netra
No ratings yet
C++ Coding Idea with Example
From Everand
C++ Coding Idea with Example
Billy H. Green
No ratings yet
gamification (5)
PDF
No ratings yet
gamification (5)
10 pages
gamification
PDF
No ratings yet
gamification
10 pages
Research C1
PDF
No ratings yet
Research C1
3 pages
Creating Research Title
PDF
No ratings yet
Creating Research Title
12 pages
MATH Q3 M1
PDF
No ratings yet
MATH Q3 M1
5 pages
Game
PDF
No ratings yet
Game
1 page
Parallel Scan in C CUda
PDF
No ratings yet
Parallel Scan in C CUda
3 pages
6th Sem All Model
PDF
No ratings yet
6th Sem All Model
338 pages
Row Migration N Chaining
PDF
No ratings yet
Row Migration N Chaining
18 pages
Ladders and Snakes PDF
PDF
No ratings yet
Ladders and Snakes PDF
19 pages
JPL - Expt No.10 - Minor Manual
PDF
No ratings yet
JPL - Expt No.10 - Minor Manual
2 pages
Score Obtained: 82 / 100%: 1. What Will Be The Output of The Following Code Snippet? Print (2 3 + (5 + 6) (1 + 1) )
PDF
No ratings yet
Score Obtained: 82 / 100%: 1. What Will Be The Output of The Following Code Snippet? Print (2 3 + (5 + 6) (1 + 1) )
18 pages
Honeywell Model Question Paper
PDF
No ratings yet
Honeywell Model Question Paper
16 pages
RM COBOL Win 70 Manual
PDF
No ratings yet
RM COBOL Win 70 Manual
702 pages
3242394 (1)
PDF
No ratings yet
3242394 (1)
46 pages
Fundamentals Guide
PDF
No ratings yet
Fundamentals Guide
134 pages
2018 Summer CSE111 Midterm Set A v2
PDF
No ratings yet
2018 Summer CSE111 Midterm Set A v2
2 pages
DEV475 Mastering Object-Oriented Analysis and Design With UML 2.0
PDF
100% (1)
DEV475 Mastering Object-Oriented Analysis and Design With UML 2.0
2 pages
Pascal Program
PDF
No ratings yet
Pascal Program
7 pages
Finding Optimal Locations of New Stores Using DO - Ipynb
PDF
No ratings yet
Finding Optimal Locations of New Stores Using DO - Ipynb
12 pages
BABTWR
PDF
No ratings yet
BABTWR
2 pages
Become An Automation Tester Roadmap (With Selenium + Java)
PDF
No ratings yet
Become An Automation Tester Roadmap (With Selenium + Java)
1 page
Instructions Language of The Computer
PDF
No ratings yet
Instructions Language of The Computer
93 pages
Os Lab Manual
PDF
No ratings yet
Os Lab Manual
71 pages
PL SQL Developer
PDF
No ratings yet
PL SQL Developer
3 pages
Java - Randomaccessfile: Example
PDF
No ratings yet
Java - Randomaccessfile: Example
2 pages
HCMUT Final 2009
PDF
No ratings yet
HCMUT Final 2009
9 pages
How TokuDB Fractal Tree Databases Work Presentation
PDF
No ratings yet
How TokuDB Fractal Tree Databases Work Presentation
36 pages
Department of Computing: CS 354: Compiler Construction Class: BSCS-7A
PDF
No ratings yet
Department of Computing: CS 354: Compiler Construction Class: BSCS-7A
4 pages
L20KernelSynchronizations
PDF
No ratings yet
L20KernelSynchronizations
21 pages
Shreyas Practical Doc Final
PDF
No ratings yet
Shreyas Practical Doc Final
44 pages
Code À Barre Crystal Report
PDF
No ratings yet
Code À Barre Crystal Report
19 pages
Practice Questions - Arrays
PDF
No ratings yet
Practice Questions - Arrays
2 pages
582final1 (1)
PDF
No ratings yet
582final1 (1)
43 pages