Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q1 : Consider the given shape and design a program in python to draw the shape. You must replace the * in the shape with

Q1 :

Consider the given shape and design a program in python to draw the shape. You must replace the * in the shape with the last digit of your student id and the # with the second last digit of your student id.

Shape:

*

* #*

* ##*

* ###*

* ####*

*#### *

*### *

*## *

*# *

*

Q2 :

Consider an application of a simple calculator which has basic operations add, subtract, multiply and divide. The application is based on a console based user interface which first asks user for the operation to perform as mentioned above and then ask for the two numbers to solve. Then the application will show the final result of the operation. The separate functions should be designed for each operation. Store all the functions in a module and use that module in the application. Implement the above scenario in Python.

Q3 :

Consider a system which has low resources (memory and CPU) and you have to design an application for it. The application will give the cubes of the numbers starting from 1 and ending to a number given by user. The application will have a console based user interface. Only the end limit will be taken input from user at the start of the application. The application is designed to do the calculations only when needed so that the usage of the resources of the system like memory and processing can be minimized. Implement the above scenario using Python.

Q4 :

Suppose you have two sequences of 10 elements and you have to add them. The addition must be in such a way that each element of the first sequence will be added to the respective element of the other sequence one by one. The sequences will be taken input from user at the start and then the system will give the addition of both the sequences. You have to design an application in python to implement the above scenario. You must use the anonymous function for addition to simplify the task.

Q5 :

Suppose you an employee of a software house and you are given a task to design a network based application for a company which is Internet Service Provider. The application can provide communication between a customer care person and a customer. The customer can send his queries using the application at his end and the sales person will receive the queries and resolve them at his end. A feedback is given to customers that their query is resolved. Implement the above scenario using python and design a console based application.

Q6:

Consider an attendance management system which is designed to manage presence of students. A console based user interface will ask for two options at the start screen. Option one for adding the attendance of the student. Option two for viewing the attendance of the students. Adding attendance will add student id, date and attendance status (P/A). Viewing attendance will ask for student id and will give the detail of the attendance of that student. The given data will also be stored in the secondary storage in standard JSON format. The previously stored data will be reloaded in the program on start. Design an application for the above scenario in Python.

Q7:

A school is managing the marks of the students using a system. The system is based on console based user interface. The system will ask for adding the marks of five subjects, student name and student id. The system will also add a column of total marks and percentage. All the data will be stored permanently in the file with CSV format for future use. The system will be able to add a large no of students in the same file. Implement the above scenario in Python.

Q8 :

Suppose you have to designing a game which generates sequences according to the information given by user. The game will have a console based user interface which will ask the user to give the detail of the sequence to be generated. The detail asked from the user will have the start of the sequence from where the sequence will be started, the end of the sequence where the sequence will be stopped and the steps of sequence by which the numbers in the sequence will be incremented. After the user input the sequence will be generated. Implement the above scenario in Python by designing your own Iterable class.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions

Question

1. What do you want to accomplish in this meeting?

Answered: 1 week ago