Showing posts with label study material. Show all posts
Showing posts with label study material. Show all posts

Friday, 24 March 2017

XI STD DEBUG / OUTPUT

Debug the following program for the required output

# include<stdio.h>
$include<conio.h>
MAIN()
[
Int n
CLrSCR();
PRINTF(“In Enter the number:\n”;
SCAMF(“%d”,&n)
if(n%2= =0);
printf(“In the given number is even”);
else
printf(The given number is not even”);
getch();
}


WAY  TO  WRITE
1.     Write the given program & set line numbers
2.     Tabulate with headings line no, Error, Correction
3.     Write the error prone line number and nature of error and correct form of statement



Answer To Be In Paper
Example
# include<stdio.h>
$include<conio.h>
MAIN()
[
Int n
CLrSCR();
PRINTF(“In Enter the number:\n”;
SCAMF(“%d”,&n)
if(n%2= =0);
printf(“In the given number is even”);
else
printf(The given number is not even”);
getch();
}
  

Line No
Error
Correction
2
Preprocessor directive should start with #
#include<conio.h>

3
Function should return with value
Name  should be as main()
void main()

4
[ should be replaced with {
{
5
All key words are to be written in small letters
Every completed line ends with ;
int n;
6
All key words are to be written in small letters
clrscr();
7
Closing bracket is missing
PRINTF – unknown function
printf(\nEnter the number:\n”);
8
SCAMF – unknown function
Semicolon missing
scanf(“%d”);
9
If statement should not end with semicolon
If(n%2==0)
10
printf(“In  
“In – should be replaced by \n
printf(“\n the Given number is even”);
12
Opening quotation( “) is missing
printf(“The given number is not even”);

**** ************ ************ *************** ******************* *****************


Question Write the output of the following program
Example
#include <stdio.h>
main()

{
int term;
int i;
i=1;
term=1;
while(term<=10)
     {
        printf(“%d \t”,i);
        i=i+term;
        term=term+1;
}
}


Way To Write
Rewrite the program in paper
1.     Analyze step by step
2.     Go in the flow of program
3.     Write whatever the printf command follows as per the rule.
 
Answer to be in the paper

#include <stdio.h>
main()
 
{
int term;
int i;
i=1;
term=1;
while(term<=10)
     {
        printf(“%d \t”,i);
        i=i+term;
        term=term+1;
}
}
Output
1          2          4         7          11        16       22       29       37        46

Explanation  of the program:
1.     Variable term, i are declared and initialized with 1.
2.     Now in memory i=term = 1
3.     So term<=10 is true. While this true status the body of the loop followed within {  } are repeated
o   i value   1 is printed with tab space
o   i value in memory changed to 1+1=2
o   term value in memory changed to 1+1=2
4.      term<=10 is true. While this true status the body of the loop followed within {  } are repeated
o   i value   2 is printed with tab space
o   i value in memory changed to 2+2=4
o   term value in memory changed to 2+1=3
5.     term<=10 is true. While this true status the body of the loop followed within {  } are repeated
o   i value   4 is printed with tab space
o   i value in memory changed to 4+3=7
o   term value in memory changed to 3+1=4
.
.
     In the same way analyze till term<=10 becomes false.

Tuesday, 6 September 2016

XI standard quarterly revision worksheet


Five Marks
Chap – I
1.    Generation of computers
2.    History of computer ( devices)
3.    Types of computers based on principles of operation
4.    Types of computer based on configuration
Chap – II
1.    All Simplifications of Boolean equations
2.    All type of Conversions
3.    Sum of Powers of 2
4.     Draw a truth table for Boolean equations
Chap – III
1.    Explain the various types of Memory
2.    Explain the Input devices
3.    Explain the functional units of CPU & its working Concepts
Chap – IV
       All questions from book bank (six)
Chap – V
1.    Explain the different roles taken by Operating System
2.    Write briefly the functions of User Interface and its designing points
3.    Explain the Memory and Process Management
4.    Explain briefly the Operating System Development
5.    Explain briefly the Input/output devices managed by Operating System
Volume – II    Chap – I
1.     Parts of Windows
2.     Windows Dialog Boxes
3.     Help and Support Center – any 5 or 7
4.     Control Panel and its icons
5.     Explain MS Paint and its Parts
6.     How to edit text entered in Word pad
7.     Key for Moving Cursor through text.
Two Marks
Definitions
1.    Computer
2.    Operating System
3.    Algorithm
4.    Program
5.    Software / Hardware
6.    Peripheral
7.    Laptop
8.    Augend and Addend
9.    Subtrahend and Minuend
10.  Literal
11.  Sum term
12.  Max term
13.  Product Term
14.  Min term
15.  Sum of Product
16.  Product of sum
17.  Registers
18.     Bus
19.  Memory read and Memory write operation
20.     Input and Output devices
21.  Logic Gates
22.  Half Adder
23.  Full Adder
24.  Combinational Circuit
25.  Sequential Circuit
26.  Flip Flops
27.  Electronic Work Bench
28.  Multisim
29.  Operating System
30.  Data Security
31.  DMA
32.  Job Scheduling
33.  Multi programming
34.  Spooling
35.  System Call
36.  Augend and Addend
37.  Subtrahend and Minuend

Differentiate
1. Hardware vs Software
2. Data vs Information
3. System software vs Application Software
Others
1.    Software and its types
2.    Word Processing, Spread sheet, database management system
3.    Stored program concepts
4.    various number systems and its bases - Conversions
5.    Data Representation
6.    Short note on all Input , output and storage deices
7.    Control unit
8.    Storage unit
9.    Characteristics of printers
10.  Objectives of cpu scheduling
11.  ICANN , WHO GOVERNS THE INTERNET?
12. NAND and NOR called universal gates. Why?
13.  Convert Boolean equation to truth table
14.  Convert truth table to Boolean equation
15.  How AND gate can be realized neither using NOR gate?
16.  How OR gate can be realized NAND gate? List out the several algorithm in process management
17.  Three levels of security
18.  Desirable characters of OS
19.  List out the advantages of Distributed OS
20.  Time Sharing
21.  Two types of OS
22.  Convert Boolean equation to logic circuit
23.  Topology
24.  Two forms of data transmission
25.  MODES OF DATA TRANSMISSION – 182, 183
26.  Internet
27.  List out some of the Internet uses
28.  WWW
29.  HTML
30.  HTTP
31.  Two parts of Web Document
32.  Heading section & tags
33.  Meta tag
34.  Style tag
35.  Body Tag
36.  Other HTML Tags
37.  Font Tag
38.  Image tag & its Different ways
39.  Anchor tag
40.  Advanced HTML Tags
41.  Table Tag, Cell spacing, rowspan & colspan
42.  Form Tag
43.  Frame Tag


Book back Questions and summary points  and sums must be practiced .