Computer Programming 1 Review

Computer Programming 1 Review

University

30 Qs

quiz-placeholder

Similar activities

INFORMATICA BASICA FINAL _SENATINOS

INFORMATICA BASICA FINAL _SENATINOS

University

25 Qs

Video Games

Video Games

KG - University

28 Qs

Copyrights issue

Copyrights issue

University

26 Qs

CCC4 Chapter 1 - Introduction to Computers

CCC4 Chapter 1 - Introduction to Computers

University

25 Qs

Arduino

Arduino

University

25 Qs

Advanced Game Design Midterm

Advanced Game Design Midterm

University

25 Qs

Speed Cup de Ingeniería 2021 (Eliminatoria)

Speed Cup de Ingeniería 2021 (Eliminatoria)

1st Grade - University

25 Qs

OS Quiz

OS 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

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?