/123
0 votes, 0 avg
7

Rawalpindi Board 2nd year Computer Science all past papers MCQS.

Rawalpindi Board 2nd year Computer Science all past papers MCQS.

1 / 123

1. Which programming structure executes program statements in order:

2 / 123

2. Global variable are created in:

3 / 123

3. The column of a table is know as:

4 / 123

4. While loop is also called:

5 / 123

5. A person name ,birthday and social security number are example of:

6 / 123

6. Which is a loop stunt:

7 / 123

7. A database consist of various components called:

8 / 123

8. What is the variable that is used by function to receive an argument:

9 / 123

9. In 2nf , which form of dependency is removed:

10 / 123

10. Variables and constant name cannot contain a(n):

11 / 123

11. Which of the fallowing escape sequence can be used to begin a new line in c?

12 / 123

12. The fopen() funtion used_________ parameters?

13 / 123

13. In c,the maximum length of variable name is:

14 / 123

14. In the statement FILE*FT, the*represents to:

15 / 123

15. Which of the following is a one -to-many relations :

16 / 123

16. The process of converting source code into object code is know as:

17 / 123

17. Merging the relation is also know as:

18 / 123

18. The extension of a header file is:

19 / 123

19. The output of compiler is called:

20 / 123

20. Which of the following format specifier is used for character data type?

21 / 123

21. int is a____ in c?

22 / 123

22. In if statement false is represented by:

23 / 123

23. Microsoft access save the database with the extension:

24 / 123

24. Conditional operator is an alternative of:

25 / 123

25. In if statement, true is represented by:

26 / 123

26. Which form of dependency removed in 2nf?

27 / 123

27. Which operation is performed by relational operator:

28 / 123

28. Switch statement is an alternative of:

29 / 123

29. which of the follwing is used to associate entities with one another:

30 / 123

30. Which data type is the default data type:

31 / 123

31. The”.exe” file is produced by:

32 / 123

32. An attribute is also know as:

33 / 123

33. The manipulated and processed data is called:

34 / 123

34. The target code produce by the compiler is:

35 / 123

35. Another term for conditional operator:

36 / 123

36. Duplicate data in multiple data files is called:

37 / 123

37. In relational database a table is also called:

38 / 123

38. Multiples copies of the same data is referred to as:

39 / 123

39. A loop with in a loop is called:

40 / 123

40. In switch statement , the case block ends with:

41 / 123

41. Which mode open only an existing file for both reading and writing:

42 / 123

42. A logical group of character is a:

43 / 123

43. The “exe” file in visual basic is produced by:

44 / 123

44. A primary key that consists of more than one attribute is called:

45 / 123

45. In which loop , statement terminators is a part of its syntax:

46 / 123

46. The first line of funtion defination is know as:

47 / 123

47. The output of compiler is:

48 / 123

48. Which function is used to display output on screen in C-language?

49 / 123

49. Which of the fallowing function is used to copy a string to an array of characters:

50 / 123

50. The data or information that describes an entity is called :

51 / 123

51. A form within another form is called:

52 / 123

52.

What is the final value of I after executing the code : for(int i=1;i<=5;i+=2)

53 / 123

53. Each separate piece of information stored in a record is called:

54 / 123

54. Which statment is used to move the control to the start of loop body:

55 / 123

55. Which file is used to store information that remain constant for a long time:

56 / 123

56. A built-in function:

57 / 123

57. The foreign key is found in:

58 / 123

58. Which form property will put text into title bar of the form:

59 / 123

59. Which form of dependency is removed in 3NF:

60 / 123

60. The loop which never end is called:

61 / 123

61. In relation database, a single piece if information is called:

62 / 123

62. Which of the fallowing is used associate entities with one another:

63 / 123

63. Different attributes in two different tables having same name are called:

64 / 123

64. A constraint between two attributes is called:

65 / 123

65. Relational operator allow you to:

66 / 123

66. In counter loop it is important to declare________ and counter variable :

67 / 123

67. _______ is not a database object:

68 / 123

68.

What is the value of ‘X’ after executing the following code? for(x=1;x<=7;x++)

69 / 123

69. Relational operator allow you to _________ numbers:

70 / 123

70. Which of the fallowing is valid character constant:

71 / 123

71. How many types of loop structure are in C -language?

72 / 123

72. A table is a two dimensional structure that consist of:

