11th Standard Syllabus & Materials
11th Standard
TN 11th Tamil இயற்கை வேளாண்மை,சுற்றுச்சூழல் -செய்யுள் - மனோன்மணீயம் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil என்னுயிர் என்பேன் -துணைப்பாடம் - இசைத்தமிழர் இருவர் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மொழி கலை -செய்யுள் - ஒவ்வொரு புல்லையும் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - இலக்கணம் - பகுபத உறுப்புகள் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - துணைப்பாடம் - வாடிவாசல் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - செய்யுள் - குறுந்தொகை Important Questions And Answers Study Material - QB365 Set A

Published on: 13/05/2022
QB365 provides detailed and simple solution for every book back questions in class 11 Computer Science subject.It will helps to get more idea about question pattern in every book back questions with solution.
latest Book back QuestionsDownload Tamil Nadu 11th Standard Computer Science question papers, model tests, one-mark questions, important questions, and public exam papers in PDF format. Free study materials and answer keys for TN State Board students.
Questions + Answers key
Take MCQ Computer Science Test

1.
Explain case analysis in detail with an example.
2.
Trace the step-by-step execution of the algorithm for factorial(4).
factorial(n)
--inputs: n is an integer, n > 0
-- outputs: f = n!
f, i := 1 ,1
while i < nf
, i := f × i, i+1
3.
Decanting problem. You are given three bottles of capacities 5, 8 and 3 litres. The 8L bottle is filled with oil, while the other two are empty. Divide the oil in 8L bottle into two equal quantities. Represent the state of the process by appropriate variables. What are the initial and final states of the process? Model the decanting of oil from one bottle to another by assignment. Write a sequence of assignments to achieve the final state.
4.

5.
Exchange the contents: Given two glasses marked A and B. Glass A is full of apple drink and glass B is full of grape drink. Write the specification for exchanging the contents of glasses A and B, and write a sequence of assignments to satisfy the specification.
1.
Alternative statement analyses the problem into two cases. Case analysis statement generalizes it to multiple cases. Case analysis splits the problem into an exhaustive set of disjoint cases. For each case, the problem is solved independently. If C1, C2, and C3 are conditions, and S1, S2, S3 and S4 are statements, a 4-case analysis statement has the form,
1. case C1
2. S1
3. case C2
4. S2
5. case C3
6. S3
7. else
8. S4
The conditions C1, C2, and C3 are evaluated in turn. For the first condition that evaluates to true, the corresponding statement is executed, and the case analysis statement ends. If none of the conditions evaluates to true, then the default case S4 is executed.
(i) The cases are exhaustive: at least one of the cases is true. If all conditions are false, the default case is true.
(ii) The cases are disjoint: only one of the cases is true. Though it is possible for more than one condition to be true, the case analysis always executes only one case, the first one that is true. If the three conditions are disjoint, then the four cases are (1) C1, (2) C2, (3) C3, (4) (not C1) and (not C2) and (not C3).
2.
(i) f=1 i=1 f = f * i i = i+1
f = 1 x 1 = 1 i = 2
(ii) f = 1 x 2 i = 3 = 2
(iii) f = 2 × 3 i = 4 = 6
(iv) f = 6 x 4 i = 5 (loop terminates) = 24
3.
Ans.(a)
Let a, b, c be the variables whose maximum value are 8L, 5L and 3L respectively.
Initial State
a, b, c: 4, 4,0
Specifications:
1 decant
2-inputs: a, b, c: =8,0,0
3-outputs: a, b, c: = 4, 4, 0
Algorithm:
Let us assume that a: = b denote oil in b is poured into a bottle until either "a" is full or "b" becomes empty.
1 decant (a, b, c)
2 a, b, c:=8,0,0
3 b:=a
4 --a, b, c: 3, 5, 0.
5 c:=b
6 --a, b, c: = 3, 2, 3
7 a:=c
8 -- a, b, c: = 6, 2,0
9 c:=b
10 --a, b, c:=6,0,2
11 b: a
12 a, b, c: = 1, 5, 2
13 c:=b
14 --a, b, c: 1, 4, 3
15 a: c
16 --a, b, c: = 4, 4,0
4.
5.
Let the variables a, b, c represent Glass A, Glass B and Glass C and a, b, c can store values APPLE, GRAPE or EMPTY.
Specification:
1 exchange (a, b)
2-inputs: a, b: APPLE, GRAPE
3-outputs: a, b: = GRAPE, APPLE
Algorithm:
1. exchange (a, b)
2. a, b, c :- APPLE, GRAPE, EMPTY.
3. c:=b
4. -- a, b, c :- APPLE, EMPTY, GRAPE,
5. b:= a
6. --a, b, c = EMPTY, APPLE, GRAPE
7. a: = c
8. --a, b, c = GRAPE, APPLE, EMPTY
11th Standard Syllabus & Materials
11th Standard
TN 11th Tamil பீடு பெற நில் - செய்யுள் - காவடிச்சிந்து Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil பீடு பெற நில் - உரைநடை - மலை இடப்பெயர்கள் : ஓர் ஆய்வு Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மாமழை போற்றுதும் - துணைப்பாடம் - யானை டாக்டர் Important Questions And Answers Study Material - QB365 Set A
NEW11th Standard
TN 11th Tamil மாமழை போற்றுதும் - செய்யுள் - ஐங்குறுநூறு Important Questions And Answers Study Material - QB365 Set A
Tamilnadu Stateboard 11th Standard Subjects

Maths

Commerce

Economics

Biology

Business Maths and Statistics

Accountancy

Computer Science

Physics

Chemistry

Maths

Biology

Economics

Physics

Chemistry

History

Business Maths and Statistics

Computer Science

Accountancy

Computer Applications

History

Computer Technology

Commerce

Computer Applications

Computer Technology

Tamil

English

French
Tamilnadu Stateboard Standards