PERIYAR CENTENARY POLYTECHNIC COLLEGE Periyar Nagar- Vallam Thanjavur

Similar documents
C Programming SYLLABUS COVERAGE SYLLABUS IN DETAILS

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

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


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

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

C & Data Structures syllabus

Code No: R Set No. 1

C-LANGUAGE CURRICULAM

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

CSCI 171 Chapter Outlines

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

Computers Programming Course 6. Iulian Năstac


ELECTRICAL CIRCUITS AND INSTRUMENTATION

Computers Programming Course 5. Iulian Năstac

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

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

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

M3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE

Model Viva Questions for Programming in C lab

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

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

Software Development & Education Center C Programming

Subject: Fundamental of Computer Programming 2068

C Programming Review CSC 4320/6320

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

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

Introduction to Computer Science Midterm 3 Fall, Points

A3-R3: PROGRAMMING AND PROBLEM SOLVING THROUGH 'C' LANGUAGE

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

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

PESIT-BSC Department of Science & Humanities

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

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

QUIZ. 1. Explain the meaning of the angle brackets in the declaration of v below:

Review of the C Programming Language

CS PROGRAMMING & ATA STRUCTURES I. UNIT I Part - A

Advanced C Programming and Introduction to Data Structures

Review of the C Programming Language for Principles of Operating Systems

DETAILED SYLLABUS INTRODUCTION TO C LANGUAGE

Assignment: 1. (Unit-1 Flowchart and Algorithm)

Lecture 2: C Programming Basic

Lectures 5-6: Introduction to C

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

The Waite Group's. New. Primer Plus. Second Edition. Mitchell Waite and Stephen Prata SAMS

Introduction to C++ Introduction. Structure of a C++ Program. Structure of a C++ Program. C++ widely-used general-purpose programming language

Introduction to Programming Using Java (98-388)

IV Unit Second Part STRUCTURES

Introduction to C++ with content from

E.G.S. PILLAY ENGINEERING COLLEGE (An Autonomous Institution, Affiliated to Anna University, Chennai) Nagore Post, Nagapattinam , Tamilnadu.

Introduction to C Language (M3-R )

Model Viva Questions for Programming in C lab

OBJECT ORIENTED PROGRAMMING


Basics of Programming

I BCA[ ] SEMESTER I CORE: C PROGRAMMING - 106A Multiple Choice Questions.

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

M1-R4: Programing and Problem Solving using C (JAN 2019)

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING B.E SECOND SEMESTER CS 6202 PROGRAMMING AND DATA STRUCTURES I TWO MARKS UNIT I- 2 MARKS

Lectures 5-6: Introduction to C

Chapter 5. Section 5.1 Introduction to Strings. CS 50 Hathairat Rattanasook

Problem Solving and 'C' Programming

Short Notes of CS201

Multiple Choice Questions ( 1 mark)

CS201 - Introduction to Programming Glossary By

CS201 Some Important Definitions

The Foundation of C++: The C Subset An Overview of C p. 3 The Origins and History of C p. 4 C Is a Middle-Level Language p. 5 C Is a Structured

V.S.B ENGINEERING COLLEGE DEPARTMENT OF INFORMATION TECHNOLOGY I IT-II Semester. Sl.No Subject Name Page No. 1 Programming & Data Structures-I 2

Arrays and Pointers (part 1)

IECD Institute for Entrepreneurship and Career Development Bharathidasan University, Tiruchirappalli 23.

Unit 7. Functions. Need of User Defined Functions

SAURASHTRA UNIVERSITY

Functions. Functions are everywhere in C. Pallab Dasgupta Professor, Dept. of Computer Sc & Engg INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR

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

Computer Organization & Systems Exam I Example Questions

Technical Questions. Q 1) What are the key features in C programming language?

advanced data types (2) typedef. today advanced data types (3) enum. mon 23 sep 2002 defining your own types using typedef

C Language Part 1 Digital Computer Concept and Practice Copyright 2012 by Jaejin Lee

Declaring Pointers. Declaration of pointers <type> *variable <type> *variable = initial-value Examples:

ET156 Introduction to C Programming

KLiC C Programming. (KLiC Certificate in C Programming)

A Fast Review of C Essentials Part I

Decision Making -Branching. Class Incharge: S. Sasirekha

Unit IV & V Previous Papers 1 mark Answers

Course Text. Course Description. Course Objectives. StraighterLine Introduction to Programming in C++

COMPUTER APPLICATION

CS201- Introduction to Programming Latest Solved Mcqs from Midterm Papers May 07,2011. MIDTERM EXAMINATION Spring 2010

C: How to Program. Week /Mar/05

C: Pointers, Arrays, and strings. Department of Computer Science College of Engineering Boise State University. August 25, /36

ESC101N: Fundamentals of Computing End-sem st semester

Pointers (part 1) What are pointers? EECS We have seen pointers before. scanf( %f, &inches );! 25 September 2017

KLiC C. About. Tools: Turbo C++ Syllabus:

Computer Science & Information Technology (CS) Rank under AIR 100. Examination Oriented Theory, Practice Set Key concepts, Analysis & Summary

