Reg. No. : Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, JANUARY First Semester GE 6151 COMPUTER PROGRAMMING

Similar documents
(i) Describe in detail about the classification of computers with their features and limitations(10)

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

Reg. No. : Question Paper Code : 27157

Questions Bank. 14) State any four advantages of using flow-chart

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

Kadi Sarva Vishwavidyalaya, Gandhinagar

Code No: R Set No. 1

Aryan College. Fundamental of C Programming. Unit I: Q1. What will be the value of the following expression? (2017) A + 9

(Following Paper ID and Roll No. to be filled by the student in the Answer Book)

Programming for Problem Solving 105A L T P Credit Major Minor Total Time

COMPUTER PROGRAMMING LAB

PROGRAMMING IN C AND C++:

Tribhuvan University Institute of Science and Technology 2065

Subject: PROBLEM SOLVING THROUGH C Time: 3 Hours Max. Marks: 100

Syllabus of Diploma Engineering. Computer Engineering. Semester: II. Subject Name: Computer Programming. Subject Code: 09CE1104

PERIYAR CENTENARY POLYTECHNIC COLLEGE Periyar Nagar- Vallam Thanjavur

ANNA UNIVERSITY: CHENNAI B.E./B.Tech. DEGREE EXAMINATIONS, JAN Regulations First Semester (Common to All Branches )

M4.1-R3: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE

Long Questions. 7. How does union help in storing the values? How it differs from structure?

GE PROBLEM SOVING AND PYTHON PROGRAMMING. Question Bank UNIT 1 - ALGORITHMIC PROBLEM SOLVING

I Year MCA I Semester L T P To C FOUNDATIONS OF INFORMATION TECHNOLOGY

For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit

Gujarat University M. Sc. Computer Science [S. F.] Semester-1 Syllabus Gujarat Arts & Science College, Ahmedabad.

Sardar Patel University S Y BSc. Computer Science CS-201 Introduction to Programming Language Effective from July-2002

B.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University

M1-R4: Programing and Problem Solving using C (JULY 2018)

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

UNIVERSITY OF ENGINEERING & MANAGEMENT, KOLKATA C ASSIGNMENTS

B. V. Patel Institute of Business Management, Computer & Information Technology, UTU 2013

GARDEN CITY UNIVERSITY. Bachelor of Computer Applications SEMESTER- I. Course: CONCEPTS OF PROGRAMMING USING C LANGUAGE CODE: 05ABCAR17111 CREDITS: 04

Question Paper Code : 97044

M3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE

DEPARTMENT OF COMPUTER APPLICATIONS SRM INSTITUTE OF SCIENCE AND TECHNOLOGY SRM NAGAR, KATTANKALATHUR

Subject: Computer Science


DR. A.P.J. ABDUL KALAM TECHNICAL UNIVERSITY LUCKNOW. Evaluation Scheme & Syllabus. For. B.Tech. First Year (Programming for Problem Solving)

Scheme G. Sample Test Paper-I. Course Name : Computer Engineering Group Course Code : CO/CD/CM/CW/IF Semester : Second Subject Tile : Programming in C

VALLIAMMAI ENGINEERING COLLEGE

TIME: 3 HOURS MARKS: a. Develop a java program to sort an array of N numbers in ascending order. (40)

17CS33:Data Structures Using C QUESTION BANK

1 P a g e A r y a n C o l l e g e \ B S c _ I T \ C \

C- PROGRAMMING (3:0:0) Sub code : CS1C01/CS2C01 CIE : 50%Marks Hrs/week : 03 SEE : 50%Marks SEE Hrs : 03 Hours Max. Marks: 100 Course Outcomes:

C for Electronic Engineering

CHOICE BASED CREDIT SYSTEM (With effect from )

Sai Nath University. Assignment For MCA 1 st

PESIT Bangalore South Campus Department of MCA Course Information for

Euclid s algorithm, 133

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

VALLIAMMAI ENGINEERING COLLEGE

DEPARTMENT OF INFORMATION TECHNOLOGY

Unit 4. Input/Output Functions

Multiple Choice Questions ( 1 mark)

Q1. Multiple Choice Questions

C-LANGUAGE CURRICULAM

IT 1003 Introduction to Programming (New)

VARIABLE, OPERATOR AND EXPRESSION [SET 1]

