42

CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

Embed Size (px)

Citation preview

Page 1: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal
Page 2: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal
Page 3: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal
Page 4: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal
Page 5: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal
Page 6: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal
Page 7: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

UNIVERSITY QUESTION PAPER

B.E. / B.Tech DEGREE EXAMINATION, JANUARY 2009

First Semester GE 2112 – FUNDAMENTALS OF COMPUTER PROGRAMMING

Time: Three hours Maximum: 100 Marks

Answer ALL questions PART – A (10 X 2 = 20 marks)

1. State the characteristics of computers. 2. How will you classify computer systems? 3. Differentiate Application software and System software? 4. Name any two Internet applications. 5. Draw a flowchart to find the maximum among the three numbers. 6. Name any four Application Software Packages. 7. Write the following conditions using “?” operator.

4x+100 for x<40 Salary = 300 for x=40 4.5x+150 for

x>40 8. Write the limitations of using getchar() and scanf() functions for reading strings. 9. Define a C function to exchange the content of two variables. 10. Write the format of the following functions: (a) fseek (b) fopen.

PART –B (5X16=80marks)

11. a) i) Explain the evolution of computers. (8)

ii) With suitable diagram explain about computer organization. (8)

(OR) b) With suitable example, explain about Number

Systems. (16) 12. a) Explain the various types of software with suitable examples.

(16) (OR)

b) Explain in detail about the software development steps. (16)

13. a) i) Draw a flowchart to multiply two matrices. (8)

ii) Write the pseudo code to multiply two matrices. (8)

(OR) b) i) What is an algorithm? Write an algorithm to print even numbers from 2 to 100.

(8) ii) Explain any 8 Formatting features of an Application packages.

(8) 14. a) i) Explain the various looping constructs. Give an example for each and explain

the Working f the construct. (8)

ii) Write a C program to find the sum of the series:

Page 8: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

S = 1+x+x2+x3+…+xn

(8) (OR)

b) i) write a C program to print the given numbers in reverse order. (8)

ii) Explain any 2 constructs used for decision making. Given an example for each and Explain the working of the construct.

(8) 15. a) i) Explain about the different parameter passing methods with examples.

(8) ii) Write notes on storage classes in C.

(8) (OR)

b) i) Explain about structures and unions suitable examples. (8)

ii) Write notes on Pointers. (8)

Page 9: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

B.E./B.Tech DEGREE EXAMINATION, APRIL / MAY 2009

First Semester CS 16 – FUNDAMENTALS OF COMPUTING AND

PROGRAMMING (Regulation 2008) Time: Three hours Maximum: 100 Marks

Answer ALL questions PART – A (10 X 2 = 20 marks)

(1) Why computer is known as data processor? (2) What is cache memory? How is it different from primary memory?

(3) Different between web page and web site. (4) What is the difference between interpreter and compiler? (5) What are the rules for pseudocode? (6) Write algorithm to print biggest of three numbers.

(7) What is the purpose of main()?

(8) What is an argument? Differentiate between formal arguments and actual arguments.

(9) How a variable is declared to be a pointer? (10) Why use arrays?

PART –B (5X16=80marks)

11 a) i) Explain in detail the characteristics of Computers.

(8) ii) Discuss in detail the classification of computers.

(8) (OR)

b)Write short notes on: i) Menory of a computer ii) Secondary storage devices.

(8+8)

12 a) Discuss about the different steps involved in the software development. (16)

(OR) b) How the software are classified? Explain each with relevant

example. (16)

13.a) What is the difference between an algorithm and pseudocode? Also write an Algorithm and

pseudocode for solving a quadratic equation. (16) (OR)

b) i) Explain any eight formatting features with suitable example. (8) ii) Explain application of software packages. (8)

14. a) Describe various data types in C.

b) Describe any four I/O statement of „C‟. (8+8)

(OR) c) Draw a flowchart and write a C program to print student grade using structure.

(16)

Page 10: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

15. a) Write C program to read and write employee and their data of joining using nested

structure. (16)

(OR) b) i) Describe what is meant be passing by reference. Explain with your own example.

ii) Describe how to declare two dimensional array using pointers. And write a for

loop to store information and later modification to the declared pointer.

(8+8)

B.E./B.Tech DEGREE EXAMINATION, JANUARY / FEBRUARY 2009 First Semester

Civil Engineering GE 2112 – FUNDAMENTALS OF COMPUTING AND PROGRAMMING