73 / 123

73. The default size of a text data type field is:

74 / 123

74. which of the fallowing is used to associate entries with one another:

75 / 123

75. In MS access ,table contains:

76 / 123

76. The extension of image file is:

77 / 123

77. Format specifier is started with symbol:

78 / 123

78. Formal arguments are also called:

79 / 123

79. In an E_R diagram , a rectangle represent:

80 / 123

80. A virtual table that is constructed from the other table is called:

81 / 123

81. In E-R diagram a rectangle represents:

82 / 123

82. In 3nf ,a non key attribute must not depend on a:

83 / 123

83. Which loop structure always executes at least once?

84 / 123

84. The lowest level of programming is called:

85 / 123

85. Conditional operator takes :

86 / 123

86. In which loop condition comes after the body of loop:

87 / 123

87. A set of related files created and managed by a DBMS is called:

88 / 123

88. Which function is used write character to a file:

89 / 123

89. The graphical query tool is know as :

90 / 123

90. A funtion does not return any value has return type

91 / 123

91. The smallest meaning full unit of data in a database is called:

92 / 123

92. A file is stored in :

93 / 123

93. The number of bytes used by int data type in c is :

94 / 123

94. The maximum length of a text type field in MS-excess is:

95 / 123

95. The data type in C that can handle fractional values is called:

96 / 123

96. Which of the following function is used to write a character to a file:

97 / 123

97. a+=b is equal to:

98 / 123

98. A record may be based on :

99 / 123

99. The process of arranging data in a logical sequence is called:

100 / 123

100. The programming structure used for a computer making decision is:

101 / 123

101. Which keyword is not used in switch statement:

102 / 123

102. If x=2 and y=3 , what will be the output of the expression :x>y?x+y:x*y;

103 / 123

103. Which data type is used to define a field that consist of only number to be used in calculations?:

104 / 123

104. ____ is a loop statement:

105 / 123

105. The example of popular DBMS is :

106 / 123

106. The format specifier %f is used for:

107 / 123

107. An array script should be:

108 / 123

108. Which of the fallowing may be temporary file:

109 / 123

109. The case block ends with:

110 / 123

110. The extension of C source program is:

111 / 123

111. One execution of a loop is know as a(n):

112 / 123

112. The output of a query is in the form of a:

113 / 123

113. _______ form of dependency removed in 3nf:

114 / 123

114. A memory location with some data that can be changed is called:

115 / 123

115. To find all names start with M from student table ,the criteria is:

116 / 123

116. Which of follwing is not a loop structure in c:

117 / 123

117. One execution of a loop is know as(n):

118 / 123

118. stdio stand for:

119 / 123

119. A funtion can return ________ value:

120 / 123

120. Function used for I/O are stored in:

121 / 123

121. Which is numeric data type with decimal point:

122 / 123

122. In visual basic variable cannot contain:

123 / 123

123. Which statement is used for making two decision

Your score is

0%

Rawalpindi Board 2nd year Computer Science Chapter 1

/57
0 votes, 0 avg
4
Created on By admin

Rwp_2nd_cs_1

Rawalpindi Board 2nd year Computer Science Chapter 1

1 / 57

1. Manipulation of data to achieve the required objectives and result is called

2 / 57

2. A collection of related fields is called:

3 / 57

3. A collection of data that consists of name, address and email of a person is called:

4 / 57

4. A record in a database is the information refers to:

5 / 57

5. A logical grouping of character is a

6 / 57

6. A field is to a record as

7 / 57

7. a database containing all students in a class would store basic data of students in

8 / 57

8. A data base containing all students in a class would store the information of individual students in

9 / 57

9. Which of the following is also known as data set

10 / 57

10. A set of related files created and manage by a (DBMS) is called

11 / 57

11. Which of the following is an example of a database

12 / 57

12. Which of the following used to describe the structure of a database

13 / 57

13. Which of the following data model is more flexible

14 / 57

14. Which of the following type of file require largest processing time

15 / 57

15. Which of the following may be a temporary file?

16 / 57

16. SQL is a(n)

17 / 57

17. SQL stands for

18 / 57

18. SQL can be used to

19 / 57

19. The type of files from functional point of view include

20 / 57

20. Which file is used to store information that remains constant for a long time

21 / 57

21. Which of the following file is used to store additional copy of data

