AP CS A Unit 1 Test Review

AP CS A Unit 1 Test Review

9th - 12th Grade

34 Qs

quiz-placeholder

Similar activities

Python Quiz II

Python Quiz II

9th Grade - University

30 Qs

Python intro

Python intro

8th - 12th Grade

32 Qs

C++: ciklas FOR

C++: ciklas FOR

11th - 12th Grade

32 Qs

ATS K9

ATS K9

9th Grade - University

30 Qs

Câu hỏi ôn tập môn Tin học HK1 - Lớp 5

Câu hỏi ôn tập môn Tin học HK1 - Lớp 5

5th Grade - University

37 Qs

ÔN TẬP BÀI TOÁN VÀ THUẬT TOÁN

ÔN TẬP BÀI TOÁN VÀ THUẬT TOÁN

10th Grade

30 Qs

Job roles in the media industry

Job roles in the media industry

11th Grade

35 Qs

ULANGAN HARIAN  DATA AWAL

ULANGAN HARIAN DATA AWAL

12th Grade

30 Qs

AP CS A Unit 1 Test Review

AP CS A Unit 1 Test Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Scott Chamberlain

Used 11+ times

FREE Resource

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which is NOT a function of the Java compiler?

Checks comments for grammar and spelling

Validates syntax of program code

Translates code to machine language

Links in external libraries

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the origin of the term "computer bug"?

It was named after Computer science pioneer Grace Hopper ("grasshopper")

The first bug was found by a programmer who drove a Volkswagen Beatle

Finding computer bugs makes programmers nauseous (stomach bug)

A moth shorted out the early Mark II computer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the println method do differently than print?

Sends output to a printer

Keeps output on the current line

Forces output to the next line

Allows you to omit quotation marks

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct syntax for defining a new Scanner variable?

Scanner scan = new Scanner(System.in);

System.in.scan(Scanner);

Scanner = new.scan.System;

scan = System.in.nextScan();

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Java?

first name

99problems

print

a_1_sauce

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assuming that n is a variable for someone's name, which of the following commands is correct?

System.out.println("Happy Birthday n");

System.out.println("Happy Birthday + n");

System.out.println("Happy Birthday " & n);

System.out.println("Happy Birthday " + n);

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which term refers to the possible values that can be stored in a variable?

domain

function

sequence

range

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?

Discover more resources for Computers