diff_months: 18

HIT137 Software Now Assignment

Download Solution Now
Added on: 2022-11-18 10:01:19
Order Code: 476874
Question Task Id: 0

Question 1. In the given text file HIT137cdu.txt, programmatically count the total number of phrases: You Make CDU and Great. You Make CDU and print it in the console.

Question 2. A file concordance tracks the unique words in a file and their frequencies. Write a program that displays a concordance for the given file HIT137cdu.txt. The program should output the unique words and their frequencies in alphabetical order.

Question 3. Write your initials (First characters of your Name) using turtle graphics. For example:

Name: John Robinson Doe

Initials: JD

(Only two letters are fine)

Use the function to draw the individual letter

Question 4. CDU is a world-class university with multiple colleges focused to give quality education. All of the colleges have some similarities in terms of structure, properties, and functionalities. Using the object-oriented programming concept, can you create a College of Engineering, IT and Environment and list out the number of students, list of courses available, and building address, and print it on the screen? You can choose several students, a list of courses, and a building address of your own.

Hint: Use the concept of class & object

Button 1

Button 2

Button 3

Button 4

Question. Write a program that accepts the user's name (as text) and age (as a number) as input. The program should output a sentence containing the user's name and age.

Question. Write a python program that can compute the Fibonacci sequence of a given number from the user. The results should be printed in a comma-separated sequence on a single line.

Input number: 6

Output: 0, 1, 1, 2, 3, 5

Question. Define a python class that receives a series of numbers from the user and allows the user to press the q key to indicate that he or she is finished providing inputs. After the user presses the q key, the program should call another python class to print the sum of the numbers and their average.

Question. Write a program that accepts a range of input from the user and checks whether the input data is sorted or not. If the data series is already sorted your program should print True or should print False otherwise.

You should not use any sort of function for this program.

Input:

How many numbers do you want to input: 3 # user input 3

Input the number: 5

Input the number: 2

Input the number: 7

Output:

False

Question. Write a script named copyfile.py. This script should prompt the user for the names of two text files. The contents of the first file should be input and written to the second file.

Question. Define a function that receives one alphanumeric word as a string and computes the sum of the numeric values placed in the word and prints it in the console.

Question. A file concordance tracks the unique words in a file and their frequencies. Write a program that displays a concordance for a file. The program should output the unique words and their frequencies in alphabetical order.

Question 8. Write a simple student status program using python that has four options:

  1. View Student Contact (email and telephone)
  2. View enrolment status (enrolled / not enrolled)
  3. View Student Grade
  4. Quit.

You must implement classes and objects for this program.

Question. Define a function drawCircle. The function should expect a Turtle object, the coordinates of the circle's center point, and the circle's radius as arguments, and finally, the function should draw the specified circle.

Question. Given an array of data:

array1

15

50

5

21

1

12

  • Write the code for the bubble sort to sort the data and draw a table showing how the data is sorted using bubble sort.
  • Write the code for the Binary search algorithm to find the value 15 from the sorted array. Draw the tree diagram showing the binary search of the list.

Question 5

Create a python window containing a grid of 2x2 buttons. In that window, place 4 buttons that have 4 different functionalities:

  1. Button 1: Pressing Button 1 will print a random integer number.
  2. Button 2: Pressing Button 2 will print a random float number
  3. Button 3: Pressing Button 3 will print a random lowercase word containing a-z
  4. Button 4: Pressing Button 4 will print a random uppercase word containing A-Z

The example window will look like this:

Button 1

Button 2

Button 3

Button 4

 

Question 3

Write your initials (First characters of your Name) using turtle graphics. For example:

Name: Yuba Raj Panta

Initials: YP

(Only two letters are fine)

Our IT Computer Science Expert has solved this IT Computer Science Assignment at Exam Question Bank. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well-trained to follow all marking rubrics & referencing Styles. Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turn tin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

  • Uploaded By : Katthy Wills
  • Posted on : November 18th, 2022
  • Downloads : 0
  • Views : 137

Download Solution Now

Can't find what you're looking for?

Whatsapp Tap to ChatGet instant assistance

Choose a Plan

Premium

80 USD
  • All in Gold, plus:
  • 30-minute live one-to-one session with an expert
    • Understanding Marking Rubric
    • Understanding task requirements
    • Structuring & Formatting
    • Referencing & Citing
Most
Popular

Gold

30 50 USD
  • Get the Full Used Solution
    (Solution is already submitted and 100% plagiarised.
    Can only be used for reference purposes)
Save 33%

Silver

20 USD
  • Journals
  • Peer-Reviewed Articles
  • Books
  • Various other Data Sources – ProQuest, Informit, Scopus, Academic Search Complete, EBSCO, Exerpta Medica Database, and more