Name :. Roll No. :... Invigilator s Signature :.. CS/B.TECH (NEW)/SEM-2/CS-201/ BASIC COMPUTATION & PRINCIPLES OF COMPUTER PROGRAMMING

More on Arrays CS 16: Solving Problems with Computers I Lecture #13

'C' Programming Language

C How to Program, 7/e by Pearson Education, Inc. All Rights Reserved.

Loops / Repetition Statements

INDIAN SCHOOL MUSCAT COMPUTER SCIENCE(083) CLASS XI

RCTI, SOLA, AHMEDABAD INFORMATION TECHNOLOGY DEPARTMENT. SUBJECT :- Advanced Computer Programming ( )

Writing an ANSI C Program Getting Ready to Program A First Program Variables, Expressions, and Assignments Initialization The Use of #define and

r } ~ ~ ~.,-~_.-.,..--- ~.._ ~ -.- " ~.., ~ i-~--~-..., _-_... 4 _-~ _. '".~ j l.- ~ i...l...i- ~.JI

Programming for Engineers Arrays

Lab Manual. Program Design and File Structures (P): IT-219

UNIVERSITY OF MUMBAI No. UG/24 of

Hrs Hrs Hrs Hrs Hrs Marks Marks Marks Marks Marks

COMPUTER SCIENCE. Paper 1

C Programming. Course Outline. C Programming. Code: MBD101. Duration: 10 Hours. Prerequisites:

Name :. Roll No. :... Invigilator s Signature : INTRODUCTION TO PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70

Week 0. Net Salary =Earnings- deductions; Read the employee number, Basic Print employee Number, Earnings,Deductions and Net salary.

Solution Set(Reference Book - Programming with c By Byron Gottfried Thrid Edition)

List of Practical for Master in Computer Application (5 Year Integrated) (Through Distance Education)

C Programming

Numeral system Numerals

[6] [6] [6] [5] [5] [6] [5] [5]

Subject: Fundamental of Computer Programming 2068

COE 202- Digital Logic. Number Systems II. Dr. Abdulaziz Y. Barnawi COE Department KFUPM. January 23, Abdulaziz Barnawi. COE 202 Logic Design

COMPUTER SCIENCE HIGHER SECONDARY FIRST YEAR. VOLUME II - CHAPTER 10 PROBLEM SOLVING TECHNIQUES AND C PROGRAMMING 1,2,3 & 5 MARKS

Syllabus for Computer Applications

Computers Programming Course 5. Iulian Năstac

Chapter Binary Representation of Numbers

Advanced C Programming and Introduction to Data Structures

Loops / Repetition Statements

HIGER SECONDARY FIRST YEAR COMPUTER SCIENCE

3/13/2012. ESc101: Introduction to Computers and Programming Languages

Academic Programme: B.Sc. I Year. Computer Science (Optional) Hours. Fundamentals of Computer Hours.

C PROGRAMMING LAB MANUAL

Class 9 Saturday, Feb 14

Contents. Preface. Introduction. Introduction to C Programming

UNIT - I. Introduction to C Programming. BY A. Vijay Bharath

Get Unique study materials from

C & Data Structures syllabus

Data Types. Data Types. Integer Types. Signed Integers

Course Title: C Programming Full Marks: Course no: CSC110 Pass Marks: Nature of course: Theory + Lab Credit hours: 3

Computer Programming C++ (wg) CCOs

CS & IT Conversions. Magnitude 10,000 1,

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING COMPUTER PROGRAMMING LABORATORY LAB MANUAL - 15CPL16 SEMESTER-I/II

Transcription:

wss Reg. No. : 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 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.

wss PART B (5 16 = 80 marks) 11. (a) Write in detail about the evolution and the various generations of computers. (16) Explain the basic computer organisation using a neat diagram. (16) 12. (a) Write about the need and types of looping statements in C language and discuss with examples. (16) Write about the need and types of branching statements in C language and discuss 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) Write a C program to find 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) (i) Explain function with and without arguments with example 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, month and year. (8) Write a C program to create mark sheet for students using structure. (16) 2 37007

