www.Padasalai.Net

www.nammakalvi.weebly.com

www.Padasalai.Net - HIGHER SECONDARY HALF YEARLY EXAMINATION – DEC 2016 XII - COMPUTER SCIENCE – ANSWER KEY Q.NO. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40

ANSWER B C C A B A B C D A D C A D C A B A D A A D A B A D D C B B C C B C D D A B C D

Q.NO. 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75

ANSWER D A B C D C B A C B C D B D B A D C D A (strcat()) A B A C D C C B D B A B C B D

www.nammakalvi.weebly.com PART - II 76 77 78

By using the Insert Key Portrait : The length of a document will be more than the width. Landscape : The width will be more than the length.

2 1 1

VisiCalc, Lotus 1-2-3, Excel, Quattro Pro, Improve, StarOffice Calc (any 4) A continuous group of cells in a worksheet is called a range

2

Any relevant example

1

80

A database is a repository of collections of related data or facts. It arranges them in a specific structure.

2

81

A report is printed information that is assembled by gathering data based on user supplied criteria.

2

82

Compression is a technique by which a recurring set of information is identified and replaced by a single piece of information. Two types : Lossless compression and Lossy compression 1. Modeling 2. Animating 3. Rendering Click the Slide Show icon on the Presentation Toolbar (or) choose Slide Show Slide Show or press F5. Choose InsertPictureFrom File or click the Insert Picture icon from the Insert toolbar. An open dialog box appears. Choose the desired picture to be inserted. The mechanism by which the data and functions are bound together within an object definition A ternary operator ( ?:) is also called as conditional operator. The general syntax is E1?E2:E3; where E1,E2,E3 are operands. Any relevant example The process of changing the data type of the value stored in a variable. Syntax : (data type) (or) data type (variable/constant)

1

• unsigned modifies the range of the integer values as the sign bit is also used to store data. • long increases the bytes for a particular data type, thus increasing the range of values.

1

Break : A loop’s execution is terminated when the test condition evaluates to false. Under certain situations one desires to terminate the loop, irrespective of the test expression. continue : The continue statement forces the next iteration of the loop to take place, skipping any code following the continue statement in the loop body.

1

79

83 84 85 86 87

88 89 90

91 92 93 94

95

96

1. Number and type of arguments 2. The type of return values Syntax : strlen (char *) Any relevant example An array is a collection of variables of the same type that are referenced by a common name. Two types: 1. One dimensional array 2. Multi dimensional array. A class is a way to bind the data and its associated functions together. A class specification has two parts: 1) Class declaration 2) Class Function Definitions i) It is initialized to zero, only when the first object of its class is created. No other initialization is permitted. ii) Only one copy of the member variable is created. iii) Its scope or visibility is within the class but its lifetime is the lifetime of the program. The compiler adopts BEST MATCH strategy. i) Compiler will look for the exact match of a function prototype with that of a function call statement. ii) In case an exact match is not available, it looks for the next nearest match.

1

1 2 2 2 2 1 1 2

1

1 1 1 1 1 1 1 1 1 2

1 1

www.Padasalai.Net 97

98 99

100

www.nammakalvi.weebly.com

www.TrbTnpsc.com

1) The constructor function initializes the class object 2) The memory space is allocated to an object When a derived class inherits from multiple base classes is known as multiple inheritance Healthcare is dominated by large amounts of data and limited financial and human resources and need for accountability of those resources. Healthcare has improved significantly ever since computers found their way into the hands of doctors and health administrators. It is a self-replicating program that can cause damage to data and files stored on your computer.

1 1 2 2

2

PART - III 101

102

103

104

105

106

1. File → Save (or) Save icon is clicked (or) Ctrl + S. A Save As dialog box appears. 2. To select a drive, up one level icon is clicked, then a list of drives will be displayed. Select the required drive and then folder displayed. 3. The file name is given in the File name list box. 4. Choose the required document type from the Save as type list box 5. Click on the Save button

1 1 1 1 1

 Tools  spelling  check (or) click spellcheck icon (or) press F7  Not in dictionary text area displays the misspelled word and the Suggestions list displays any alternative spellings.  Ignore once, Ignore all, Change, Change all should be explained  Add button is clicked to add the word to dictionary

1

   

Function is a predefined formula in star calc. To insert a function Insertfunction Function wizard dialog box appears. Choose one of the categories. In the category box, click on the function name to see short description. Double click on it to insert it into the worksheet.  Example: SUM() (or) SQRT Click on the Insert object from viewTool bar 1. Insert Chart Icon 2. Insert Formula Icon 3. Insert Floating Frame Icon 4. Insert Movie and Sound Icon 5. Insert OLE Object Icon 6. Insert Applet Icon Explain all the above 1. Flat – File database 2. Relational database 3. Hierarchical database 4. Network database 5. Object-Oriented database Explain all the above

1

for (; ; ) .. loop : is an entry controlled loop and is used when an action is to be repeated for a predetermined number of times. Syntax : for(intial value ; test-condition ; increment) { action block; } General working: 1. The control variable is initialized the first time when the control enters the loop for the first time.

1

1 2 1

1 1 1 1 1

4 5

2

1

www.nammakalvi.weebly.com

107

108

109

110

www.Padasalai.Net www.TrbTnpsc.com 2. Test condition is evaluated. The body of the loop is executed only if the condition is TRUE. Hence for(;;) loop is called as entry controlled loop. 3. On repetition of the loop, the control variable is incremented and the test condition will be evaluated before the body of the loop is executed. 4. The loop is terminated when the test condition evaluates to false. Any relevant example Scope refers to the accessibility of a variable. Four types : Local scope, Function scope, File scope and Class scope Local scope: A local variable is defined within a block. These variables cannot be accessed from outside the block of its declaration. Function scope: The variable declared within a function is extended to the function block, and all sub-blocks therein. The life time of a function scope is the life time of the function block. File scope : A variable declared above all blocks and functions (above main ( ) ). The scope of a file scope variable is the entire program. Class scope: The data variables which are declared within the class. Their scope will be decided by the access specifiers private, protected and public. Any five rules:  Only existing operators can be overloaded. New operators cannot be created.  The overloaded operator must have at least one operand of user defined type.  The basic definition of an operator cannot be replaced or in other words one cannot redefine the function of an operator. One can give additional functions to an operator  Overloaded operators behave in the same way as the basic operators in terms of their operands.  When binary operators are overloaded, the left hand object must be an object of the relevant class  Binary operators overloaded through a member function take one explicit argument. Any ten errors Line Given code Correct code number 1 $include #include 5 Private: private: 6 int a;b; int a,b; 7 Public public: 11 cout>>”Constructor”; cout<<”Constructor”; 12 }; } 13 -simple ~simple() 17 void getdata(); void getdata() 20 cin<>b; cin>>a>>b; cout>>”\n The sum of cou<<”\n The sum of 25 variables….”<
1

1 1 1 1 1 5

5

5

www.Padasalai.Net

www.nammakalvi.weebly.com Prepared by,

R.Pradeep M.C.A., B.Ed., PG Asst in Computer Science, Lotus Matric Hr Sec School, Kakapalayam, Salem-637504.

www.TrbTnpsc.com

979-12-computer-science-half-yearly-exam-full-asnwer-key-em.pdf

Recommend Documents

No documents