Search Header Logo

Programming Language Subset (PLS) Document Quiz

Authored by CEC Computing

Computers

9th Grade

Used 2+ times

Programming Language Subset (PLS) Document Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

62 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What character is used to indicate a comment in the PLS programming language?

/

#

'

//

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What PLS data type corresponds to a sequence of characters?

int

float

str

bool

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which PLS data type is used to represent a sequence of items with mixed (heterogeneous) data types?

string

array

record

list

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the arithmetic operator for exponentiation in programming?

*

/

**

%

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which relational operator is used to check if two values are not equal?

==

<=

!=

>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the logical operator 'and' do?

Returns true if either side of the test is true

Returns true if both sides of the test are true

Inverts the result of the test

Compares two values to see if they are equal

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the modulus operator '%' when used with two integers?

The result of division

The remainder of the division

The product of the two numbers

The sum of the two numbers

Access all questions and much more by creating a free account

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

Already have an account?