14
Vidyarthiplus Indian Students Online Education Forum www.Vidyarthiplus.com Question Paper Code : 37007 B.E./B.Tech. DEGREE EXAMINATION, JANUARY 2014. First Semester Civil Engineering GE 6151 COMPUTER PROGRAMMING (Common to all branches) (Regulation 2013) Time : Three hours Maximum : 100 marks Answer ALL questions. PART A (10 x 2 = 20 marks) 1. List some important hardware and software technologies of fifth generation computers. 2. Write two characteristics of pseudocode. 3. What are various types of C operators? 4. Write a for loop statement to print numbers from 10 to 1. 5. Define array. 6. Name any two library functions used for string handling. 7. What is the need for functions? 8. What is the uses of pointers? 9. Write any two preprocessor directives in C. 10. Differentiate between structure and union. www.Vidyarthiplus.com Vidyarthiplus Indian Students Online Education Forum

Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING

  • Upload
    vukhanh

  • View
    221

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING

Vidyarthiplus ­ Indian Students Online Education Forumwww.Vidyarthiplus.com

Question Paper Code : 37007

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

First Semester

Civil Engineering

GE 6151 ­ COMPUTER PROGRAMMING

(Common to all branches)

(Regulation 2013)Time : Three hours       Maximum : 100 marks

Answer ALL questions.

PART A ­ (10 x 2 = 20 marks)

1. List some important hardware and software technologies of fifth generationcomputers.

2. Write two characteristics of pseudocode.

3. What are various types of C operators?

4. Write a for loop statement to print numbers from 10 to 1.

5. Define array.

6. Name any two library functions used for string handling.

7. What is the need for functions?

8. What is the uses of pointers?

9. Write any two preprocessor directives in C.

10. Differentiate between structure and union.

www.Vidyarthiplus.comVidyarthiplus ­ Indian Students Online Education Forum

Page 2: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING

Vidyarthiplus ­ Indian Students Online Education Forumwww.Vidyarthiplus.com

PART B ­ (5 x 16 = 80 marks)

11.(a) Write in detail about the evolution and the various generations of computers.

OR

11.(b) Explain the basic computer organisation using a neat diagram. (16)

12.(a) Write about the need and types of looping statements in C language anddiscuss with examples. (16)

OR

12.(b) Write about the need and types of branching statements in C language anddiscuss with examples. (16)

13.(a)(i) Write a C program to reverse a string. (8)          (ii) Write a C program to print the Fibonacci series of a given number. (8)

OR

13.(b) Write a C program to print the sum of two matrices. (16)

14.(a) Explain the following with suitable examples.(i) Function declaration (8)(ii) Call by reference, call by value. (8)

OR

14.(b)(i)Explain function with and without arguments with examples for each.(10)          (ii) What is recursion? Give an example. (6)

15.(a)(i) What is storage class? List and explain with example. (8)          (ii) Define and declare a structure to store date, which including day, monthand year. (8)

OR

15.(b) Write a C program to create a mark sheet for students using structure.(16)

www.Vidyarthiplus.comVidyarthiplus ­ Indian Students Online Education Forum

Page 3: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING
Page 4: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING
Page 5: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING

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)

Page 6: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING

ii) Write notes on Pointers. (8)

Page 7: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING
Page 8: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING
Page 9: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING
Page 10: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING

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)

Page 11: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING

(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)

Page 12: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING

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 13: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING
Page 14: Vidyarthiplus Indian Students Online Education Forum …fmcet.in/SH/GE6151_auque.pdf ·  · 2014-09-18Vidyarthiplus Indian Students Online Education Forum ... GE 6151 COMPUTER PROGRAMMING