Study guides, Study notes & Summaries

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

Page 4 out of 43 results

Sort by

Python Programming: An Introduction to Computer Science John M. Zelle, Ph.D. Preliminary Second Edition Fall 2009
  • Python Programming: An Introduction to Computer Science John M. Zelle, Ph.D. Preliminary Second Edition Fall 2009

  • Exam (elaborations) • 416 pages • 2024
  • Python Programming: An Introduction to Computer Science John M. Zelle, Ph.D. Preliminary Second Edition Fall 2009
    (0)
  • R545,39
  • + learn more
EST FOR WITH CORRECT SOLUTIONS  PYTHON PROGRAMMING: CHAPTERS  1-4
  • EST FOR WITH CORRECT SOLUTIONS PYTHON PROGRAMMING: CHAPTERS 1-4

  • Exam (elaborations) • 6 pages • 2023
  • Available in package deal
  • TEST FOR WITH CORRECT SOLUTIONS PYTHON PROGRAMMING: CHAPTERS 1-4 computer - CORRECT ANWERS-a machine that stores and manipulates information under the control of a changeable program software - CORRECT ANWERS-computer programs hardware - CORRECT ANWERS-the physical components of a computing system programming - CORRECT ANWERS-the process of creating a computer program to solve some problem algorithm - CORRECT ANWERS-a detailed sequence of steps for carrying out some process; a rec...
    (0)
  • R155,69
  • + learn more
Python_Programming_FinalExam
Python_Programming_Week7
  • Python_Programming_Week7

  • Exam (elaborations) • 3 pages • 2023
  • Available in package deal
  • 1. Write a Python program “Lab7B.py” to complete the following: • Define a method/function randoms_to_file(n, n1, n2, filename) such that n random integers (positive or negative) in the range of [n1, n2] are generated and will be written to the file with the name of “filename”. • Define a method/function read_file_and_process() such that: o Prompt for a filename of file to be opened for inputs, you need to use while-loop with try except in case of the incorrect input of the file n...
    (0)
  • R301,83
  • + learn more
Python_Programming_Week6
  • Python_Programming_Week6

  • Exam (elaborations) • 3 pages • 2023
  • Available in package deal
  • 1. 1. After having completed the above Q1, then write a Python program “Lab6B.py” to complete the following: • Define a class Student with 3 data attributes: name, college, major o The class should have __init__ method for initiation of the above data attributes. o Define __str__ method, in this way, the object created from this class can be “printed out” giving the object information. (Hints: refer website at Define a sub-class GraduateStudent (that inherits class Student defined ...
    (0)
  • R301,83
  • + learn more
C:pythonPython Programmingweek 5
  • C:pythonPython Programmingweek 5

  • Exam (elaborations) • 3 pages • 2023
  • Available in package deal
  • 1. 1. A palindrome is a word or a phrase that reads the same way backwards as forwards. Write a function that accepts a text string as input and determines whether or not the text string is a palindrome. Then write a program “Lab5B” that uses this function. Prompt the user to enter a word or phrase and then inform the user whether or not the text entered qualifies as a palindrome. [Hint: there is a REVERSE method for a string. But to compare a string reversed this way, you need to convert to...
    (0)
  • R301,83
  • + learn more
Python_Programming_Week4
  • Python_Programming_Week4

  • Exam (elaborations) • 3 pages • 2023
  • Available in package deal
  • 1. Write a program “Lab4B” that prompts the user to enter a string and then: 1. Display the length of the string. 2. Convert all the vowels into lowercase and display the modified string. 3. Display a count of each of the vowels and the total number of vowels in the string. 4. Convert the string into list of words and display the length of the list. (Note: the input vowels may be either uppercase or lowercase letters.) 2. Write a program “Lab4B”that keeps prompting the user (unti...
    (0)
  • R301,83
  • + learn more
Python Programming_Week3
  • Python Programming_Week3

  • Exam (elaborations) • 3 pages • 2023
  • Available in package deal
  • 1. Write a program “Lab3B” that prompts the user to enter a number in the range 1 to 999.99 (inclusive) and validates the input by using while-loop. Loop until user enters: 555.55. Print the inputted number with 2 decimal places 2. Write a program “Lab3B”that creates a list of 5 integers (prompting for inputs and add to the list one by one), print the list. Then convert the list to a tuple (simply with use of the function tuple(..) ) and print the tuple in reversed order. You need...
    (0)
  • R301,83
  • + learn more