(Regulation 2008) Time: Three hours Maximum: 100 Marks

Answer ALL questions PART – A (10 X 2 = 20 marks

1. What are the factors needed to classify computers? 2. Write the binary and octal equivalent of hexadecimal number 7BD. 3. What is IP Address? 4. List the different types of software. 5. What is pseudo code? 6. List any four office packages.

7. Distinguish between While..Do and Do…While statement in C. 8. Write a C program to print the number 10 ten times, the number 9 nine times and so on. 9. Write a C function to check whether the given year is leap or not. 10. Write any two different between structures and union.

PART –B (5X16=80marks)

11.a) i) Explain different types of computers.

(8) ii) Discuss about the evolution of computers.

(8) (OR)

b) With suitable diagram, explain the basic organization of computers. (16)

12. a) Explain the step involved in software developments with suitable example.

(16) (OR)

b) i) Discuss the services provided by the internet. (8) ii) Describe the basic Internet terminologies used.

(8)

Page 11: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

13. a) i) Write algorithm to print the Fibonacci series: (0,1,1,2,3,5,8,13,…)

(8) ii) Draw a flowchart to add two matrices. (8)

(OR) b) i) Write a pseudo code for calculating compound interest.

(8) ii) Write the uses of flowchart and algorithm with suitable examples. (8)

14.a) Explain different data types in C with suitable examples.

(16) (OR)

b) i) Write a C program to count the letters in a sequence of characters. (8)

ii) Write the use of switch… case construct with its syntax and an example. (8)

15. a) i) Write a C program to concatenate two strings.

(8)

ii) Discuss about pointers and its use in C. (8)

(OR) b) i) Explain about structure declaration in C with suitable example. (8) ii) Discuss about preprocessor facility in „C‟. (8)

Page 12: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

B.E./B.Tech DEGREE EXAMINATION, JANUARY / FEBRUARY

2009 First Semester 080230001 – FUNDAMENTALS OF COMPUTING AND PROGRAMMING

(Regulation 2008) Time: Three hours Maximum: 100 Marks

Answer ALL questions PART – A (10 X 2 = 20 marks

1. Give any two tasks which humans perform better than computers. 2. What is the use of computers in medicine and healthcare?

3. Convert the binary number 100110 in to its octal equivalent. 4. What are registers? 5. Distinguish between application software and system software. 6. What is soft loading?

7. What are the steps involved in booting?

8. Distinguish between graphical browsers and text browsers. 9. What are the disadvantages of assembly language?

10. What are the features of a good programming language? 11. What is a loader? What are its basic tasks? 12. What is a ternary operator? Give an example.

13. What is use of “break” statement in C. 14. List the rules for defining variable in c. 15. What is an identifier? Give any two example for an identifier. 16. Write a C program to print the following pattern.

0 1 0 1

2 1 0 1 2 17. Is it possible to refer to the elements of an array by using pointer natation? If so, give

an example.

18. What will the output of the following program be? #include<stdio.h>

main() { charname[15]=”mountain”; printf(“%s/n “,name); printf(“%55\n”,name); printfi‟ „%8s\n”,name); printf(“%-10.4s”,name); }

19. What is recursion? Give its applications. 20. What are the advantages of pointers?

PART –B (5X16=80marks)

21. a) Explain the various loop structure available in C.

(6) b) Write a C program using a user-defined function to sort numbers in descending order. (6)

22. Explain in detail how an array can be passed as a parameter in a user-defined function.

Illustrate your answer with an example program. (12)

Page 13: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

23. Explain in detail about the different generations of computers.

(12) 24. a) Explain briefly about the evolution of the internet.

(8) b) Define “URL”.Give its basic structure with an example.

(4) 25. a) Explain the various steps involved in the program development cycle.

(8) b) Give the advantage and limitations of

(4) i) Flowchart

ii) Pseudocode

26 a) Explain briefly the various chargacteristics of computers.

(6) b) Explain briefly about the following classes of computers:

(6) i) Mainframe computers ii) Super computers

27. a) Write a C program to check if a given number is a prime number.

(6) b) Write a C program to convert the number of years represented by an integer into the

following units of time: (6)

i) Minutes ii) Hours iii) Days iv) Months v) Seconds Use switch() statement.State the assumption in your program.

28. a) The following program was intended to interchange the values assigned to two integer

variables. #include <stdio.h> void swap(int x, int y) { int p,q;

p=x;

