Warm Up - CAI711

Warm Up - CAI711

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

1.1.5 CSE Iteration and Loops

1.1.5 CSE Iteration and Loops

9th - 12th Grade

14 Qs

Javascript

Javascript

10th - 12th Grade

15 Qs

Loops

Loops

9th - 12th Grade

10 Qs

Hangman Game - Programming Questions

Hangman Game - Programming Questions

7th - 11th Grade

15 Qs

Lessons 19 - 21 Apple Swift Coding I

Lessons 19 - 21 Apple Swift Coding I

9th - 12th Grade

11 Qs

Python Functions 1

Python Functions 1

12th Grade

12 Qs

PLTW CSE L1 Vocab P1/2

PLTW CSE L1 Vocab P1/2

9th - 12th Grade

10 Qs

Quiz on String

Quiz on String

12th Grade

15 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?