1321L Practice Bank Revised.docx - Module 1 1 Write a program that prints out your name Sample output Bob Marley 2 Write a program that takes user input

1321L Practice Bank Revised.docx - Module 1 1 Write a...

This preview shows page 1 - 3 out of 6 pages.

Module 1 1.Write a program that prints out your name. 2.Write a program that takes user input to display their name. Sample input: Bob Marley Sample output: Bob Marley Module 2 1.Write a program that takes outputs a string, an integer and a floating-point number separated bycommas. 2.Write a program that asks the user for a string of letters of any size (no spaces), and finally a special character (values 33 to 47 in the Ascii table, or ‘!’ to ‘/’). Generate a random number of any size, integer or floating point, and combine those three pieces of information (in any order) to create a password and display that out to the user.
Image of page 1
Module 3 1.Write a program that determines whether you will eat at your favorite fast food restaurant todayand displays the choice. Assume that you have a 50% chance of eating there today.Sample output: You will eat at a fast food restaurant today.orSample output: You will not eat fast food today.1.Write a program that lets you play the computer in rock paper scissors. The computer uses a 1 Module 4
Image of page 2
Image of page 3

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture