How To Short Questions By Command Line User Interface

How To Short Questions Command-Line User Interface- In command-line user interface, the user enters data and instructions by. typing keywords or pressing special keys. A set of commands used to interact with the computer is called command lạnguage.

  1. Command-line interface is difficult to use as it requires exact spelling and punctuation. It generates an error if there is any slight mistake in the command.

Short Questions By Command Line User Interface

Short Questions By Command Line User Interface


Q.1. What is a program? A set of instructions that tell a computer what to do is called program. A computer works according to the given instructions in the program. Program is written in programming language.

Q.2. List some advantages of computer program. A program can solve many problems by giving instructions to the computer. It can be used to perform a task repeatedly and quickly. A program can process a large amount of data easily. It can. display the results in different styles.

The processing of a program is more efficient and less time consuming. Different types of programs are used in different fields to perform certain tasks.

Q.3. Who is a programmer? A person who develops a program is called programmer. The programmer develops programs to instruct the computer how to process data to convert into information. Programmer uses programming languages or tools to write programs.

Q.4. What is algorithm? What are important properties of an algorithm? An algorithm is a step-by-step procedure to solve a problem. It is better to write algorithm before writing the actual computer program. Some properties of algorithm are:

  1. 1. The given problem should be broken down into simple and meaningful steps.
  2. 2. The steps should be numbered sequentially.
  3. 3. The steps should be descriptive and written in simple English.

Q.5. Which language is used to write algorithms? Algorithms are written in a language, which is similar to simple English. This language is known as pseudo language.

Pseudo code is used to specify program logic in an English like manner that is independent of any particular programming language.

Q.6. Is it necessary for an algorithm to solve problem in finite number of steps? If yes, why? Yes, it is necessary for an algorithm to solve problem in finite number of steps. The reason is that the solution of any problem may not consist of infinite steps.

The algorithm has a clear start and end. The solution is found when all steps of algorithm are performed in a sequence from start to end.

Q.7. What is the importance of flowcharts for writing computer program? Flowchart is important for writing computer program because it helps to understand the logic of problem solving process.

The program can be written easily in any programming language after flowchart has been designed. The programmer can easily follow the steps of flowchart.

Q.8. Write any three guidelines for flowcharting. Flowchart should be clear, neat and easy to follow. The flow of a flowchart can be from left to right or top to bottom. Only one flow line should enter and come out of the process symbol.

Q.9. For what purpose rectangle symbol is used? Rectangle is used to represent a processing or computational operation in the flowchart.

Q.10. Draw process symbol and write its use in flowchart.The process symbol is used to represent a processing or computational operation in the flowchart.

Q.11. Which symbol is used to start and end the flowchart? The oval symbol is used to start and end the flowchart. It is also called terminal symbol.

Q.12. Differentiate between flowchart and algorithm. Flowchart consists of standard symbols but algorithm consists of simple English.

Flowchart is more time-çonsuming but algorithm is less time-consuming. Flowchart is difficult to modiły but algorithm is easier to modify.

Q.13. Will there be any problem if the requirements are not specified to solve a problem? It is not possible to find the correct solution of a problem if the requirements are not specified clearly.

Many users cannot explain the exact requirements of the software. The confusing requirements in the mind of user may lead to a wrong solution.

Q.14. Why is it necessary to test a program? It is necessary to test a program to verify its accuracy.

The proğram is tested by executing it again and again. All bugs in the program are detected and removed during program testing. It ensures that the program gives desired results and the problem is solved correctly.

Q.15. What is the use of programming languages? A set of words, symbols and codes used to write programs is called program language.

Different programming languages are available for writing different types of programs. Some languages are specially used for writing business programs, other are used for writing scientific programs etc.

Q.16. List out major types of programming languages. Low Level Languages – These languages are near to computer hardware and far from human tanguages.

Computer can understand these languages easily. Writing a program in low-level languages requires a deep knowledge of the internal structure of computer hardware. High Level Languages – A type of language that is close to human languages is called high level language.

High-level languages are easy to understand. Instructions of these languages are written in English-like words such as input and print etc.

Q.17. What is machine language? A type of language in which instructions are written in binary form is called machine language. It is the only language that is directly understood by the computer. It is the fundamental language of the computer.

Q.18. List some advantages of machine language? Fast Execution – Instruction written in machine language run faster. No Translator Required – Machine language program is directly understood by the computer and is not required to convert.

Q.19. List some disadvantages of machine language? Machine Dependent – Machine language is machine-dependent. Each type of hardware requires its own machine language. Difficult – Machine language is difficult to understand.

Time-Consuming – Writing programs in machine language takes a lot of time

