- Study guides, Class notes & Summaries

Looking for the best study guides, study notes and summaries about ? On this page you'll find 17 study documents about .

All 17 results

Sort by:

Cmpsc 101 midterm Exam #1 Questions with Correct Answers
  • Exam (elaborations)

    Cmpsc 101 midterm Exam #1 Questions with Correct Answers

  • Cmpsc 101 midterm Exam #1 Questions with Correct Answers
  • Winston56
    €11,76 More Info
CMPSC 101 MIDTERM 1 EXAM 2025  BRAND NEW ACTUAL EXAM WITH 100%  VERIFIED QUESTIONS AND CORRECT  SOLUTIONS| ACE YOUR GRADES.
  • Exam (elaborations)

    CMPSC 101 MIDTERM 1 EXAM 2025 BRAND NEW ACTUAL EXAM WITH 100% VERIFIED QUESTIONS AND CORRECT SOLUTIONS| ACE YOUR GRADES.

  • CMPSC 101 MIDTERM 1 EXAM 2025 BRAND NEW ACTUAL EXAM WITH 100% VERIFIED QUESTIONS AND CORRECT SOLUTIONS| ACE YOUR GRADES.
  • Savvynurse
    €14,47 More Info
CMPSC 101 CORRECT QUESTIONS & ANSWERS(SCORED A+)
  • Exam (elaborations)

    CMPSC 101 CORRECT QUESTIONS & ANSWERS(SCORED A+)

  • x = 125 y = x/5 print(x,y) x= 100 print(x,y) - ANSWER125 25.0 100 25.0 **when x changes it doesn't change y** Global Variable - ANSWERa variable defined outside of a function or class and can be used at any point following their definition in the script how long to local variables last - ANSWERremain active during the function call and when the function comes to an end it does as well return - ANSWEREnds execution of a method and possibly returns a value of a result float ...
  • papersbyjol
    €13,57 More Info
CMPSC 101 - QUIZ #1 CORRECT 100%
  • Exam (elaborations)

    CMPSC 101 - QUIZ #1 CORRECT 100%

  • Algorithm - ANSWERa step-by-step procedure for solving a problem Mnenomics - ANSWERsymbols which are easier to read and interpret than machine code; easier to work with than machine code Assembly language - ANSWERa low-level symbolic code converted by an assembler. Low level language - ANSWERa programming language that is designed to be easy for a computer to execute; also called machine language or assembly language. High level language - ANSWERa programming language that is designe...
  • papersbyjol
    €12,21 More Info
CMPSC 101 EXAM 2 QUESTIONS & ANSWERS(RATED A+)
  • Exam (elaborations)

    CMPSC 101 EXAM 2 QUESTIONS & ANSWERS(RATED A+)

  • Branching - ANSWERdirects a program to execute either one group of statements or another Function - ANSWERPredefined set of code that takes in Input and produces some sort of Output Function Cell - ANSWERfunctionName(argument1, argument2, ...) List - ANSWERA collection of values grouped together Why use lists? - ANSWERWhen you have lots of variables that store related information List examples - ANSWERmyList = [] myList = [1,2,3,4] myList = list('Hello World') How to ac...
  • papersbyjol
    €13,12 More Info
CMPSC 101 EXAM 1 CORRECT 100%
  • Exam (elaborations)

    CMPSC 101 EXAM 1 CORRECT 100%

  • char lettler; - ANSWERletter = 'z'; What is the output of this statement? cout << 4 * (15 / (1 + 3)) <<endl; - ANSWER12 An integrated development environment typically consists of: - ANSWERDebugger, text editor, compiler A _________ is a diagram that shows the logical flow of a program - ANSWERflowchart
  • papersbyjol
    €11,31 More Info
CMPSC 101 MIDTERM EXAM 1 QUESTIONS & ANSWERS(RATED A+)
  • Exam (elaborations)

    CMPSC 101 MIDTERM EXAM 1 QUESTIONS & ANSWERS(RATED A+)

  • What command should you type in the interpreter to check your Python installation? - ANSWERpython What do you call a saved file containing Python instructions? - ANSWERA module How can you write the expression "n = n * 2" using short-hand operators? - ANSWERn *= 2 Which string function do you call when you want to convert the first letter in the string to uppercase? - ANSWERalize() Which function do you call to check the number of items in a list? - ANSWERlen() Which operato...
  • papersbyjol
    €12,66 More Info
CMPSC 101 FINAL CORRECT 100%
  • Exam (elaborations)

    CMPSC 101 FINAL CORRECT 100%

  • What is the output of the following program? v1 = 9 v2 = 8 v3 = 7 print("BEGIN") if (v1 < 10) or (v2 > 3): print("A") if (v1 > 10) and (v2 > v3): print("B") print("END") - ANSWERBEGIN A END Which of the following options is guaranteed to always give you the opposite Boolean value of (v1 < v2) and (v2 > v3) ? - ANSWER(v1 >= v2) or (v2 <= v3) What is the output of the following program? for x in range(5): print(x, end=","...
  • papersbyjol
    €12,21 More Info
CMPSC 101 EXAM 1 ACCURATE 100%
  • Exam (elaborations)

    CMPSC 101 EXAM 1 ACCURATE 100%

  • What does the "float" function do? - ANSWERUsing float allows the input to be converted to a decimal when needed for a calculation. If you want to round your value to a certain decimal place when inside the print statement, how would you go about it? - ANSWERprint (f'{x : .2f} {y : .2f} {z : .2f}') this will print the values all rounded to 2 decimal places When you add these two lists together, what are the results? vec1 = [1, 2, 3] vec2 = [0, 1, -1] - ANSWER[1, 2, 3, 0,...
  • papersbyjol
    €14,02 More Info
Make study stress less painful
Study stress? For sellers on Stuvia, these are actually golden times. KA-CHING! Earn from your study resources too and start uploading now.