Warm Up - CAI711

Quiz
•
Computers
•
11th - 12th Grade
•
Easy
Ayesha Abdullah
Used 28+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following code segments is the proper declaration of a constant?
Name = “Hamad”
let name = “Hamad”
var name = “Hamad”
name : “Hamad”
let “Hamad” = name
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is ignored by the playground and does not affect how your code run?
Functions
Loops
Comment
Variables
Constants
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
let x = 2
let y = 3
let z = 4
let result = (x + y) * z
What is the value of result after running the above code?
12
14
16
18
20
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Explain why would the below statement show an error?
Print(“ This Exam is Easy”)
Braces are to be placed around the text instead of brackets
The text should be surrounded by single quotes.
Print keyword should start with a small p.
Square brackets should be placed around the text.
The Println keyword should replace the Print keyword
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the below code segment?
let coursecode = 74
print ("Welcome to App Development course code CSC\(coursecode) ")
coursecode = 75
Welcome to App Development course code CSC74
Welcome to App Development course code CSC\74
Welcome to App Development course code CSCcoursecode
Welcome to App Development course code CSC75
Code will return an error message
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following signs is used for multiplication?
+
x
*
$
^
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is an assignment in programming?
I. // Update the variable value
II. let numberOfSodas = 7
III. 4 + 6 + 9
I only
II only
III only
I and III only
I, II and III
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Quiz on String

Quiz
•
12th Grade
10 questions
Fundamentals of Computing - Unit 5 Quiz 1 Review

Quiz
•
12th Grade
12 questions
AppInventer เบื้องต้น

Quiz
•
9th - 12th Grade
12 questions
Apple Swift Coding I - Lesson 3 - 4

Quiz
•
9th - 12th Grade
10 questions
Augmented reality

Quiz
•
12th Grade
15 questions
Hangman Game - Programming Questions

Quiz
•
7th - 11th Grade
10 questions
CAD Basics

Quiz
•
5th - 12th Grade
10 questions
Python Strings

Quiz
•
12th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade