CS II--June 4th Assignment

CS II--June 4th Assignment

9th - 12th Grade

63 Qs

quiz-placeholder

Similar activities

Python Practice Quiz

Python Practice Quiz

11th Grade

60 Qs

OCR A Level Computer Science - 1.4.x

OCR A Level Computer Science - 1.4.x

12th Grade

67 Qs

Quiz ~ Dampak Sosial Informatika

Quiz ~ Dampak Sosial Informatika

9th - 12th Grade

60 Qs

9th Excel

9th Excel

9th Grade

65 Qs

CBT

CBT

11th - 12th Grade

60 Qs

Computer ٍSkills- Chapter 3

Computer ٍSkills- Chapter 3

1st Grade - University

62 Qs

BERMAIN INFORMATIKA

BERMAIN INFORMATIKA

10th Grade

60 Qs

IBCA Semester Exam Review

IBCA Semester Exam Review

KG - University

66 Qs

CS II--June 4th Assignment

CS II--June 4th Assignment

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Jian Lin

Used 2+ times

FREE Resource

63 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term for a variable declared inside a method?

method variable

local variable

global variable

private variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is scope?

the part of a program where the variable exists

a minty mouthwash

a device used to aim a projectile

a device in a submarine that is used to view the surface

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What characters denote a block?

< >

[ ]

{ }

( )

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where does a variable exist?

from when it's declared to the end of the block it's in

from when it's declared to the end of the method it's in

from when it's declared to the end of the class it's in

from when it's declared to the end of the program it's in

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What term is used to describe data passed into/out of a program?

Variable

Loop

Constant

Parameter

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about global variables?

Globals should never be used.

Globals should be used as little as possible.

JavaScript will not run code that includes globals.

Globals should be used as much as possible.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about function parameters?

Function parameters should never be used.

Function parameters are locals not globals.

Function parameters are globals not locals.

Function parameters should be used as little as possible.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?