Reg. No. Question Paper Code : 57408 B.E/B.Tech. DEGREE EXAMINATION, MAY/JUNE 2016 First Semester Civil Engineering GE 6151 COMPUTER PROGRAMMING (Common to all branches) (Regulations 2013) Time : Three Hours Maximum : 100 Marks Answer ALL questions. PART A (10 2 = 20 Marks) 1. Classify the computers based on performance, size, cost and capacity. 2. Convert the binary number 10110111.1101 into decimal number. 3. What are variables? Give examples. 4. Define implicit type conversion. 5. What is an array? 6. Define string. Give examples. 7. Specify the advantages of functions. 8. How is pointer arithmetic done? 9. What do you mean by structures? 10. State the importance of union. 10-06 1 57408

PART B (5 16 = 80 Marks) 11. (a) (i) Describe the basic computer organization with neat diagram. (10) (ii) Draw the flowchart to solve the quadratic equation. (6) OR (i) Explain the various generations of computers. (8) (ii) What is pseudo code? Explain its guidelines and benefits. (8) 12. (a) (i) Explain the different types of operators available in C. (10) (ii) Discuss the basic data types in C. (6) OR (i) Describe the various input and output statements in C with suitable examples. (10) (ii) Write a C program for the following series : (6) 1 + 2 + 3 + 4 +. + n 13. (a) (i) Write a C program to count the number of vowels in your name. (6) (ii) Write a C program to multiply two matrices. (10) OR (i) Write a C program to check whether the given string is palindrome or not. (6) (ii) Write a C program to arrange the given 10 numbers in descending order. (10) 14. (a) (i) Write a C program to find the smallest and largest number from the given 10 numbers using functions. (10) (ii) Explain the pass by reference with an example. (6) OR (i) Write a C program to find the factorial of a given number using recursion. (8) (ii) Write a C program to count the number of words in a string using pointers. (8) 2 57408

15. (a) Define a structure called student would contain name, register number and marks of five subjects and percentage. Write a program to read the details of name, register number and marks of five subjects for 25 students, calculate the percentage and display the name, register number, marks of 25 subjects, percentage of all the students and also the name of the student who got highest percentage among the 25 students. (16) OR (i) Explain the various storage classes in C. (8) (ii) Describe about the preprocessors with suitable example. (8) 3 57408

4 57408

WSS Reg. No. : Question Paper Code : 71938 B.E./B.Tech. DEGREE EXAMINATION, APRIL/MAY 2017. First Semester Mechanical Engineering GE 6151 COMPUTER PROGRAMMING (Common to Mechanical Engineering (Sandwich), Aeronautical Engineering, Agriculture Engineering, Automobile Engineering, Biomedical Engineering, Civil Engineering, Computer Science and Engineering, Electrical and Electronics Engineering, Electronics and Communication Engineering, Electronics and Instrumentation Engineering, Environmental Engineering, Geoinformatics Engineering, Industrial Engineering, Industrial Engineering and Management, Instrumentation and Control Engineering, Manufacturing Engineering, Marine Engineering, Materials Science and Engineering, Mechanical and Automation Engineering, Mechatronics Engineering, Medical Electronics Engineering, Metallurgical Engineering, Petrochemical Engineering, Production Engineering, Robotics and Automation Engineering, Biotechnology, Chemical Engineering, Chemical and Electrochemical Engineering, Fashion Technology, Food Technology, Handloom and Textile Technology, Industrial Biotechnology, Information Technology, Leather Technology, Petrochemical Technology, Petroleum Engineering, Pharmaceutical Technology, Plastic Technology, Polymer Technology, Rubber and Plastics Technology, Textile Chemistry, Textile Technology (Fashion Technology), Textile Technology (Textile Chemistry)) Time : Three hours 1. What is an algorithm? 2. What is flow chart? (Regulations 2013) Answer ALL questions. PART A (10 2 = 20 marks) Maximum : 100 marks 3. What are the main steps of problem solving? 4. What are the different types of constants available in C? 5. List out any four string handling functions.

WSS 6. What is an array? How will you create a 2D array? 7. What are the components of a function? 8. What is dynamic memory allocation? What are the various dynamic memory allocation functions? 9. What are storage classes? What are the storage classes available in C? 10. Define pre-processor directives in C. PART B (5 16 = 80 marks) 11. (a) Explain the various classifications of computers in detail. Explain the various number systems in detail. 12. (a) Explain various operators in C Language in detail. Explain various input and output functions of C language in detail. 13. (a) Explain the concept of strings in detail. (i) Explain sorting of a one dimensional array with example program. (ii) Write a program to check whether an element in present or not in an array or not using binary search method. 14. (a) Explain the concept of parameter passing by (i) (ii) value and reference between functions in detail with example program. Explain in detail the concept of pointer in C language. 15. (a) Explain various storage classes used in C with example program in detail. Explain in detail the concept and importance of structures with example program in C language. 2 71938

