CS 2nd Semester Mid-Term

CS 2nd Semester Mid-Term

10th Grade

15 Qs

quiz-placeholder

Similar activities

DPJ5531 Revision

DPJ5531 Revision

University

12 Qs

METE280 Quiz#2

METE280 Quiz#2

University

15 Qs

4thQuarter Review Comprog 2

4thQuarter Review Comprog 2

11th Grade - University

20 Qs

OOP

OOP

University

10 Qs

Java- Session: 5-10

Java- Session: 5-10

8th - 10th Grade

10 Qs

C++ Quiz-1

C++ Quiz-1

University

15 Qs

CHAPTER 3. INTRODUCTION TO DBMS -1

CHAPTER 3. INTRODUCTION TO DBMS -1

12th Grade

10 Qs

Object Orientated 1 (Basics)

Object Orientated 1 (Basics)

12th Grade

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