progress test 1 prog102, Exercises of Programming Paradigms

progress test 1 nam 2021 day du nhat

Typology: Exercises

2020/2021

Uploaded on 06/10/2022

Phamdung
Phamdung 🇻🇳

12 documents

1 / 6

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
PROGRESS TEST 1
Qualification BTEC Level 5 HND Diploma in Computing
Unit number and title Prog102: Procedural Programming
Submission date May 26th, 2022
Date Received 1st
submission
Re-submission Date Date Received 2nd
submission
Student Name Pham Minh Dung Student ID GCH210642
Class GCH1103 Assessor name Lai Manh Dung
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
Student’s signature
Grading grid
P1 P2 P3 M1 M2 D1
pf3
pf4
pf5

Partial preview of the text

Download progress test 1 prog102 and more Exercises Programming Paradigms in PDF only on Docsity!

PROGRESS TEST 1

Qualification BTEC Level 5 HND Diploma in Computing Unit number and title Prog102: Procedural Programming Submission date May 26th, 2022 Date Received 1st submission Re-submission Date Date Received 2nd submission Student Name Pham Minh Dung Student ID GCH Class GCH1103 Assessor name Lai Manh Dung Student declaration I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that making a false declaration is a form of malpractice. Student’s signature Grading grid P1 P2 P3 M1 M2 D

 Summative Feedback:  Resubmission Feedback: Grade: Assessor Signature: Date: Lecturer Signature:

3. What is a CPU? What is its function? Mention its several components.

Concept: CPU stands for Central Processing Unit, is the central processing unit, is the electronic

circuit in a computer, executes the instructions of the computer program by performing arithmetic,

logical, comparison calculations. and basic data input/output operations specified by the code.

Function: - Over the years, CPU have had a lot of significant improvements and upgrades. Even so,

the basic functions of the CPU are always the same, including three steps: fetching data, decoding

instructions, and finally executing the results on the CPU.

  • The main function of the CPU is to receive input data from external connections such as a

keyboard, mouse, printer, or software programs on the computer and decode the data and

instructions. request. And finally the CPU will then output the information that appears on your

computer screen or perform the requested tasks from external devices and connections.

Ingredient:

Control Unit (CU - Control Unit)

Has the function of interpreting program instructions and controlling the processing operations of

the computer. They are precisely regulated by the system clock. If the CPU is the "brain" of the

computer, then this block is the "brain" of the CPU

Arithmetic Logic Unit (ALU)

There is a function to perform arithmetic and logical operations and then return the results to

registers (or memory).

Registers (Registers)

These are the memories located right inside the CPU with small storage capacity but high access

speed. They are used to temporarily store operands, calculation results, memory locations, or

control information.

Opcode

The part of memory that contains the CPU's machine code (optional) to be able to execute the

instructions in the executable file.

Control part

Perform block control and clock frequency control. The system clock circuit is used to synchronize

processing operations inside and outside the CPU at constant time intervals. The time interval

between two pulses is called the clock cycle. The speed that measures the number of cycles the

CPU executes per second is called the clock rate – the clock speed in millions of units per second

(MHz). This part is not required for a CPU but is mostly included in the CISC architecture.

10. What is meant by POST?