
DCS1101 - Week 2 (Intro to CPP)
Presentation
•
Computers
•
University
•
Easy
Yasmin Basiran
Used 3+ times
FREE Resource
24 Slides • 22 Questions
1
2
3
Word Cloud
Name one thing you learnt last week
4
Take note of the words on the screen...
You have 30 seconds
5
Open Ended
Write down how many you can catch!
6
7
Fill in the Blanks
Type answer...
8
9
Hotspot
Which part of the code tells the compiler that the program has been run successfully?
10
11
12
Open Ended
What do you think will happen if you don't add #include<iostream> at the top?
13
14
15
16
17
18
19
20
21
Multiple Select
Select all the correct statements about variables based on the lesson.
A variable stores values used by the program
A variable must have a name, type, and value
A variable is used to display output to the user
A variable can only store numbers
22
23
24
Multiple Choice
Which of the following is a valid C++ variable name?
25
Multiple Choice
Which variable name is valid in C++?
student name
studentName
student-name
student@name
26
Open Ended
After learning about C++ syntax and basic code, what questions do you still have or what would you like to explore further about programming in C++?
27
Multiple Choice
A teacher is writing a program to take note of students. Which one is an appropriate variable name according to good programming practices?
x
a1
totalStudents
ts
28
Open Ended
What is a variable name you would write if you, the student, are storing the value of the total subjects taken in a course?
29
30
31
Multiple Choice
What is the result of 5 + 3 * 2?
32
Multiple Choice
What is the output of 7 % 3?
33
Multiple Choice
What is the value of 20 / 5 * 2?
34
Multiple Choice
What is the result of (6 + 4) / 2?
35
36
37
38
39
Multiple Choice
What is the main purpose of a program?
40
Multiple Choice
Which component is required to use cout in C++?
return 0;
int main()
string
#include <iostream>
41
Multiple Choice
What does using namespace std; allow us to do?
Write slower code
Avoid writing std:: before standard names
Include libraries
End the program
42
Multiple Choice
Which data type is best for storing a whole number?
43
Multiple Choice
What does return 0; indicate in a C++ program?
44
Multiple Choice
Which is an example of good programming practice?
45
Multiple Choice
Which of the following topics is NOT listed in the contents for the C++ introduction session?
The #include directive
Object-oriented programming
Variables and assignment statements
Arithmetic operators
46
Show answer
Auto Play
Slide 1 / 46
SLIDE
Similar Resources on Wayground
38 questions
Rhetorical Appeals and Strategies
Presentation
•
9th Grade
43 questions
DCS2103 - Week 11 (Dictionary)
Presentation
•
University
39 questions
Gerbang Logika
Presentation
•
University
38 questions
MS ACCESS
Presentation
•
University
41 questions
ITCC102-W11(SY24-25_101I)
Presentation
•
University
42 questions
Computer Review November
Presentation
•
KG - University
40 questions
WEEK 12 PRE BEGINNER 1
Presentation
•
University
40 questions
MySQL Unit 2
Presentation
•
University
Popular Resources on Wayground
15 questions
Grade 3 Simulation Assessment 1
Quiz
•
3rd Grade
22 questions
HCS Grade 4 Simulation Assessment_1 2526sy
Quiz
•
4th Grade
16 questions
Grade 3 Simulation Assessment 2
Quiz
•
3rd Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2526sy
Quiz
•
5th Grade
17 questions
HCS Grade 4 Simulation Assessment_2 2526sy
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
24 questions
HCS Grade 5 Simulation Assessment_2 2526sy
Quiz
•
5th Grade
20 questions
Math Review
Quiz
•
3rd Grade
Discover more resources for Computers
36 questions
8th Grade US History STAAR Review
Quiz
•
KG - University
25 questions
Spanish future tense
Quiz
•
10th Grade - University
55 questions
Post Malone Addtion (Tres)
Quiz
•
12th Grade - University
15 questions
Quotation Marks vs. Italics for MLA
Quiz
•
9th Grade - University
20 questions
Disney Trivia
Quiz
•
University
50 questions
AP Biology Exam Review 2017
Quiz
•
11th Grade - University
215 questions
8th Physical Science GA Milestones Review
Quiz
•
KG - University
20 questions
Ch15_review_TEACHER
Quiz
•
University