Search Header Logo

Computer Programming 1 Review

Authored by Mary Rose Manipon

Computers

University

Used 13+ times

Computer Programming 1 Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?