Q.20. What is assembly language? Assembly language is a low-level language. It is one step higher than machine language: In assembly language, symbols are used instead of binary code.

Q.21. Why assembly language is called symbolic language? Assembly language is called symbolic language because it uses symbols called mnemonics. For example Sub instrucțion is used to subtract two numbers.

Q.22. List advantages of assembly language over machine language. Easier to understand and use as compared to machine language. Easier to locate and correct errors. Program written in assembly language are easier to modify.

Q.23. What are object-oriented languages? OOP is a technique in which programs are written on the basis of objects. An object is a collection of data and functions.

Object may represent a person, thing or place in real world. In OOP, data and all possible functions on data are grouped together.

Q.24. What are database query languages? . Database is a collection of data in an organized way. Database query languages are used to retrieve, insert, update, delete or search data from databases.

These are non-procedural languages. In non-procedural languages, user only needs to tell the computer “what to do” not “how to do”.

Q.25. Why would a programmer prefer to use high-level languages? would prefer to use high-level languages for the following reasons: programmer Easy to Learn – These languages are easier to learn than low-level languages. Machine Independence computer system can be executed on a different type of computer system.

Easy Error Detection – It is easy to find errors in programs written in these languages. Easy to Understand – High-level languages are easier to understand than low-level languages.

Shorter Programs – Programs written in high-level languages are shorter than low-level languages. The programs written in high-level languages for one type of

Q.26. What is source code? Why it cannot be executed directly? Source code is a computer program written in a high-level programming language like C, C++, Visual Basic or Java.

Computer cannot understand the statements of high-level language. So the source code cannot be executed by the computer directly. It is converted into machine code and then executed.

Q.27. What is object code? An object code is the program that is translated by a language processor. It is also called machine code. Computer understands object code directly.

Q.28. What is the purpose of language processor? A program written in high-level or assembly language cannot be run on a computer directly. It must be converted into machine language before execution.

Language processor or translator is a software that converts these programs into machine language.

Q.29. List out different types of language processors. Compiler: Compiler converts instruction of high level language to machine language as a whole. Interpreter:

An interpreter is a program that converts one statement of a program at one time. Assembler: Assembler translates the instruction of a assembly language into machine language.

Q.30. What is advantage and disadvantage of interpreter? The advantage of interpreters over compilers is that an error is found immediately. The user can correct errors during program development.

The disadvantage is that it is not very efficient. The interpreter does not produce an object program. It must convert the program each time it is executed.

Q.31. Why source code is converted into object code? Computer cannot understand the statements of high-level language. Computer cannot execute source code directly. It is converted into object code and then executed.

Q.32. What is difference between source code and object code? Source code is easy to understand and modify. Object code is difficult to understand and modify. Source code contains fewer statements than object code.

Q.33. What is compiling? The process of converting source code into object code is known as compiling. A compiler converts source program into object program and saves it in a separate file.

Q.34. How object program, source program and compiler are related? A source program is written by a programmer in a programming language such as C.

This program is not in a form that a computer can understand. A compiler translates that source program into the object program that the computer can understand and execute.

Q.35. What is difference between structured and object-oriented programming? In structured programming, data cannot be considered as independent from functions that manipulate it. Procedural programming prevents the programmer from separating data from functions.

OOP is a technique in which programs are written on the basis of objects. In OOP, data and all possible functions on data are grouped together. Object oriented programs are easier to learn and modify.

Q.36. What is the difference between high level and low level languages? High-level languages are easy to learn but low-level languages are difficult to learn. High-level languages provide less facility at hardware level but low-level languages provide much facility at hardware level.

High-level languages are used to write application softwåre but low-level languages are used to write system software.

Q.37. List two types of user interfaces. Different types of user interfaces are as follow: 1. Command-Line User Interface – In command-line user interface,

The user enters the data and instructions by typing keywords or pressing special keys on the keyboard. 2. Graphical User Interface GUI is a visual environment that is used by the user to communicate with the computer. It uses windows, icons, menus and other graphical objects to issue commands

Q.38. Why is the user interface important part of software? The user interface is the bridge between the human and the computer.

Ušer interfaces must be designed carefully so that users may interact with computers easily. A good user interface makes using a computer aş natural as possible for humans.

About the author


I'm Abdul Saboor, the owner of the site has written articles for IT Words, where I share unique information and quality with everyone.IT Words provides free software, new products, tips and tricks related to blogs, social networks, and technological news. I am also the founder of, a platform to download mobile applications.

Computer Operating System Information Technology IT Words The Concepts of information technology words Introduction computer words Information Technology Education Computers And Software Education website provides.

Leave a Comment