SPM Computer Science Practice Exam

SPM Computer Science Practice Exam

4th Grade

36 Qs

quiz-placeholder

Similar activities

Ms word and Msw logo test

Ms word and Msw logo test

1st - 5th Grade

35 Qs

Pokemon

Pokemon

1st - 12th Grade

35 Qs

AI COURSE

AI COURSE

4th Grade

40 Qs

Windows 10 Configuration

Windows 10 Configuration

1st - 10th Grade

35 Qs

SECTION A

SECTION A

KG - University

40 Qs

Animation Quiz :)

Animation Quiz :)

4th Grade

41 Qs

Computer Systems

Computer Systems

4th Grade

35 Qs

Database Questions

Database Questions

KG - Professional Development

31 Qs

SPM Computer Science Practice Exam

SPM Computer Science Practice Exam

Assessment

Quiz

Computers

4th Grade

Hard

Created by

NURUL Moe

FREE Resource

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

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?