EL6483: Brief Overview of C Programming Language

Lecture 3: C Programm

Contents. Preface. Introduction. Introduction to C Programming

c) Comments do not cause any machine language object code to be generated. d) Lengthy comments can cause poor execution-time performance.

CSE101-lec#12. Designing Structured Programs Introduction to Functions. Created By: Amanpreet Kaur & Sanjeev Kumar SME (CSE) LPU

Transcription:

PERIYAR CENTENARY POLYTECHNIC COLLEGE Periyar Nagar- Vallam-613 403 Thanjavur 01. Define program? 02. What is program development cycle? 03. What is a programming language? 04. Define algorithm? 05. What is flow char? DEPARTMENT OF COMPUTER ENGINEERING 06. What are the two types of declaration? 07. What is the use of global declaration? 08. What are the character set used in C? 09. Define keyword? 10. What is meant by c token? 11. What are the types of token? 12 What is mean by identifiers? 13 What is c constant? 14. What are the types of c constant? 15. What are variables? C Programming UNIT I 16. What are the two types of arithmetic operators? 17. What is binary operator? 18. what is unary operator? 19. Define expression?

20. What are the types of expression? 21. Define type casting? 22. Write the types of type casting? 23. What images? the use of scanf function? 24. What is the use of printf function? PART-B 01. Explain program development cycle? 02. Briefly discuss about programming languages? O3.List the features of good programming languages? 04. Exlpain the flow chart symbols? 05. Give the advantages and limitations pf flow chart? 06. Give the algorithm and flow chart for finding the largest number among three numbers? 07. Write any three features of C-language 08. Explain the structure of C program? 09. Explain basic data types in C and its modifiers? 10. Explain operators? 11. Explain data type modifier. 12. How to declare variable with example and give the uses of declaration. 13. Write a program to factorial of n number. 14. Write the program to find sum and average of n numbers. 15. Explain type casting and its types. 16. Explain formatted input function. 17. Explain formatted output function.

UNIT-II 1. What is entry control loop? 2. What is exit control loop? 3. Syntax for loop. 4. What is the use of break statement? 5. What is the significance of continue statement. 6. Define array? 7. What is the general form for declaring an array? 8. How to initialize an array? 9. How to declare an 2D array? 10. Define string. 11. How to declare a string? 12. What are the functions used to read the strings?(get string as i/p) 13. Define strlen() function. 14. Write some string manipulation function. PART-B 1. Difference between exit control loop and entry control loop with example? 2. Explain for loop. 3. Explain nested if statement with example. 4. Explain switch... case with example. 5. What is subscripted variable and write its rules. 6. Explain one-d array. 7. Explain 1-D and 2-D array processing with example. 8. Write a program to arrange N given numbers in ascending order.

9. Explain string handling functions. UNIT III 1. Give the any three functions is math. 2. What is the use of getche() function. 3. Define gets() function. 4. Give the general forms of ellipse() function. 5. Define function. 6. What are the types of functions. 7. What are the two parts in function definition? 8. What is the use of return statement? 9. What is meant by void function? 10. How to declare a function? 11. What are the types of function calls? 12. What is meant by scope of variable? 13. What is meant by lifetime of variable? 14. What are the storage classes? 15. What is the keyword used to indicate automatic variable? 16. Define structure. 17. Write syntax to access the structure? 18. How can we access the structure members? 19. Write the syntax to access the members in structure. 20. Define union

PART-B 1. Explain any three functions in stdio.h with example. 2. Give the need for user defined function. 3. Explain pointer with example. 4. With example explain cell by value. 5. Explain cell by reference with example. 6. Explain recursion. 7. Give the difference between array and structure. 8. Explain structure definition with example. 9. How will you create structure variable? how the data are initialized to structure variable give example. 10. Explain union with an example. 1. Define pointer or pointer variable. 2. What are the two operators used in pointers? 3. How to declare a pointer? 4. How to assign the address to variable? 5. What is pointer expression? 6. What is memory allocation? 7. What are the types of memory allocation? 8. Define static memory allocation. 9. Define dynamic memory allocation. 10. Syntax or General form of malloc. UNIT IV

PART-B 1. Define pointer and give its advantages. 2. With example explain how the address of the variable is assigned to a pointer. 3. Explain increment and scale factor in pointers. 4. Give the relation between array and pointers. 5. Explain pointer and functions with example. 6. Explain function returning pointers. 7. Describe pointers to pointers. UNIT-V 1. Give the general form of F12 definition? 2. Give the general form of opening a file? 3. Define fscanf() function? 4. Define ferror() function? 5. What is random access file? 6. Define fseek() function? 7. Define command line arguments? 8. What is preprocessor? 9. Give the general form of #defines? 10. Define file inclusion directives? 11. Give the general form of #if def...#end if? PART-B 1. Explain macro substitution? 2. Explain file inclusion? 3. Mentioned the various compiler controlled directives and there uses?

4. Define a file. How a file in opened and closed? 5. Explain the various I/O operations on files? 6. How to handle errors during I/O operations? 7. Explain the use of command line arguments? 8. Explain about random access files? 9. How will you append items to a file?