Ws 20 Reg. No. : Question Paper Code : 77156 B.E./B.Tech. DEGREE EXAMINATION, APRIL/MAY 2015. Time : Three hours First Semester Civil Engineering GE 6151 COMPUTER PROGRAMMING (Common to all branches) (Regulation 2013) Answer ALL questions. PART A (10 2 = 20 marks) 1. What is super computer? Give an example. 2. Define pseudo code. 3. What is the importance of keywords in C? 4. List the various input and output statements in C. 5. What is an array? Give an example. 6. How is a character string declared? 7. Compare actual parameters and formal parameters. 8. What is the output of the following program? main ( ) { int a=8, b=4, c, *p1=&a, *p2=&b; c=*p1**p2-*p1/*p2+9; printf( %d,c); } Maximum : 100 marks 9. What do you mean by structures? 10. Give the use of preprocessor.

Ws 20 PART B (5 16 = 80 marks) 11. (a) (i) Describe various generations of computers. (10) (ii) Convert the decimal number 681.75 into binary, octal and hexadecimal equivalent. (6) (i) Explain the basic organization of a computer with neat diagram. (10) (ii) Draw a flowchart to check whether the given number is zero, positive or negative. (6) 12. (a) (i) Explain the different types of operators available in C. (8) (ii) What are constants? Explain the various types of constants in C. (8) (i) Describe the various looping statements used in C with suitable examples. (8) (ii) Write a C program to solve the quadratic equation. (8) 13. (a) (i) Write a C program to add two matrices. (10) (ii) Write a C program to search a given number in an array of elements. (6) (i) Write a C program to arrange the given 10 numbers in ascending order. (10) (ii) Explain the various string handling functions. (6) 14. (a) (i) Write a C program to find the factorial of a given number using function. (8) (ii) Write a C program to exchange the values of two variables using pass by reference. (8) (i) Write a C program to find the sum of the digits using recursive function. (8) (ii) Write a C program using pointers to read in an array of integers and print its elements in reverse order. (8) 15. (a) Define a structure called book with book name, author name and price. Write a C program to read the details of book name, author name and price of 200 books in a library and display the total cost of the books and the book details whose price is above Rs.500. (16) (i) Explain the various storage classes in C. (10) (ii) What is union? Discuss with an example. (6) 2 77156

wk14 Reg. No. : Question Paper Code : 80502 B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2016. First Semester Civil Engineering GE 6151 COMPUTER PROGRAMMING (Common to all branches) (Regulations 2013) Time : Three hours Maximum : 100 marks Answer ALL questions. PART A (10 2 = 20 marks) 1. State the components of a computer. 2. Convert the following numbers in one format to other format mentioned : (0100101000000001)2 = (x)16 and (E7A9)16 = (x)10 3. What are the data types available in C? 4. Differentiate between While statement from Do... While statement. 5. What is an array? Give the syntax of declaring an array and initializing it. 6. How do you declare strings in C? 7. What are functions in C? How will you define a function in C? 8. What is a Pointer? What are the use of Pointers? 9. How will you define a structure in C? What is the use of it? 10. What is Union in C? How to define a union in C?

wk14 PART B (5 16 = 80 marks) 11. (a) Explain about algorithm, pseudocode and flow chart with an example of finding the sum of n number. Explain the basic organization of a computer with a neat diagram in detail. 12. (a) Explain about various branching structures and looping structures in C language with example program for each. Explain about the managing of input and output operations in C. With a snippet code, explain the syntax of scanf( ), printf( ), gets( ), getchar ( ), and getch( ). 13. (a) Explain the concept of arrays in detail with an example program. Write a program in C to (i) (ii) Add and Multiply two given matrices. 14. (a) Explain about pass by value and pass by reference with an example program for each. With an example program explain about pointer to an array and array of pointers. 15. (a) (i) Explain about union variable in C with an example program in detail. (ii) Write short notes on pre-processor directives. Write a program to create students mark processing application using array of structure. 2 80502