q=y;

x=q;

y=p; } void main( ) {

int a=5; int b=3; swap(a,b); printf(“%d %d\n”, a,b);

} What will be the output of this program? Explain why the program will not give

the desired output. (6)

b) How will you modify the program so that the values are interchanged in the function swap( ) and are displayed in the function main( )?

(6)

Page 14: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

ANNA UNIVERSITY COIMBATORE

B.E./B.Tech DEGREE EXAMINATIONS: JANUARY / FEBRUARY 2010 REGULATIONS: 2008:First Semester

080230001 – FUNDAMENTALS OF COMPUTING AND PROGRAMMING (COMMON TO ALL BRANCHES)

Time: Three hours Maximum: 100 Marks

PART – A (20 X 2 = 40 marks) ANSWER ALL QUESTIONS

1. Differentiate between analog and digital computers. 2. Give the full form of ENIAC and EDVAC.

3. Find the decimal equivalent of the hexadecimal number 4D.C8.

4. Convert hexadecimal number into binary equivalent of EBC. 5. Differentiate between machine language and high level language.

6. Difference between Compiler and Interpreter. 7. What is an ISP? What are the services provided by ISP? 8. What is the difference between web page and website? 9. Define an algorithm. What are the characteristics necessary for a sequence of

instructions to qualify 10. What are the various basic symbols used in flowcharting? Give their practical

representation. 11. Give the output of the following code:

float c=34.78650; printf (“%6.2f”,c);

12. What is a word processing package? List out some of the key features supported by Modern word processing packages.

13. What are the different between constant and variable? 14. Differentiate between local and global variables. 15. Compare Structure with Union. Give Example.

16. What are the various types of operators supported by C? 17. What is meant by recursion? 18. List out the differences between call by value and call by reference? 19. What is an array? What are the classifications of arrays? 20. List the common preprocessor directives.

PART-B (5X12=60 Marks) ANSWER ANY FIVE QUESTIONS

21. With a neat block diagram explain the basic organization of a computer and list out the functions performed by each unit.

22. a) Explain briefly about the various classifications of computers.

(6) b) Explain about the different generations of computers.

(6) 23. a) Explain the various steps involved in the program development cycle.

(8) b) List out the important characteristics of computers.

(4) 24. a) Name some of the basic services provided by the internet. Explain how each

of these services help the internet users. (6)

b) Short notes about the evolution of the internet. (6)

Page 15: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

25. a) What are the various guidelines to be followed while drawing a flowchart?

Discuss the advantages and limitations of flowcharting. (8)

b) Draw the flowchart to check whether the given number is prime or not.

(4) 26. a) Short notes about the sequence control structures and selection control structures.

(6) b) What do your mean by pseudo code? Write the pseudo code to add up all the even numbers between 0 and 100 and print the result.

(6) 27. Write the syntax and examples for decision making statements such as if, switch

and looping statements such as for, while, do-while. (12)

28. a) Write a C program to calculate the factorial of an integer number. (6)

b) Write a C program to check whether the given number is even or odd. (6)

Page 16: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

B.E./B.TECH. DEGREE EXAMINATIONS, JANUARY 2010 REGULATIONS 2008 FIRST SEMESTER

COMMOM TO ALL BRANCHES GE2112 FUNDAMENTAL OF COMPUTING AND PROGRAMMING

TIME:THREE HOURS MAXIMUM:100 MARKS

ANSWER ALL QUESTIONS

PART A-(10*2=20MARKS)

1.Distinguish between Analog and Digital

computer. 2.Convert 0.4375 decimal to binary

system. 3.Distiguish between complier and

interpreters. 4.What is web server?

5.What is an algorithm?

6.Give the importance of a graphic packages.

7.Write a code segment using while statement to print numbers from 10 down to 1. 8.Write a c program for the following expressions.

(a)a=5 <= 8 && 6!=5 (b)a = b++ + ++b where b = 50

9.How strings are represented in c language?

10.What are the advantages of unions over structures?

PART B-(5*16=80 MARKS)

11.(a)(i)What are the characteristic of a computer? Discuss

Page 17: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

(ii)Briefly explain the various generations of computers. (iii)Convert the decimal number 59.8125 into binary and octal.

(OR)

11(b)Explain the different components of a computer system with block diagram.

12.(a)(i)Describe the differnt types of software with examples. (ii)List the differnt software development steps and explain.

(OR)

