/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. Merging the relation is also know as:

2 / 123

2. Conditional operator takes :

3 / 123

3. _______ is not a database object:

4 / 123

4. An array script should be:

5 / 123

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

6 / 123

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

7 / 123

7. Which operation is performed by relational operator:

8 / 123

8. Formal arguments are also called:

9 / 123

9. Which of the fallowing may be temporary file:

10 / 123

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

11 / 123

11. A loop with in a loop is called:

12 / 123

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

13 / 123

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

14 / 123

14.

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

15 / 123

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

16 / 123

16. Another term for conditional operator:

17 / 123

17. A record may be based on :

18 / 123

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

19 / 123

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

20 / 123

20. In an E_R diagram , a rectangle represent:

21 / 123

21. In if statement, true is represented by:

22 / 123

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

23 / 123

23. Relational operator allow you to _________ numbers:

24 / 123

24. The graphical query tool is know as :

25 / 123

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

26 / 123

26. A form within another form is called:

27 / 123

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

28 / 123

28. In visual basic variable cannot contain:

29 / 123

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

30 / 123

30. The loop which never end is called:

31 / 123

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

32 / 123

32. In if statement false is represented by:

33 / 123

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

34 / 123

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

35 / 123

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

36 / 123

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

37 / 123

37. While loop is also called:

38 / 123

38. a+=b is equal to:

39 / 123

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

40 / 123

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

41 / 123

41. The fopen() funtion used_________ parameters?

42 / 123

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

43 / 123

43. In relational database a table is also called:

44 / 123

44. Which form of dependency removed in 2nf?

45 / 123

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

46 / 123

46. stdio stand for:

47 / 123

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

48 / 123

48. Format specifier is started with symbol:

49 / 123

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

50 / 123

50. The output of compiler is called:

51 / 123

51. Conditional operator is an alternative of:

52 / 123

52. The extension of C source program is:

53 / 123

53. int is a____ in c?

54 / 123

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

55 / 123

55. The foreign key is found in:

56 / 123

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

57 / 123

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

58 / 123

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

59 / 123

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

60 / 123

60. The lowest level of programming is called:

61 / 123

61. Relational operator allow you to:

62 / 123

62. _______ form of dependency removed in 3nf:

63 / 123

63. The extension of a header file is:

64 / 123

64. An attribute is also know as:

65 / 123

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

66 / 123

66. Which is a loop stunt:

67 / 123

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

68 / 123

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

69 / 123

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

70 / 123

70. Which of the fallowing is valid character constant:

71 / 123

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

72 / 123

72. A built-in function:

73 / 123

73. The example of popular DBMS is :

74 / 123

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

75 / 123

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

76 / 123

76. Which data type is the default data type:

77 / 123

77. Which is numeric data type with decimal point:

78 / 123

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

79 / 123

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

80 / 123

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

81 / 123

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

82 / 123

82. Which keyword is not used in switch statement:

83 / 123

83. A funtion can return ________ value:

84 / 123

84.

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

85 / 123

85. The format specifier %f is used for:

86 / 123

86. Microsoft access save the database with the extension:

87 / 123

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

88 / 123

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

89 / 123

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

90 / 123

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

91 / 123

91. The manipulated and processed data is called:

92 / 123

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

93 / 123

93. A file is stored in :

94 / 123

94. Global variable are created in:

95 / 123

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

96 / 123

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

97 / 123

97. ____ is a loop statement:

98 / 123

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

99 / 123

99. Which loop structure always executes at least once?

100 / 123

100. Which statement is used for making two decision

101 / 123

101. In MS access ,table contains:

102 / 123

102. The extension of image file is:

103 / 123

103. The target code produce by the compiler is:

104 / 123

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

105 / 123

105. The case block ends with:

106 / 123

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

107 / 123

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

108 / 123

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

109 / 123

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

110 / 123

110. Duplicate data in multiple data files is called:

111 / 123

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

112 / 123

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

113 / 123

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

114 / 123

114. A logical group of character is a:

115 / 123

115. A constraint between two attributes is called:

116 / 123

116. Which programming structure executes program statements in order:

117 / 123

117. In E-R diagram a rectangle represents:

118 / 123

118. Switch statement is an alternative of:

119 / 123

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

120 / 123

120. A database consist of various components called:

121 / 123

121. The output of compiler is:

122 / 123

122. The column of a table is know as:

123 / 123

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

Your score is

0%

Rawalpindi Board 2nd year Computer Science Chapter 1

/57
0 votes, 0 avg
3
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
1

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%

Rawalpindi Board 2nd year Computer Science Chapter 3

/32
0 votes, 0 avg
1

Rwp_2nd_cs_3

Rawalpindi Board 2nd year Computer Science Chapter 3

1 / 32

1. In an E-R diagram a diamond represented

2 / 32

2. all the hardware costs are considered during