unit 1,2
unit 3,4
unit 5,6
unit 7,8
unit 9
200

The integer 2307 % 2 is...

  • not an integer
  • 0
  • even
  • odd
  • negative

odd

200

The three control structures we learned about are...


  • Selection
  • Flow Charting
  • Patterning
  • Sequencing
  • Iteration
  • Backward Design


  • Sequencing
  • Iteration
  • selection
200
  • The AP Pseudocode equivalent of Python's def keyword is...



Procedure

200

. A file contains 1,000 characters stored using standard ASCII (1 byte per character).

Approximately how many bits are used to store this file?

A. 1,000 bits

B. 8,000 bits

C. 128,000 bits

D. 256,000 bits

8,000 bits

200

What is the internet 

The Internet is an interconnected network

This means it is a public network consisting of many other

independent and autonomous networks.

200

Select an incorrect variable name.


  • !data_type
  • shu_box
  • meow
  • PYTHON

!data_type

200

If myList is a list (in python), then myList.remove( i ) does which of the following?



  • removes all instances of element 'i' from myList
  • removes an element from myList at position i-1 (because indexing starts at 0)
  • removes an element from myList at position 'i'
  • removes the first instance of element 'i' from myList






  • removes the first instance of element 'i' from myList





200

A company uses crowdsourcing to label images for AI training. One way the company might handle conflicting or inconsistent labels?

:Use a voting system to choose the most popular label.

:Prioritize labels from expert users without further review.

:Aggregate data from multiple users and require a quality check for verification.

:Discard data from single users and rely on automated labeling.

Aggregate data from multiple users and require a quality check for verification.

200

What does R, G, B

Red, Green, Blue

200

True or false

The Internet uses communication protocols

Additional points explain if they have protocols what they are

True 

Protocols are agreed-upon rules that define how data is transmitted

between devices. Devices on the Internet follow common protocols

(such as TCP/IP) so they can communicate reliably and understand

one another.

350

Select the correct data type of variable x.

1   x = "1 + 1 = Two"



  • string
350

range(9) includes all of the following numbers:


  • integers 1 through 9, excluding 9
  • integers 1 through 9, inclusive
  • integers 0 through 9, excluding both endpoints
  • integers 0 through 9, inclusive
  • integers 0 through 8, inclusive
  • integers 0 through 8, inclusive
350

Which of the following functions is defined to take several arguments?


  • def elloLuv( x* )
  • def elloLuv( )
  • def elloLuv( *x )
  • elloLuv( *x )
  • def elloLuv( x )
  • def elloLuv( *x )
350

How many bits are in a 5 bytes?

40

350
What does IP stand for 

Internet Protocol.

500

what is the correct output.

1   x = 5
2   x = 5.5
3   x = 6
4   x = 10
5   print(x)

10

500

count 1 = 

count 2 = 

count 1 = 2

count 2 = 3

500

A student receives an email from their "school IT department" asking them to reset their password

by clicking a link. This might be a ____________ attempt.

phishing

500

. Smallest number of bits to make unique ID #s in binary (i.e., using 0s and 1s) for

513 students?

10

500

what is a user Datagram protocol? 

Computer applications can

send messages to other hosts on an Internet Protocol network.

500

When you divide in AP Pseudocode, you will obtain...



A float sometimes

500

what is the value after this program

i ← 1

n ← 2

REPEAT until i = 4

  {
  n ← n * 2

  i ← i + 1
  }

16

500

How many times does this code print

def main( ):
   i = 2
       while i > 0:
          print("Goodbye!")
          i += 1

   main( )


it prints forever





500

Humans have __________ types of cone cells in their eyes:

3

500

How are messages sent across the internet?

PACKETS!!!!!

M
e
n
u