Saturday, December 17, 2011
Friday, December 9, 2011
Wednesday, December 7, 2011
Thursday, December 1, 2011
Wednesday, November 30, 2011
Tuesday, November 15, 2011
FOC question bank 3
FOC Question Bank
2 mark / 4 marks
1. Lexical elements of c
2. Rules to be followed while declaring a variable in 'c'
3. What are escape sequence. State all escape sequence with its purpose.
4. Define constant. State its type.
5. Different ways of declaring a symbolic constants.
6. Different data types supported by 'c'
7. State the purpose of size of operator . Give its syntax.
8. Define the precedence and associativity of the operators.
9. Differentiate nested if and switch case statements.
10. What do you mean by 'dangling else problem' ?
11. Differentiate break and continue statements.
13. Ruels to be followed in forming an identifier.
14. write a c program for the following program
i) a=5<=8&&6!=5
ii) a=b++ + ++b where b=50
16/8/10 marks
1. Structure of a C program
2. Explain in detail about operators and expressions.
3. Describe the features of different types in 'c'
4. Explain briefly the formatted and unformatted I/O functions in 'c'
5. Explain in detail about branching statements in c with eg.
6. Explain in detail about looping statements in c with eg.
7. programs
a. swapping of 2 numbers (with & without temporary variable)
b. Leap year checking
c. Greatest of 3 nos.
d. Sum of 'n' natural nos.
e. Factorail of a no,
f. Prime no. checking and generation
g. Fibonacci series
h. Armstrong no.
i. sum of squares of first n numbers
j. Pascal trianlge
k. Palindrome checking
l. menu driven calculator
2 mark / 4 marks
1. Lexical elements of c
2. Rules to be followed while declaring a variable in 'c'
3. What are escape sequence. State all escape sequence with its purpose.
4. Define constant. State its type.
5. Different ways of declaring a symbolic constants.
6. Different data types supported by 'c'
7. State the purpose of size of operator . Give its syntax.
8. Define the precedence and associativity of the operators.
9. Differentiate nested if and switch case statements.
10. What do you mean by 'dangling else problem' ?
11. Differentiate break and continue statements.
13. Ruels to be followed in forming an identifier.
14. write a c program for the following program
i) a=5<=8&&6!=5
ii) a=b++ + ++b where b=50
16/8/10 marks
1. Structure of a C program
2. Explain in detail about operators and expressions.
3. Describe the features of different types in 'c'
4. Explain briefly the formatted and unformatted I/O functions in 'c'
5. Explain in detail about branching statements in c with eg.
6. Explain in detail about looping statements in c with eg.
7. programs
a. swapping of 2 numbers (with & without temporary variable)
b. Leap year checking
c. Greatest of 3 nos.
d. Sum of 'n' natural nos.
e. Factorail of a no,
f. Prime no. checking and generation
g. Fibonacci series
h. Armstrong no.
i. sum of squares of first n numbers
j. Pascal trianlge
k. Palindrome checking
l. menu driven calculator
Friday, November 11, 2011
Thursday, November 10, 2011
Thursday, November 3, 2011
Tuesday, November 1, 2011
Wednesday, October 19, 2011
Pseudocode solutions(CAT2 Q bank)
a)Pseudocode:
INITIALIZE N=1.
INITIALIZE sum S=0.
INITIALIZE N=1.
INITIALIZE sum S=0.
WHILE N<21
CALCULATE S=S+N.
CALCULATE N=N+2.
END WHILE
PRINT S.
CALCULATE N=N+2.
END WHILE
PRINT S.
STOP
Thursday, October 13, 2011
Wednesday, October 5, 2011
Tuesday, September 27, 2011
Saturday, September 24, 2011
Friday, September 16, 2011
Wednesday, September 14, 2011
Full Computer Laboratory Notes!
Follow these links!
2.https://docs.google.com/leaf?id=1b6uyDcrLCFnlrxVJcwgfAHQZ8_c4t5PwxxLTszGxvYq_voYgKXr-6bwL_9Ge&hl=en_US
3.https://docs.google.com/leaf?id=1CLJtqTrCTOZcAR9-qXI2QSEUXn4Udv8aucSdXgc6rHLMkNbJRo5Z6f3QSlEh&hl=en_GB
4.https://docs.google.com/leaf?id=1_WYmV8JmuIwY1ddZRxW29yUTUqVXaGAjPBEZuj-M7flDuOpbOds7xw3iPwpt&hl=en_GB
5.https://docs.google.com/leaf?id=1bwkdK-FInF5ewzpDreJLwv9kikrGFJ3TeYu7gNGMSdUIaqPMINzvVn6PQtSL&hl=en_US
6.https://docs.google.com/leaf?id=1daUgq7gYcPM8Ob1NGIyn8iTb4MIojgiChvh0orRQcXAL1oDy9xciQiua9xP_&hl=en_GB
7.https://docs.google.com/leaf?id=1ddxpKTNnC0opLnSHob2eauTsEtE0mjTyMaOr1LNtMdjaiZwmgKrcwdwuBeWd&hl=en_GB
Enjoy writing record!!! ;) :P
2.https://docs.google.com/leaf?id=1b6uyDcrLCFnlrxVJcwgfAHQZ8_c4t5PwxxLTszGxvYq_voYgKXr-6bwL_9Ge&hl=en_US
3.https://docs.google.com/leaf?id=1CLJtqTrCTOZcAR9-qXI2QSEUXn4Udv8aucSdXgc6rHLMkNbJRo5Z6f3QSlEh&hl=en_GB
4.https://docs.google.com/leaf?id=1_WYmV8JmuIwY1ddZRxW29yUTUqVXaGAjPBEZuj-M7flDuOpbOds7xw3iPwpt&hl=en_GB
5.https://docs.google.com/leaf?id=1bwkdK-FInF5ewzpDreJLwv9kikrGFJ3TeYu7gNGMSdUIaqPMINzvVn6PQtSL&hl=en_US
6.https://docs.google.com/leaf?id=1daUgq7gYcPM8Ob1NGIyn8iTb4MIojgiChvh0orRQcXAL1oDy9xciQiua9xP_&hl=en_GB
7.https://docs.google.com/leaf?id=1ddxpKTNnC0opLnSHob2eauTsEtE0mjTyMaOr1LNtMdjaiZwmgKrcwdwuBeWd&hl=en_GB
Enjoy writing record!!! ;) :P
Monday, September 5, 2011
Sunday, September 4, 2011
Hey Friends!!
This blog is going to be the official one for our class....
I'll be posting links and other necessary items on this blog everyday!
Be updated! =)
I'll be posting links and other necessary items on this blog everyday!
Be updated! =)
Subscribe to:
Posts (Atom)