22 / 57

22. Which of the following file consist the software instructions

23 / 57

23. The extension of program file is

24 / 57

24. Which of the following is an image file extension

25 / 57

25. The extension for a video file is

26 / 57

26. The  extension of audio files is

27 / 57

27. The file name and the extension are separated by a

28 / 57

28. In “‘program.txt” , ‘txt” is the:

29 / 57

29. Word processor can save documents using the following extensions EXCEPT

30 / 57

30. The type of files from storage point of view include:

31 / 57

31. The problem synonym occurs in:

32 / 57

32. The process in which the contents are accessed in a sequence is called:

33 / 57

33. A database is an organized collection of related data

34 / 57

34. The objectives of database management systems include:

35 / 57

35. The most commonly used database model in current database development is:

36 / 57

36. Which of the following data model has general shape of an organization chart?

37 / 57

37. Which data models creates parent-child relationships B/T data elements and restricts each child?

38 / 57

38. Which data models creates parent-child relationships b/t data elements and have more than 2parents

39 / 57

39. Information sharing means that:

40 / 57

40. A program whose job is to store and retrieve user data in the database is called:

41 / 57

41. The database system is composed of four major parts:

42 / 57

42. Data that causes inconsistency lacks:

43 / 57

43. In a database processing system:

44 / 57

44. Which one of the following is an advantage of database management approach?

45 / 57

45. DBMS stands for:

46 / 57

46. Which of the following is NOT an advantage of database systems?

47 / 57

47. Which of the following enables user to modify data without affecting existing program that use them

48 / 57

48. Database application contain procedures for:

49 / 57

49. Which of the following is related to a component of database system?

50 / 57

50. Which of the following database models is often referred to as an Inverted Tree?

51 / 57

51. The major component of DBMS is called

52 / 57

52. Duplicate data in multiple data file is:

53 / 57

53. The description of structure and organization of data in a database is contained in:

54 / 57

54. A request for information from a database in database terminology is called

55 / 57

55. A printed or on screen display of data or information in the database is called an:

56 / 57

56. The name for the software to build reports that summarize data from a database is:

57 / 57

57. Which of the following is not a database management system

Your score is

0%

Rawalpindi Board 2nd year Computer Science Chapter 2

/37
0 votes, 0 avg
2

Rwp_2nd_cs_2

Rawalpindi Board 2nd year Computer Science Chapter 2

1 / 37

1. DBA stands for:

2 / 37

2. A key strictly used for data retrieval purposes is called:

3 / 37

3. Who is responsible to design, implement and maintain a databases?

4 / 37

4. A table in which the foreign key is found is called:

5 / 37

5. Which of the following is also known as control key?

6 / 37

6. A primary key that consists of more than one attribute is called

7 / 37

7. An attribute in relation used as the primary key of another relation in the same database is called

8 / 37

8. A candidate key is:

9 / 37

9. Which field is the most appropriate primary key?

10 / 37

10. Which of the following can be a primary key

11 / 37

11. How many primary keys can a table have?

12 / 37

12. Which of the following is NOT a good primary key?

13 / 37

13. Which of the following describes the primary key?

14 / 37

14. A key is:

15 / 37

15. Which of the following are properties of relations?

16 / 37

16. An index can used to:

17 / 37

17. Which of the following is NOT a characteristic of relations?

18 / 37

18. The data or information that describes an entity is called:

19 / 37

19. A person, place, thing or event about which data is kept in the database is called

20 / 37

20. A row of a relation is called:

21 / 37

21. A relation is also known as:

22 / 37

22. An attribute is also known as a:

23 / 37

23. A table is a two-dimensional structure that consists of:

24 / 37

24. A two-dimensional table of data is called:

25 / 37

25. A table should have:

26 / 37

26. The foreign key is found in:

27 / 37

27. The Columns of a table correspond to

28 / 37

28. SQL is used for:

29 / 37

29. CREATE command is used to create:

30 / 37

30. A virtual table that is constructed from other tables is called:

31 / 37

31. The number of characters in fixed-length field is

32 / 37

32. The views are used:

33 / 37

33. Views are also called:

34 / 37

34. The SQL statement to create a view is:

35 / 37

35. All the intersection of rows and columns must have:

36 / 37

36. The rows of a relation can be of order.

37 / 37

37. Insert command is used to insert:

Your score is

0%