Computer Programming 1 Review

Computer Programming 1 Review

University

30 Qs

quiz-placeholder

Similar activities

Introduction to Java

Introduction to Java

University

25 Qs

CCP1102-Java Programming-Prelim

CCP1102-Java Programming-Prelim

University

30 Qs

Pre-Test: JavaScript Fundamentals (Part 1)

Pre-Test: JavaScript Fundamentals (Part 1)

University

30 Qs

CS 211 - Midterm Review

CS 211 - Midterm Review

University

30 Qs

Q3 CH3

Q3 CH3

University

30 Qs

Java Programming

Java Programming

University

25 Qs

VAC - Java -Applets and Servlets

VAC - Java -Applets and Servlets

University

25 Qs

programming quiz

programming quiz

University

25 Qs

Computer Programming 1 Review

Computer Programming 1 Review

Assessment

Quiz

Computers

University

Hard

Created by

Mary Rose Manipon

Used 13+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?