This document contains questions for an exam on fundamentals of computing and programming in C. It has two parts:
Part A contains 10 multiple choice questions worth 2 marks each, covering topics like computer classification, binary/octal conversion, IP addresses, software types, pseudocode, office packages, loop statements in C, and functions to check for leap years and concatenate strings.
Part B contains 5 longer answer questions worth 16 marks each, including questions on computer organization, software development processes, algorithms to compute Fibonacci series and matrix addition/multiplication, data types in C, string handling, and pointers. Examples of C programs are also requested, such as counting letters in a string or reversing the order of numbers
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0 ratings0% found this document useful (0 votes)
41 views3 pages
Q Bank
This document contains questions for an exam on fundamentals of computing and programming in C. It has two parts:
Part A contains 10 multiple choice questions worth 2 marks each, covering topics like computer classification, binary/octal conversion, IP addresses, software types, pseudocode, office packages, loop statements in C, and functions to check for leap years and concatenate strings.
Part B contains 5 longer answer questions worth 16 marks each, including questions on computer organization, software development processes, algorithms to compute Fibonacci series and matrix addition/multiplication, data types in C, string handling, and pointers. Examples of C programs are also requested, such as counting letters in a string or reversing the order of numbers
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 3
B.E./B.
Tech DEGREE EXAMNATON, 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 P 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 nternet 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) (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)
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: 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)
B.E./B.Tech. Degree Examinations, January 2010 Regulations 2008 First Semester Commom To All Branches Ge2112 Fundamental of Computing and Programming PART A - (10 2 20MARKS)