Computer Programming 1 Review

Computer Programming 1 Review

University

30 Qs

quiz-placeholder

Similar activities

Office Word

Office Word

University

25 Qs

Praktek SO Redhat

Praktek SO Redhat

University

25 Qs

Round -1

Round -1

University

25 Qs

VOCABULARY - CHECK

VOCABULARY - CHECK

University

25 Qs

MSW Logo Quiz (Grade IV)

MSW Logo Quiz (Grade IV)

4th Grade - University

25 Qs

Gestión TI

Gestión TI

University

25 Qs

Interkasi Manusia Komputer

Interkasi Manusia Komputer

University

25 Qs

Java Review

Java Review

9th Grade - University

25 Qs

Computer Programming 1 Review

Computer Programming 1 Review

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Mary Rose Manipon

Used 13+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How will you import the class Reader from the java.io package?

import java;io;Reader;

import java*io*Reader;

import java.io.Reader;

import java.io_Reader;

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

This is a visual representation of a problem-solving approach that contains symbols or shapes describing how a process operates.

Algorithm

Pseudocode

Flowchart

Programming Methodology

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is used to provide explanations in a program and is ignored by the compiler?

Import Statements

Comments

Packages

Identifiers

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which best describes the main method in Java?

public static void main (String[] args){}

public static main void (String[] args){}

private static void main (String[] args){}

public void main (String[] args){}

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

This is the bug in a program that occurs when the program produces an incorrect output.

Syntax error

Logical Error

Program Error

Debug

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is NOT TRUE about naming an identifier?

It must not begin with digits.

It must not contain a dollar sign character.

It must not be a reserved word.

It must not contain white spaces.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is the argument in the following statement:
int x = rand.nextInt(10);?

rand

int x

nextInt

10

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?