LessonQuizzes

LessonQuizzes - Week2 Quizzes (Aug30- Sept1) L4 Quiz 1 Why...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Week2 Quizzes (Aug30- Sept1) L4 Quiz 1 Why do computers store all information as binary numbers? (A) This is easier to use than base 10 numbers. (B) This requires no translation of data after it is entered by the user. (C) This only requires 2 memory states. (D) This helps memories be small. L4 Quiz 2 The Central Processing Unit (CPU) does all the following except.... (A) Fetches instructions and data from memory (B) Stores large quantities of data (C) Performs computations on the data based on the instructions (D) Sends results to output devices L5 Sept 8 th Why def is not a valid Python name? A) the name is too short B) the name contains only lower case characters C) def is a Python reserved word L6 Sept. 8 th A color is gray when: A) the red component is the same as the green one B) the red component is the same as the blue one C) the blue component is the same as the green one D) all the components have the same value L7 Sept. 15 th Which of the following assertion about pictures is false? A) A picture has two dimensions: Width and Height B) A picture is the main memory representation of an image file C) A picture is a matrix of pixels D) A picture is a matrix of colors L8 Sept. 20 th Consider the following function: def decreaseRed(pict): allPixels = getPixels(pict) for p in allPixels: value = getRed(p) setRed(p, value*0.5) Which of the following statements about it is false : A) you must load the function in the JES command area before executing it...
View Full Document

Page1 / 20

LessonQuizzes - Week2 Quizzes (Aug30- Sept1) L4 Quiz 1 Why...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online