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: 09/06/2021
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.
Download 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 specification.
2.
Explain the types of control flow statements.
3.
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. For exchanging the contents of glasses A and B, represent the state by suitable variables, and write the specification of the algorithm.
4.
Suppose you want to solve the quadratic equation ax2 + bx + c = 0 by an algorithm.
quadratic_solve (a, b, c)
-- inputs : ?
-- outputs: ?
You intend to use the formula and you are prepared to handle only real number roots. Write a suitable specification.
\(x = {-b \pm \sqrt{b^2-4ac} \over 2a}\)
5.
Write the specification of an algorithm hypotenuse whose inputs are the lengths of the two shorter sides of a right angled triangle, and the output is the length of the third side.
1.
a. Specification:
1. To solve a problem, first we must state the problem clearly and precisely. A problem is specified by the given input and the desired output. To design an algorithm for solving a problem, we should know the properties of the given input and the properties of the desired output. The goal of the algorithm is to establish the relation between the input and the desired output.
2. An algorithm is specified by the properties of the given input and the relation between the input and the desired output. In simple words, specification of an algorithm is the desired input-output relation.
3. The inputs and .outputs are passed between an algorithm and the user through variables. The values of the variables when the algorithm starts is known as the initial state, and the values of the variables when the algorithm finishes is known as the final state.
4. Let P be the required property of the inputs and Q the property of the desired outputs. Then the algorithm S is specified as
(i) . algorithm_name (inputs)
(ii) . -- inputs: P
(iii). -- outputs: Q
5. This specification means that if the algorithm starts with inputs satisfying P, then it will finish with the outputs satisfying Q.
6. A double dash -- indicates that the rest of the line is a comment. Comments are statements which are used to annotate a program for the human readers and not executed by the computer. Comments at crucial points of flow are useful, and even necessary, to understand the algorithm. In our algorithmic notation, we use double dashes (-) to start a comment line. (In C++, a double. slash II indicates that the rest of the line is a comment).
b. Specification format:
We can write the specification in a standard three-part format:
1. The name of the algorithm and the inputs.
2. Input: the property of the inputs.
3. Output: the desired input-output relation.
4. The first part is the name of the algorithm and the inputs.
5. The second part is the property of the inputs. It is written as a comment which starts with -- inputs.
6. The third part is the desired input-output relation. It is written as a comment which starts with - outputs.
7. The input and output can be written using English and mathematical notation.
Specification as a contract:
1. Specification of an algorithm serves as a contract between the designer of the algorithm and the users of the algorithm, because it defines the rights and responsibilities of the designer and the user.
2. Ensuring that the inputs satisfy the required properties is the responsibility of the user, but the right of the designer. The desired input-output relation is the responsibility of the designer and the right of the user.
3. Importantly, if the user fails to satisfy the properties of the inputs, the designer is free from his obligation to satisfy the desired input-output relation.
2.
There are three important control flow .statements to alter the control flow depending on the state.
(i) In sequential control flow, a sequence of statements are executed one after another in the same order as they are written.
(ii) In alternative control flow, a condition of the state is tested, and if the condition is true, one statement is executed; if the condition is false an alternative statement is executed.
(iii) In iterative control flow, a condition of the state is tested, and if the condition is true, a statement is executed. The two steps of testing the condition and executing the statement are repeated until the condition becomes false.
3.
Let the variables a, b, c represent the glass A, glass B and Glass C respectively. Variables A, B, C can store values APPLE, GRAPE or EMPTY.
Initial State:
1.-- a, b, c : = APPLE, GRAPE, EMPTY
2. C : = b
3.-- a, b, c : = APPLE, EMPTY, GRAPE
4. b : = a
5.-- a, b, c : = EMPTY, APPLE, GRAPE
6. a : = C
7.-- a, b, c : = GRAPE, APPLE, EMPTY
Final State:
Specification:
1. Exchange ()
2. -- inputs: a, b, c :- APPLE, GRAPE, EMPTY
3.--outputs: a, b, c:- GRAPE, APPLE, EMPTY
4.
x\(= {-b \pm \sqrt{b^2-4ac} \over 2a}\)
1. Quadratic solve (a, b, c)
2. -- inputs: b²-4ac > = 0 where a, b, c are real numbers, a ≠ 0
3. -- outputs: x1 and x2 are real numbers such that a(x1)² + bx1 + c = 0 and a(x₂)² + bx₂ + c = 0
5.
1. hypotenuse (a, b)
2. -- inputs: a, b are real numbers, a > 0, b > 0
3 -- outputs: c²=a² + b² where c is real number, c > 0
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