A merican school of ulaanbaatar ap computer science principals mock exam questions


Download 33.28 Kb.
bet1/2
Sana30.04.2023
Hajmi33.28 Kb.
#1403276
  1   2
Bog'liq
MOCK TEST


A MERICAN SCHOOL OF ULAANBAATAR

AP COMPUTER SCIENCE PRINCIPALS MOCK EXAM QUESTIONS

C ANDIDATE
NAME

C ANDIDATE
ID


1 hour 20 min



DATE EXAM DURATION

You must answer on the question paper.
No additional materials are needed.

INSTRUCTIONS

  • Answer all questions.

  • Use a black or dark blue pen.

  • Write your name, centre number and candidate number in the boxes at the top of the page.

  • Write your answer to each question in the space provided.

  • Do not use an erasable pen or correction fluid.

  • Do not write on any bar codes.

  • You may use an HB pencil for any diagrams, graphs or rough working.

  • Calculators must not be used in this paper.






TOTAL MARK



CANDIDATE MARK



  1. One of the colors used in the image has the hexadecimal color code:

#FC238A
FC is the amount of red, 23 is the amount of green and 8Ais the amount of blue in the color.
Convert the hexadecimal code FC into denary.





  1. The amount of green in binary is 00100011. This has the denary number 15 added to it

To create a second color.
Add the denary number 15to the binary number 00100011 and give your answer in
binary.
Perform the addition in binary. Show your working.





  1. One method of data compression is known as run length encoding (RLE).

  1. Explain what is meant by RLE.

  2. Show how RLE would be used to produce a compressed file for the image below.

Write down the data you would expect to see in the RLE compressed
format (you may assume that the grey squares have a code value of 85
and the white squares have a code value of 255).



  1. Wilbur scans a hand drawn image. The scanned image uses 8 bits to store the colour for

each pixel. The image is 2048 pixels wide by 1024 pixels high.
Calculate an estimate of the file size of the scanned image. Give your answer rounded to
the nearest MB. Show your working.



  1. You need to upload a video that you have created to a website


Justification………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………

  1. Melinda mainly uses the internet to watch films and play computer games.

Tick () one box to identify whether Melinda should connect to the router using a wired or wireless network and justify your choice.

Justification.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
7. The router has an IPv4 address.
Give three differences between the format of an IPv4 address and an IPv6 address.
1................................................................................................................................................................................................................................................................................................................................................................................................
2................................................................................................................................................................................................................................................................................................................................................................................................
3................................................................................................................................................................................................................................................................................................................................................................................................
8. Ava needs to view a website and she knows the Uniform Resource Locator (URL).
Complete the series of steps that take place.
Write the letter of the appropriate statement in each space.

1 ..................................................
2 Web browser sends URL to Domain Name Service (DNS)
3 ..................................................
4 ..................................................
5 DNS returns IP address to web browser
9. An IPv4 address has been entered as
Download 33.28 Kb.

Do'stlaringiz bilan baham:
  1   2




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling