Warm Up - CAI711

Warm Up - CAI711

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

For Loops

For Loops

9th - 12th Grade

10 Qs

Code.org Unit 3 Review

Code.org Unit 3 Review

9th - 12th Grade

8 Qs

Unit 1 Review AP CSP

Unit 1 Review AP CSP

9th - 12th Grade

10 Qs

Python Functions 1

Python Functions 1

12th Grade

12 Qs

Scope of Variables in Python

Scope of Variables in Python

1st Grade - Professional Development

15 Qs

APCSP 3.7 Debugging

APCSP 3.7 Debugging

9th - 12th Grade

10 Qs

Python Strings

Python Strings

12th Grade

10 Qs

For Loop

For Loop

9th - 12th Grade

10 Qs

Warm Up - CAI711

Warm Up - CAI711

Assessment

Quiz

Computers

11th - 12th Grade

Easy

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?