12.(b)(i)Explain the common types of internet access. (ii)Write short notes on web brwer. (iii)Explain a typical structure URL.

13. (a)Draw and explain the various symbols of flowchart and also draw the flowchar to add an array of N elements

(OR)

13.(b)(i)Explain the features of Power Point package.

(ii)List and explain the features supported by spreadsheet package. (iii)Briefly write about Desktop Publishing Software.

14.(a)(i)What are the different operators available in C? Explain with examples. (ii)Differentiate between signed and unsigned integer.

(OR)

14.(b)(i)Explain the following conditional statements. 1.nested if-else statement 2.switch-case statement (ii)Write a Cprogram that reads a number and display whether the number is prime or not.

15.(a)(i)Write a C program to reverse a given string. (ii)Differentiate pass by value and pass by address in c.

(OR)

15.(b)Write a Cprogram that gets and display the report of n students with their personal and academic detals using structures.

Page 18: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

B.E./B.Tech DEGREE EXAMINATION, JANUARY

/FEBRUARY 2009

First Semester GE 2112 – FUNDAMENTALS OF COMPUTING

AND PROGRAMMING (Regulation 2008)

Time: Three hours Maximum: 100 Marks Answer ALL questions PART – A (10 X 2 = 20 marks

1. What are the factors needed to classify computers?

2. Write the binary and octal equivalent of hexadecimal number 7BD.

3. What is IP Address?

4. List the different types of software.

5. What is pseudo code?

6. List any four office packages.

7. Distinguish between While..Do and Do…While statement in C. 8. Write a C program to print the number 10 ten times, the number 9 nine times and so on. 9. Write a C function to check whether the given year is leap or not.

10. Write any two different between structures and union.

PART –B (5X16=80marks)

11.a) i) Explain different types of computers. (8) ii) Discuss about the evolution of computers. (8) (OR) b) With suitable diagram, explain the basic organization of computers. (16)

12. a) Explain the step involved in software developments with suitable example. (16) (OR) b) i) Discuss the services provided by the internet. (8) ii) Describe the basic Internet terminologies used. (8)

13. a) i) Write algorithm to print the Fibonacci series: (0,1,1,2,3,5,8,13,…) (8) ii) Draw a flowchart to add two matrices. (8)

Page 19: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

(OR)

b) i) Write a pseudo code for calculating compound interest. (8)

ii) Write the uses of flowchart and algorithm with suitable examples. (8)

14.a) Explain different data types in C with suitable examples. (16) (OR) b) i) Write a C program to count the letters in a sequence of characters. (8)

ii) Write the use of switch… case construct with its syntax and an example. (8)

15. a) i) Write a C program to concatenate two strings. (8) ii) Discuss about pointers and its use in C. (8) (OR) b) i) Explain about structure declaration in C with suitable example. (8) ii) Discuss about preprocessor facility in 'C'. (8)

Page 20: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

UNIVERSITY QUESTION PAPER

B.E. / B.Tech DEGREE EXAMINATION, JANUARY 2009

First Semester GE 2112 – FUNDAMENTALS OF COMPUTER PROGRAMMING

Time: Three hours Maximum: 100 Marks

Answer ALL questions

PART – A (10 X 2 = 20 marks)

1. State the characteristics of computers.

2. How will you classify computer systems?

3. Differentiate Application software and System software?

4. Name any two Internet applications. 5. Draw a flowchart to find the maximum among the three numbers. 6. Name any four Application Software Packages.

7. Write the following conditions using “?” operator.

4x+100 for x<40 Salary = 300 for x=40

4.5x+150 for x>40 8. Write the limitations of using getchar() and scanf() functions for reading

strings. 9. Define a C function to exchange the content of two variables. 10. Write the format of the following functions: (a) fseek (b) fopen.

PART –B (5X16=80marks)

11. a) i) Explain the evolution of computers. (8)

ii) With suitable diagram explain about computer organization. (8) (OR)

(16 b) With suitable example, explain about Number Systems. )

(16 12. a) Explain the various types of software with suitable examples. )

(OR)

Page 21: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

b) Explain in detail about the software development steps.

13. a) i) Draw a flowchart to multiply two matrices. ii) Write the pseudo code to multiply two matrices.

(OR) b) i) What is an algorithm? Write an algorithm to print even numbers from 2 to 100. (8)

ii) Explain any 8 Formatting features of an Application packages. (8) 14. a) i) Explain the various looping constructs. Give an example for each and

