5.1 Introduction to Programming
1. Define Programming?
2. What is Computer programming?
3. Who is a Programmer?
5.1.1 Program and Programming Language
4. Define Computer Program?
5. How computer perform any task?
6. How program is stored?
7. List some examples of computer program?
8. What is a language?
9. What is a Programming Language?
10. What is the purpose of a programming language?
11. How programs can be written in programming languages?
12. List some examples of Programming Languages?
5.1.2 Constants and Variables
13. What are Constants?
14. Name different types of constants with examples?
15. What are Variables?
16. List the types of variables?
17. Briefly explain Numeric Variables?
18. Briefly explain String Variables?
19. What is the use of $ sign in variables?
20. Differentiate between constant and variable?
21. What are the rules for defining/declaring a variable in GWBASIC?
5.1.3 Syntax and Logical Errors
22. Briefly tell about Error in a program?
23. List common types of errors in programming?
24. Define Syntax?
25. Briefly explain syntax error with examples?
26. Briefly explain logical error with examples?
27. Differentiate between syntax error and logical error?
5.1.4 Arithmetic Expression
28. Define Expression, Operator and Operand?
29. What is an Arithmetic expression? List some examples?
30. How can algebraic expressions be used in programming?
31. Convert the following algebraic expressions into computer expressions.
a. (AB)+(BC)
b. 5X-7Y
c. ABC3
d. B2-4AC
e. XY(X-Y)
32. Find the solution of following expressions, if A=3, B=4 and C=5. . C-A*B-5
a. (A+B)-C^2
b. (B+C)/A*10
c. A^2+B^2-2*A*B
d. CMODA*B+C
5.1.5 Operators
33. What are operators? Tell it’s types?
34. Define Arithmetic Operators?
35. Tabulate Arithmetic Operators with symbol, operation, description and examples?
36. What is purpose of modulus operator?
37. Briefly tell about Precedence?
38. Give the