Search Header Logo

SPM Computer Science Practice Exam

Authored by NURUL Moe

Computers

4th Grade

SPM Computer Science Practice Exam
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

36 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Arrange the following Java statements to display the username in the correct order.

public static void main (String[] args)

System.out.println("Hello " + name);

String name = new java.util.Scanner(System.in).nextLine();

System.out.print("Enter username:");

2.

OPEN ENDED QUESTION

3 mins • 1 pt

Name the features of the variable shown in the diagram.

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

State the data type for the following statements.

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Complete the operator in line 5 of the Java program using relational and logical operators.

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

State the type of control structure for P, Q, and R shown in the diagram.

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 1 pt

Identify the type of error based on the characteristics provided.

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

Based on Table 2, name X and Y.

Evaluate responses using AI:

OFF

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?