explain the

Working f the construct. (8)

ii) Write a C program to find the sum of the series: S = 1+x+x2+x3+…+xn (8) (OR)

b) i) write a C program to print the given numbers in reverse order. (8) ii) Explain any 2 constructs used for decision making. Given an example for

each and Explain the working of the construct. (8) 15. a) i) Explain about the different parameter passing methods with examples. (8)

ii) Write notes on storage classes in C. (8)

(OR) b) i) Explain about structures and unions suitable examples. (8)

ii) Write notes on Pointers. (8)

(16

)

(8)

(8)

Page 22: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal
Page 23: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

Reg. No. :

Question Paper Code : 21466

B.E./B.Tech. DEGREE EXAMINATION , MAY/JUNE 2013.

First Semester

Civil Engineering

GE 2112/CS 16/080230001 – FUNDEMENTALS OF COMPUTING AND

PROGRAMMING

(Common to all Branches)

(Regulation 2008)

Time : Three hours Maximum : 100 marks

Answer ALL questions

PART A – (10 X 2 = 20 marks)

1. Distinguish between analog and digital computer.

2. Find the decimal equivalent of the binary number (10110011)2.

3. What are the types of web browsers?

4. List some of the internet applications.

5. What is an algorithm?

6. What are the advantages of flowchart?

7. Name the basic data types used in C.

8. What are the various I/O functions in C?

9. What is array?

10. How is a pointer variable initialized?

PART B – (5 X 16 = 80 marks)

11. (a) (i) Explain the various generations of computer. (10)

(ii) Briefly explain the characteristics of a computer. (6)

Or

(b) (i) Draw the block diagram of a computer and explain. (10)

(ii) Convert the decimal number 698.125 into the binary and octal

equivalent. (6)

12. (a) (i) Explain about the types of software. (10)

www.vidyarthiplus.com

www.vidyarthiplus.com

Page 24: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

(ii) Write about URL. (6)

Or

(b) (i) Discuss the software development steps. (10)

(ii) Explain the common types of internet connections. (6)

13. (a) (i) Explain the features of Microsoft Word. (10)

(ii) Draw a flowchart to find the largest of three numbers. (6)

Or

(b) (i) Discuss the features of Microsoft Excel. (8)

(ii) What is pseudo code? Explain its guidelines and benefits. (8)

14. (a) (i) Explain the different Types of operator available in C. (8)

(ii) Write a C program to evaluate the following series. (8)

Or

(b) (i) What are constants? Explain the various types of constants in

C. (8)

(ii) Write a C program to find the number of and sum of all

integers greater than 100 and less than 200 that are divisible

by 7. (8)

15. (a) (i) Write a C program to find sum of the diagonal elements of a

matrix. (10)

(ii) Write a C program to count the number of words in a string

using pointers. (6)

Or

(b) (i) Explain the various storage classes in C. (8)

(ii) Write the C program to exchange the values of two variables

using function. (8)

-------------------------------------------

www.vidyarthiplus.com

www.vidyarthiplus.com

Page 25: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.vidyarthiplus.com

Question Paper Code : 11432

B.E/B.Tech DEGREE EXAMINATION, JANUARY 2013.

First Semester

GE2112 --FUNDAMENTALS OF COMPUTING AND PROGRAMMING

(Regulation 2008/2010) Time:Three hours Maximum: 100 marks

Answer ALL questions

PART - A (10 X 2 = 20 marks) 1.Give the Classification of Computer. 2.Convert the (756)10 to Octal and Hexa decimal. 3.What are the Various types of Software? 4.What is a Protocol? 5.What is a pseudocode? 6.Define Algorithm. 7.Write any four escape sequences in ‘C’. 8.Distinguish between While.....and do....While statement. 9.What is a Pointer? 10.Write any four features of Arrays.

Part B -- (5 X 16 = 80 marks)11. (a) (i) Explain the Characteristics of Computers. (8)

www.vidyarthiplus.com

Page 26: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.vidyarthiplus.com

(ii) Discuss the evolution of Computers. (8)

OR (b) Explain the basic organisation of Computer with suitable block diagram. (16) 12. (a) Explain the steps of software developments with suitable examples. (16)

OR

(b) (i) Discuss the following Internet terminologies(1) Band width(2) FTP(3) IP Address(4) Modem (8)

(ii) Write some of the Internet applications. (8)

13. (a) (i) Draw the Flowchart for finding the roots of a quadratic equation. (8)

