Computer Science 10th Chapter 2 Data Types, Assignment and I/O Statements Questions Bank

Computer Science 10th Chapter 2 Data Types, Assignment and I/O Statements Questions Bank
Computer Science 10th Chapter 2 Data Types, Assignment and I/O Statements Questions Bank

Computer Science 10th Chapter 2 Data Types, Assignment and I/O Statements Solved MCQs, Short and Long Questions

MCQs

Select the right Answer.

1. __________ of line numbers within a program is not allowed.





2. ____________ are the words, which have predefined meaning in BASIC





3. A file is stored in





4. A GW-BASIC program line cannot have more than _______ characters.






5. A string constant is enclosed in:






6. A variable name must start with a(n):  





7. All the following are arithmetic operators except:  





8. An expression may consist of:  






9. An other name of keywords is:  





10. BASIC language is a:  





11. BASIC language was developed by Jhon Kemeny and Thomas Kurlz in?





12. BASIC stands for






13. Command generates automatically horizontally line number when press RETURN key in GW BASIC:  





14. Declaration characters represent the type of :





15. Every program statement must begin with





16. GW-BASIC can operate in:





17. GW-BASIC is _______________ for BASIC language.





18. How many logical operators are available in GW-BASIC?  





19. IDE stands for:





20. If a line has more than one statement, each must be separated by:





21. If a variable is assigned no value, GW-BASIC assumes the value of variable to be ________ in case of numeric variables.





22. If two or more statements are written on a line, they must be separated by a:





23. In a BASIC, _________ can be used without declaration.





24. In BASIC, _______ sign is followed by the name of the string data.





25. In GW-BASIC, a variable name cannot be more than ________ characters long.





26. In GW-BASIC, the maximum number of character in variable name can be:





27. In GW-BASIC, the maximum number of characters in a line can be:





28. In the syntax “Line# statement(s)”, _________ is an unsigned integer.





29. Loading the program in GW-BASIC means to bring it into ________ from secondary storage device.





30. Numeric variables can store:





31. Single-precision variables can accurately handle numbers up to _____ significant digits.





32. The BASIC language was developed as an instructional tool for ______________.





33. The BASIC language was developed by _____________ at Dartmouth College, USA.





34. The BASIC language was developed in __________ at Dartmouth College, USA.





35. The character set of GW-BASIC comprises -






36. The character which represents a string declaration is a:  






37. The command which is used in ASSIGNMENT STATEMENT





38. The default extension of a GW-BASIC program is:






39. The default extension of GW-BASIC program:






40. The first character in the variable name must be:





41. The maximum length of a string constant:






42. The maximum length of a variable name in GW-BASIC is:





43. The program is a _______ that contains specific instructions, or statements, for the compiler.





44. The program`s statements are executed depending on line numbers in _____________ order.





45. The range for an integer in GW-BASIC is from ____________.





46. The value of the variable is accessed by its:





47. The variable name may contain:






48. Variables are named _______________ which are used to store data.





49. Which of the following cannot be used as variable names?





50. Which of the following character is used for single variables?  





51. Which of the following command continues the program whose execution was terminated temporarily?  





52. Which of the following command is used to remove file from the disk?





53. Which of the following is a short key to run a program in GW-BASIC?





54. Which of the following is a single-precision constant?





55. Which of the following is a type declaration character for integer variables?





56. Which of the following is logical operator?






57. Which of the following is logical operator?





58. Which of the following is not a BASIC interpreter?






59. Which of the following is used as output statement in GW-BASIC?  





60. Which of the following key is used to LOAD a file in GW-BASIC:





61. Which of the following key is used to save a file in GW-BASIC?





62. Which of the following operation could be operated on strings?





63. Which of the following option is not provided by IDE?






64. Which of the following statement is used to read data from a file?  





65. Which of the following statement temporarily stops the execution of a program?






66. which option must follow the condition in an “IF STATEMENT “





67. While saving the file, if the complete path is not given, the file will be saved in the ________________ of GW-BASIC.





68. Who developed the BASIC language?  







Short Questions


1. By default in which format GW-BASIC saves the file?
2. Define basic commands.  
3. Define BASIC language.
4. Define constant.
5. Define End statement.
6. Define REM Statement:
7. Define term Direct Mode?
8. Define the use of AUTO Command?
9. Define variable.
10. Differentiate between Constant and Variable?
11. Enlist the different of types of Operators.
12. How a program executes?
13. How an AUTO command is terminated?
14. How different statements in a GW-BASIC program line can be separated?
15. How many characters a program line can have in GW-BASIC?
16. How many types of constants are there in BASIC?
17. How program`s statements are executed in which order?
18. How the value of the variable is accessed?
19. If any line is desired not to be translated into machine code which statement will be used?
20. In which format GW-BASIC saves the file, if option ‘a’ is specified?
21. In which format GW-BASIC saves the file, if option ‘p’ is specified?
22. What are integer constants?
23. What are logical operators?
24. What are numeric constants?
25. What are reserved words?
26. What are string constants?
27. What are the steps to load a program?
28. What are the steps to save GW-BASIC file?
29. What are the three important features of Basic language?
30. What are the two modes of BASIC?
31. What are type declaration characters?
32. What characters can be used as variable name?
33. What characters cannot be used as variable name?
34. What do you know about reserved words or keywords? Also give their use.
35. What do you know about logical expression?  
36. What do you know about operator Precedence?  
37. What do you know about operators?
38. What do you know about String Constant?
39. What do you know about term Indirect Mode? 
40. What do you know MKDIR Command?
41. What do you know Numeric variables?  
42. What does asterisk represent while using AUTO command?
43. What happens if the option ‘r’ is used with LOAD command?
44. What happens if the option ‘r’ is used with RUN command?
45. What happens if the type of a numeric variable is not specified?
46. What happens if variable type is not specified?
47. What is .bas?
48. What is a period (.)?
49. What is difference between LIST and LLIST Commands?  
50. What is difference between NAME and RENUM Command?  
51. What is GW-BASIC?
52. What is IDE?
53. What is meant by Assignment Operator in GW BASIC?
54. What is program loading?
55. What is the advantage of AUTO command?
56. What is the advantage of REM statement?
57. What is the difference between single-precision and double-precision numeric constants?
58. What is the format of Line statement?
59. What is the maximum length of a variable name?
60. What is the range of an integer in GW-BASIC?
61. What is the use of F3 and F4 Function keys in Basic?  
62. What operations cannot be performed on string variables?
63. What will be the output of the program given below?
64. What will happen if an existing line number is reused?
65. What would be the value of a variable if it is not assigned any value?
66. What do you know about variables in GW-BASIC?
67. When does “Out of data” message occur?
68. When does “type mismatch error” occur?
69. Which constants are used to store fractional numbers?
70. Which operator is used to join the strings?
71. Which type of variable is used to store a sequence of characters?
72. Which variables store numeric values?
73. Which words cannot be used as variable names?
74. Why was BASIC language developed?
75. Write the abbreviations of IDE stand for?  
76. Write the difference between CLEAR command and CLS command?
77. Write the difference between Command and Statements?
78. Write the name of a person who developed GW BASIC and when
79. Write the some of BASIC Commands
80. Write the use of REM Command?
81. Write the types of variables?  

Long Questions

1. Describe the INPUT statement with example.
2. Explain Operators in detail?
3. Explain the READ/DATA statement with example.
4. How are statements written in BASIC language?
5. What are operators? Explain each of them.
6. What is assignment statement? Explain
7. What is the constant? Also describe the type of constant used in GW BASIC.
8. Write a detail note on Print statement.

Post a Comment (0)
Previous Post Next Post