CS 2nd Semester Mid-Term

CS 2nd Semester Mid-Term

10th Grade

15 Qs

quiz-placeholder

Similar activities

java

java

10th Grade

15 Qs

Python Objects and Recursion

Python Objects and Recursion

10th Grade

14 Qs

Java OOP Examples and Definitions

Java OOP Examples and Definitions

12th Grade

17 Qs

object oriented programming

object oriented programming

11th Grade - University

10 Qs

Python Classes Quiz

Python Classes Quiz

9th - 12th Grade

15 Qs

Computer Science - Python

Computer Science - Python

9th - 12th Grade

15 Qs

OOP

OOP

9th - 12th Grade

10 Qs

Object Oriented Programming in Python

Object Oriented Programming in Python

12th Grade

12 Qs

CS 2nd Semester Mid-Term

CS 2nd Semester Mid-Term

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Lawrence Smith

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 8 pts

What does Dot Notation do in programming?

Separates a reference variable from a method

Combines two methods

Initializes a variable

Updates a loop variable

2.

MULTIPLE CHOICE QUESTION

30 sec • 8 pts

Fill in the blank: A ______ is a group of statements that are grouped together to perform a task when called.

Method

Object

Instance

Loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 8 pts

What is a Reference Variable?

A variable that holds reference of an object

A method that performs a task

An instance of a class

A control structure.

4.

MULTIPLE CHOICE QUESTION

30 sec • 8 pts

What is a Loop in programming?

A) A control structure that allows you to repeat a block of code

B) A method that performs a task

C) A variable that holds reference of an object

D) An instance of a class.

5.

MULTIPLE CHOICE QUESTION

30 sec • 8 pts

Fill in the blank: ______ is the process of assigning a value to a variable before the loop executes.

A) Initialization

B) Iteration

C) Update

D) Condition

6.

MULTIPLE CHOICE QUESTION

30 sec • 8 pts

What is a Condition in programming?

A Boolean expression that is checked to determine whether or not the loop will execute

A group of statements

A control structure

An instance of a class

7.

MULTIPLE CHOICE QUESTION

30 sec • 8 pts

What does a 'Function' do in programming?

Returns a value

Does not return a value

Used inside classes

Passed to a function when called.

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?