ICS Part 2 Computer Science Chapter 12 Short Questions Test With Answer

Online Short Questions For Chapter 12 "ICS Part 2 Computer Science Chapter 12 Short Questions Preparation "

Try The Short Questions For ICS Part 2 Computer Science Chapter 12 Short Questions Preparation

  • Total Questions10

  • Available Sets2

Computer Science - ICS Part 2 Computer Science Chapter 12 Short Questions Preparation

Question # 1

What is sentinel controlled loop?

  • Ans 1: One way to do this is to instruct the user to enter a unique data value, called a sentinel value, after the last data item . The loop condition test s each data item and causes loop exit when the sentinel value is read. Choose the sentinel value is read.Choose the sentinel value carefully;
    It must be a value that could not normally occur as data. The general form of a sentinel-controlled loop is;
    1. Get the first line of data
    2. While the sentinel value has not been encountered
    3. Process the data line.
    4. Get another line of data
Submit

Prepare Complete Set Wise Questions For Chapter 12 "ICS Part 2 Computer Science Chapter 12 Short Questions Preparation "

ICS Part 2 Computer Science Chapter 12 Short Questions Preparation - Set 1

Question # 1

What is sentinel controlled loop?

  • Ans 1: One way to do this is to instruct the user to enter a unique data value, called a sentinel value, after the last data item . The loop condition test s each data item and causes loop exit when the sentinel value is read. Choose the sentinel value is read.Choose the sentinel value carefully;
    It must be a value that could not normally occur as data. The general form of a sentinel-controlled loop is;
    1. Get the first line of data
    2. While the sentinel value has not been encountered
    3. Process the data line.
    4. Get another line of data
Submit

ICS Part 2 Computer Science Chapter 12 Short Questions Preparation - Set 2

Question # 1

Write Output.
Int x= 5, y= 3;
Do
{
X= x *2;
Y = y+2;
}
While (y<7);
Printf("%d",x);

  • Ans 1: Output:
    10
Submit

12th Chapter

12th Computer Science Chapter 12 Preparation

Here you can prepare 12th Computer Science Chapter 12 Problem Solving Preparation. Click the button for 100% free full practice test.

Is this page helpful?