Computer Science, asked by shrey9868, 4 months ago

Write a menu driven program in Python to store the
details of School Assembly for 5 days. Also, generate
useful reports.

Answers

Answered by ltzSweetAngel
1

Answer:

Explain the dependencies between hardware and software

Describe the form and the function of computer programming languages

Create, modify, and explain computer programs following the input/process/output pattern.

Form valid Python identifiers and expressions.

Write Python statements to output information to the screen, assign values to variables, and accept information from the keyboard.

Read and write programs that process numerical data and the Python math module.

Read and write programs that process textual data using built-in functions and methods.

Computer Hardware Architecture

Before we start learning a programming language to give instructions to computers to develop software, we need to learn about how computers are built. If you were to take apart your computer or cell phone and look deep inside, you would find the following parts:

Figure 10: Computer Hardware Architecture

The high-level definitions of these parts are as follows:

The Central Processing Unit (or CPU) is the part of the computer that is built to be obsessed with “what is next?” If your computer is rated at 3.0 Gigahertz, it means that the CPU will ask “What next?” three billion times per second.

The Main Memory is used to store information that the CPU needs in a hurry. The main memory is nearly as fast as the CPU. But the information stored in the main memory vanishes when the computer is turned off.

The Secondary Memory is also used to store information, but it is much slower than the main memory. The advantage of the secondary memory is that it can store information even when there is no power to the computer. Examples of secondary memory are disk drives or flash memory (typically found in USB sticks and portable music players).

Similar questions