(ii) Write an algorithm to find the largest of three numbers. (8)

OR

(b) Discuss in detail about the features of Office Packages. (16) 14. (a) (i) Explain the different data types in ‘C’ with examples. (8)

(ii) Discuss about bitwise operators and logical operators in ‘C’. (8)

OR

(b) (i) Explain any four format string with examples. (4)

(ii) Write the syntax of “for construct” in C.Give an example. (4)

(iii) Write a C program to count the letters in a sequence of characters. (8) 15. (a) (i) Write a C program to sort the given set of numbers in ascending

order. (8)

(ii) Discuss about any eight built-in functions. (8)

www.vidyarthiplus.com

Page 27: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.vidyarthiplus.com

OR

(b) (i) Write the syntax of structure declaration in ’C’ program.Give an example. (4)

(ii) Distinguish between structure and union. (4) (iii) Write a C program to find the addition of two matrices. (8)

------------------------

www.vidyarthiplus.com

Page 28: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.Vidyarthiplus.com

www.Vidyarthiplus.com

Page 29: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.Vidyarthiplus.com

www.Vidyarthiplus.com

Page 30: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.Vidyarthiplus.com

www.Vidyarthiplus.com

Page 31: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.Vidyarthiplus.com

www.Vidyarthiplus.com

Page 32: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.Vidyarthiplus.com

www.Vidyarthiplus.com

Page 33: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.Vidyarthiplus.com

www.Vidyarthiplus.com

Page 34: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.Vidyarthiplus.com

www.Vidyarthiplus.com

Page 35: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

B.E./B.TECH. DEGREE EXAMINATIONS, JANUARY 2010REGULATIONS 2008FIRST SEMESTER

COMMON TO ALL BRANCHESGE2112 FUNDAMENTAL OF COMPUTING AND PROGRAMMING

PART A-(10*2=20MARKS)

1.Distinguish between Analog and Digital computer.2.Convert 0.4375 decimal to binary system.3.Distinguish between compiler and interpreters.4.What is web server?5.What is an algorithm?6.Give the importance of a graphic packages.7.Write a code segment using while statement to print numbers from 10 down to 1.8.Write a c program for the following expressions.(a)a=5 &lt;= 8 &amp;&amp; 6!=5(b)a = b++ + ++b where b = 509.How strings are represented in c language?10.What are the advantages of unions over structures?

PART B-(5*16=80 MARKS)

11.(a)(i)What are the characteristic of a computer? Discuss(ii)Briefly explain the various generations of computers.(iii)Convert the decimal number 59.8125 into binary and octal.(OR)11(b)Explain the different components of a computer system with block diagram.

12.(a)(i)Describe the different types of software with examples.(ii)List the different software development steps and explain.(OR)12.(b)(i)Explain the common types of internet access.(ii)Write short notes on web browser.(iii)Explain a typical structure URL.

13. (a)Draw and explain the various symbols of flowchart and also draw the flowchar to add an arrayof N elements(OR)13.(b)(i)Explain the features of Power Point package.(ii)List and explain the features supported by spreadsheet package.(iii)Briefly write about Desktop Publishing Software.

www.vidyarthiplus.com

www.vidyarthiplus.com

Page 36: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

14.(a)(i)What are the different operators available in C? Explain with examples.(ii)Differentiate between signed and unsigned integer.(OR)14.(b)(i)Explain the following conditional statements.1.nested if-else statement2.switch-case statement(ii)Write a C program that reads a number and display whether the number is prime or not.

15.(a)(i)Write a C program to reverse a given string.(ii)Differentiate pass by value and pass by address in c.(OR)15.(b)Write a C program that gets and display the report of n students with their personaland academic details using structures.

www.vidyarthiplus.com

www.vidyarthiplus.com

Page 37: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.vidyarthiplus.com

www.vidyarthiplus.com

Page 38: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.vidyarthiplus.com

www.vidyarthiplus.com

Page 39: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.vidyarthiplus.com

Page 40: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal

www.vidyarthiplus.com

Page 41: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal
C.SRIDHAR
Typewritten Text
www.vidyarthiplus.com
Page 42: CP UNIVERSITY QUESTIONS.pdf · Write the following conditions using “?” operator. ... explain about Number Systems. (16) ... Write the binary and octal equivalent of hexadecimal
C.SRIDHAR
Typewritten Text
www.vidyarthiplus.com