GoConqr has a new look! Let us know what you think.

Quiz

Midterm cs8

Ержан Шынгаев 33 questions

Take the quiz

This quiz has question types that open in the usual player.

Questions in this quiz (33)

  1. 1
    [blank_start]Information[blank_end] – structured, meaningful facts
    Word document (.docx)
    [blank_start]Data[blank_end] – raw information that must be processed to be useful
    Keyboard input
    [blank_start]Program[blank_end] – a [blank_start]program[blank_end] is set of computer instructions and related information used for solving a problem
    1. AData
    2. BInformation
    3. CProgram
    4. Dprogram
  2. 2[blank_start]Exceptions[blank_end] are errors detected during program execution
    1. AExceptions
  3. 3[blank_start]Syntax Errors[blank_end] – errors detected when attempting to parse a program (when the interpreter is converting code to instructions)
    1. ASyntax Errors
  4. 4leaving a logical operation as soon as the result is guaranteed
    1. AShort Circuiting
    2. BComparison operators
  5. 5types that store multiple data elements
    1. Asequences
    2. Blines
    3. Cfunctions
    4. Dkeywords
  6. 6In dictionaries
    A key is an immutable value used to identify a specific value in a map
    1. ATrue
    2. BFalse
  7. 7• ‘[blank_start]and[blank_end]’ is decided when the left side evaluates to False ( ‘False and X’ is never True)
    • ‘[blank_start]or[blank_end]’ is decided when the left side evaluates to True ( ‘True and X’ is always True)
    1. Aand
    2. Bor
  8. 8• [blank_start]Files[blank_end] is a named collection of information
    1. AFile
  9. 9• There are three ways to access a file
    • [blank_start]Read mode[blank_end] – just looking at a file (any number of programs can read data from different parts of the file at the same time)
    • [blank_start]Write mode[blank_end] – change data in the file (only one program can makes changes at any given time)
    • [blank_start]Append mode[blank_end] – append data to the end of the file (only one program can append at a time)
    1. ARead mode
    2. BWrite mode
    3. CAppend mode
  10. 10• The [blank_start]open()[blank_end] function attempts to open a file and return a [blank_start]file objec[blank_end]
    1. Aopen()
    2. Bfile object

Information

Description
Quiz on Midterm cs8, created by Ержан Шынгаев on 28/10/2015.
Language
English
Views
0
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?