Q. What is programming?
Ans. Programming is the process of writing instructions that a computer can execute to perform specific tasks.
Q. What is a programming language?
Ans. A programming language is a formal language used to write instructions for a computer.
Q. What is an algorithm?
Ans. An algorithm is a finite sequence of well-defined steps used to solve a problem.
Q. What is a flowchart?
Ans. A flowchart is a graphical representation of the steps and decisions involved in a process or algorithm.
Q. What is a variable?
Ans. A variable is a named storage location or binding used to hold or refer to data in a program.
Q. What is a constant?
Ans. A constant is a value or binding intended not to change during the relevant execution of a program.
Q. What is a data type?
Ans. A data type defines the kind of data a value can represent and the operations that can be performed on it.
Q. What is an operator?
Ans. An operator is a symbol or keyword that performs an operation on one or more operands.
Q. What is a conditional statement?
Ans. A conditional statement selects which code to execute depending on whether a condition is true or false.
Q. What is a loop?
Ans. A loop repeatedly executes a block of code while its iteration conditions are satisfied.
Q. What is the purpose of a function?
Ans. A function groups reusable instructions that can accept inputs and optionally return a result.
Q. What is debugging?
Ans. Debugging is the process of finding, analyzing, and correcting errors in a program.
Q. What is a syntax error?
Ans. A syntax error occurs when code violates the grammatical rules of a programming language.
Q. What is a logical error?
Ans. A logical error occurs when a program runs but produces an incorrect result because its logic is faulty.
Q. What is a compiler?
Ans. A compiler translates source code into another form, commonly machine code or an intermediate representation.
Q. What is an interpreter?
Ans. An interpreter executes program instructions through a runtime system, often without producing a separate native executable beforehand.
Q. What is pseudocode?
Ans. Pseudocode describes an algorithm in a readable, programming-like form without requiring the exact syntax of a specific language.
Q. What is input in programming?
Ans. Input is data supplied to a program for processing.
Q. What is output in programming?
Ans. Output is the information or result produced by a program after processing.
Q. What is the purpose of testing a program?
Ans. Testing checks whether a program behaves as expected and helps identify defects before or after release.