Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AP Computer Science A Multiple Choice 1

Total questions: 10

Worksheet time: 30mins

Name
Class
Date
1.
a)

2010

b)

2010105

c)

2010510

d)

20102010

e)

20101020

2.

a)

The sum of all the integers greater than y but less than or equal to x

b)

The sum of all the integers greater than or equal to y but less than or equal to x

c)

The sum of all the integers greater than y but less than x

d)

The sum of all the integers greater than y but less than or equal to x

e)

The sum of all the integers less than y but greater than or equal to x

3.
a)

0123

b)

00123

c)

0010012

d)

00100123

e)

001001200100123

4.
a)

1 4 10 2 3 4 7 5

b)

1 2 4 6 10 7 3 5

c)

1 2 3 10 6 7 4 5

d)

4 3 1 2 6 7 10 5

e)

6 3 7 4 2 1 10 4

5.
a)

1 1 2 3 4 5 6

b)

2 2 3 4 5 6 7

c)

6 6 5 4 3 2 1

d)

7 7 6 5 4 3 2

e)

7 7 7 7 7 7 7

6.
a)

Mail m = p[10].getBox (57) .getmail (4);

b)

Mail m = p[9].getBox (56).getMail(3);

c)

Mail m = p.geMail (57) .getMail (4) [10];

d)

Mail m = getMail (getBox (p[9], 560, 3)

e)

Mail m = new Mail (10, 57,.4);

7.
a)
b)
c)
d)
e)
8.
a)

I only

b)

II only

c)

III only

d)

I and II only

e)

II and III only

9.
a)

A

b)

D

c)

ABD

d)

ABCD

e)

ABCDE

10.
a)

-2 -1 0

b)

-2 -1 0 1 2

c)

0 1 2 0 1 2 0 1 2

d)

-2 0 2

e)

-2 -1 0 0 1 2 2 3 4