Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 74 - 2606_PlugGPT_C6_Flipbook
P. 74

    Hashtag

                           #Algorithm: Step-by-Step instructions for doing any process
                           #Flowchart: Graphical representation of an algorithm

                           REVISIT

                        ▶  An algorithm is a set of instructions designed to complete a specific task.
                        ▶  A flowchart is the graphical representation of the process and the logic used in it.
                        ▶   Low-level language is a programming language that deals with the computer’s hardware components.
                        ▶  High-level languages are considered to be closer to human beings.
                        ▶   The compiler reads an entire set of instructions written in HLL and then translates them into machine language.
                        ▶   The interpreter reads one line of instruction at a time and translates it into machine language.

                      1.  Tick ( ) the correct option.

                         a.  Which shape is used to denote the processing of input in flowchart?
                             (i)  Parallelogram                           (ii)  Circle

                            (iii)  Triangle                              (iv)  Both (i) and (ii)
                         b.  Which of the following is known as the graphical representation of an algorithm?

                             (i)  Diagram                                 (ii)  Program
                            (iii)  Flowchart                             (iv)  Loops

                         c.  Which of the following programs is used to translate assembly language into machine language?
                             (i)  Assembler                               (ii)  Compiler

                            (iii)  Interpreter                           (iv)  None of these
                         d.  Which level of programming languages deals with the computer’s hardware components?
                             (i)  Low-level language                      (ii)  Mid-level language

                            (iii)  High-level language                   (iv)  None of these

                      2.  Write 'T' for true and 'F' for false.
                         a.  Algorithm uses various symbols to show the process flow of the program.

                         b.  In a flowchart, the decision box is used to show the branches in the process flow.

                         c.  Algorithm and flowchart are the same things.

                       72   Premium Edition-VI

| 69 70 71 72 73 74 75 76 77 78 79 |