Pseudocode Rules Quiz

Pseudocode Rules Quiz

11th Grade

15 Qs

quiz-placeholder

Similar activities

Data Type

Data Type

7th - 12th Grade

20 Qs

Pseudocode - Variables, I/O, SELECTION

Pseudocode - Variables, I/O, SELECTION

10th - 11th Grade

18 Qs

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

Java String class methods

Java String class methods

10th - 12th Grade

10 Qs

BenchmarkI RetestPractice - CMPI

BenchmarkI RetestPractice - CMPI

9th - 12th Grade

10 Qs

10.1 Data Types and Records Cambridge iAS 9618

10.1 Data Types and Records Cambridge iAS 9618

11th Grade

20 Qs

Python Strings

Python Strings

11th Grade

10 Qs

STRINGS

STRINGS

11th Grade

10 Qs

Pseudocode Rules Quiz

Pseudocode Rules Quiz

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Matthew Wemyss

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a constant in pseudocode?

MAX_TRIES CONSTANT = 5

CONSTANT MAX_TRIES <- 5

CONSTANT : MAX_TRIES = 5

DECLARE MAX_TRIES : CONSTANT = 5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name according to the pseudocode rules?

student@name

student name

student-name

studentName

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the LENGTH function do in pseudocode?

Returns the number of characters in a string

Returns a substring of a string

Returns the first character of a string

Returns the last character of a string

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for string concatenation in pseudocode?

&&

+

&

||

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How are comments added in pseudocode?

// This is a comment

-- This is a comment

# This is a comment

/* This is a comment */

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a basic data type in pseudocode?

INTEGER

OBJECT

LIST

MAP

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the MID function in pseudocode?

Returns the middle character of a string

Returns the last character of a string

Returns the first character of a string

Returns a substring starting at a specified position

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?