Michael Jardine
Quiz by , created more than 1 year ago

Week 02: Variables, Expressions Lecture 03: Variables and Expressions subtitle: Storing and manipulating information in memory

2
0
0
Michael Jardine
Created by Michael Jardine almost 6 years ago
Close

INFO L03 (w02-1) - Variables and Expressions

Question 1 of 4

2

'Bit' means 'Binary digit'. A contains .

Drag and drop to complete the text.

    Bit
    Byte
    1
    2
    4
    8
    256
    Bits
    Bytes

Explanation

Question 2 of 4

1

A pair of Hexadecimal numbers would take up how many bits to express in binary (assuming no leading zeros or anything)?

Select one of the following:

  • 1

  • 2

  • 4

  • 8

  • 16

  • 256

Explanation

Question 3 of 4

1

Generally (not just specifically in Python), the order of the following three steps is:
1.
2.
3.

Drag and drop to complete the text.

    Declare
    Initialise
    Use

Explanation

Question 4 of 4

1

True or False:
An integer is immutable.

Select one of the following:

  • True
  • False

Explanation