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

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

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

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

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


VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

C-LANGUAGE CURRICULAM

Contents. Preface. Introduction. Introduction to C Programming

DETAILED SYLLABUS INTRODUCTION TO C LANGUAGE

C Programming SYLLABUS COVERAGE SYLLABUS IN DETAILS

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

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

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 \

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

Important Questions for Viva CPU

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

Reg. No. : Question Paper Code : 27157

Euclid s algorithm, 133

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

Introduction to C/C++ Lecture 5 - String & its Manipulation

Model Viva Questions for Programming in C lab

PERIYAR CENTENARY POLYTECHNIC COLLEGE Periyar Nagar- Vallam Thanjavur

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:

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

C Refresher, Advance C, Coding Standard, Misra C Compliance & Real-time Programming

PESIT-BSC Department of Science & Humanities

Subject: Computer Science

Split up Syllabus (Session )

C & Data Structures syllabus

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

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

P.G.TRB - COMPUTER SCIENCE. c) data processing language d) none of the above

Introduction to Programming Using Java (98-388)

AIR FORCE SCHOOL,BAMRAULI COMPUTER SCIENCE (083) CLASS XI Split up Syllabus (Session ) Contents

Software Development & Education Center C Programming

Review of the C Programming Language for Principles of Operating Systems

SAURASHTRA UNIVERSITY

Chap 0: Overview. Overview of basic C++ syntax Refresh programming basics C++ Vs. Java differences Coding conventions used. EECS 268 Programming II 1

Introduction to C Language (M3-R )

CS1100 Introduction to Programming

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

Fundamentals of Programming

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

S Y B Voc Software Development Syllabus

Programming for Engineers Arrays

Fundamental of Programming (C)

Oracle Database 11g: SQL and PL/SQL Fundamentals

C programming basics T3-1 -

Columns A[0] A[0][0] = 20 A[0][1] = 30

Chapter 21: Introduction to C Programming Language

ONE DIMENSIONAL ARRAYS

Multiple Choice Questions ( 1 mark)

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

KENDRIYA VIDYALAYA SANGATHAN BHUBANESWAR REGION SPLITUP SYLLABUS FOR COMPUTER SCIENCE CLASS XI

Code No: R Set No. 1

A Fast Review of C Essentials Part I

CONTENTS. PART 1 Structured Programming 1. 1 Getting started 3. 2 Basic programming elements 17

Model Viva Questions for Programming in C lab

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

Review of the C Programming Language

Kadi Sarva Vishwavidyalaya, Gandhinagar

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

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

Oracle Database: SQL and PL/SQL Fundamentals NEW

Introduction to C++ with content from

Chapter 2 - Introduction to C Programming

Oracle Database: SQL and PL/SQL Fundamentals Ed 2

Chapter 8 Arrays and Strings. Objectives. Objectives (cont d.) Introduction. Arrays 12/23/2016. In this chapter, you will:

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

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

ARRAYS(II Unit Part II)

Sample Copy. Not For Distribution.


Features of C. Portable Procedural / Modular Structured Language Statically typed Middle level language

Arrays, Strings, & Pointers


C - Basics, Bitwise Operator. Zhaoguo Wang

Computers Programming Course 11. Iulian Năstac

KLiC C Programming. (KLiC Certificate in C Programming)

C: How to Program. Week /Mar/05

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

PROGRAMMING IN C AND C++:

Lecture 02 C FUNDAMENTALS

Sri Vidya College of Engineering & Technology

Computer Programming C++ (wg) CCOs

Introduction to C Programming. Chih-Wei Tang ( 唐之瑋 ) Department of Communication Engineering National Central University JhongLi, Taiwan

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

CS313D: ADVANCED PROGRAMMING LANGUAGE

Computers Programming Course 5. Iulian Năstac

Computer Language. It is a systematical code for communication between System and user. This is in two categories.

CSI33 Data Structures

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

Variables Data types Variable I/O. C introduction. Variables. Variables 1 / 14

Procedural Programming & Fundamentals of Programming

UNIT- 3 Introduction to C++

by Pearson Education, Inc. All Rights Reserved.

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

Computers Programming Course 10. Iulian Năstac

Strings. Chuan-Ming Liu. Computer Science & Information Engineering National Taipei University of Technology Taiwan

Transcription:

Long Questions April/May - 2010 Marks 1. Explain arithmetic operators and their precedence in C. 2. Explain the term structured programming with help of example 3. Write a program to read 10 numbers and print th lowest number 4. Difference between single dimension and two dimensional array in terms of storing strings. Write a program to reverse individual words in a given sentence. Write a program to check whether the given 3*3 matrix is identity or not?. How does union help in storing the values? How it differs from structure?. Write short notes on : a. Multidimensional arrays b. Bitwise operator 1 c. Break and continue October 2010 1. Write a note on basic data types in C. How can we do implicit and explicit conversion? When it is needed? 2. Character strings in C are automatically terminated by the NULL character. Explain if yes, how this feature helps in string 4 manipulations. 3. What do you mean by preprocessor statement? Explain. 4 4. Write a program to generate following series up to given steps 0, 1, 1, 2, 3,,,......... Write a program to generate following series up to given steps 1, 3,, 10, 1,......... Explain following functions with example: (any three) strcat ( ), strcmp( ), strcpy( ), strlen( ). What is difference between if else and? operator? 4. Explain the need of array variable. 4 9. Write a program to read a word from keyboard and sort in alphabetical order. I/P -> narmad o/p -> aadmnr 10. Write a note on different iterative statements available in C

language. Explain with example. 11. Write a program to read matrix of 3*3 dimensions and carry out following operations: a. print transpose b. print highest value in each row c. print sum d. exit April/May 2011 Write a program to display the following pattern For say n = B A Z Y X W V U T S R Q P O N M L K J I H G F E D C B A Write the different features of macro and compare it with variable. Write a menu driven program to carry out the following operations on array: a. Traversing b. Insertion c. Deletion d. Sorting Explain operators in C with their precedence. Explain different branching structure in C. Write a program to display circular matrix of given number N. if input is 4 then 1 1 14 13 4 3 12 1 2 11 9 10 Explain type conversion. Also describe the conditions in which explicit and implicit conversion is used. Explain any 3 number functions in C. How can you format an output of a C program? 3

Write a program to input a word and display the variations of the word. E.g. I/P-> space o/p -> space paces acesp cespa espac October/November - 2011 Write a C program to read3*3 matrix and find out LCM of the diagonal elements. Write a program to display the following pattern for given n: if n = 4 then 1 2 3 2 3 4 4 3 Write a program to input a string and extract m character string from n th position. Write a program to read 2 arrays of 10 numbers each. Merge and sort them in descending order. Explain the need of array variable. Differentiate character and numeric array. Explain any loop structure with example. 4 Write a program to read a line and display number of words, characters and digits in it. Write a program to convert binary to decimal number April/May 2012 1. What us symbolic constant? How can you create it? How does it differs from constants created using const? 2. Write a short note on case structure with example. What are their limitations? 3. WAP to print following series. 1, 4, 2, 2,. 4. WAP for the following pattern where say row = 4 1 2 2

3 3 3 4 4 4 4. Compare scanf() and gets().. Differentiate between 1D & 2D arrays specifically in terms of storing strings.. Explain multidimensional arrays in C. Write different ways to initialize 2D array during declaration.. WAP to merge 2 arrays & print it in ascending order. 9. Explain isspace() & isalnum() with syntax. 10. What is structure? Why it is needed? Differentiate it with an array. 11. Create a structure called Tournament with following fields: Tournament_No, Tournament_name, No_of_teams Read details of Tournaments & display Tournament with highest number of teams. 12. WAP to develop a function that reverse the number passed as an argument. 13. Write a short note 1. pointers 2. break and continue in the loop structure 3. type conversion 14. Explain bit fields in union. 1. WAP to reverse individual words in a given sentence. (i) (ii) (iii) October/November-2012 What is symbolic constant? How can you create it? How does it differ from constants created using const. Explain arithmetic operator, ternary operator, bitwise operator. WAP to print following series 1, 4, 2, 2,

(iv) WAP to print following series 10, 1, 20, 2,.. 12. Compare scanf() & gets(). 13. Differentiate between ID and 2S array in terms of storing strings. 14. Explain with example Call by value 1. WAP to read 3 X 3 matrixes & print it in column-wise ascending order. 1. Explain strncpy() with syntax & example. 1. Explain union. How it differs from structure? What is typedef keyword? 1. Explain any conversion function. 19. Create a structure called Tournament with following fields: Tournament_No, Tournament_name, No_of_teams Read details of Tournaments & display Tournament with lowest number of teams. 20. Create structure Cricket with following fields. Playername, teamname, avg Use proper data types. Read playes records & dispay them in formatted manner. 21. Explain bit fields in union. 22. Write a note on: 1. pointers 2. storage class 3. type conversion April/May - 2013 23. Discuss the skeleton of C Programming Language 24. Discuss constants & variables in C programming languages 2. Discuss types of operators in C Language 2. Describe the evaluation & assignments of expressions in C 2. Discuss jumping & branching statements in C 2. Explain types of loops in C 29. Write a note on built-in functions in C Language 30. What is an array? Explain 1D & 2D arrays in details. 31. What is significance of user defined function? 32. What is difference between Call by Value & Call by Reference? 33. What is difference between Structure & Union? 34. What is pointer? Write a note on Pointer arithmetic. 3. Write a notes on following: o While and Do While loop

o Difference between Arrays & Structures o Types of arguments in C o Global & Local Variables o Formatted Input & Output o Logical & Relational operators September/October 2013 3. Explain arithmetic operator, conditional operator & bitwise operator. 3. What is symbolic constant? Write the rules to define symbolic constants. Also discuss advantages of using symbolic constants. 3. Differentiate Call by Value & Call by Reference method. 39. Write a note on primitive data types in C. Explain mechanism of implicit & explicit conversion. 40. Write a note on assignment operators, logical operators & relational operators. 41. Explain string function & provide appropriate examples. 42. Write a note on iterative statements. 43. What is array? Explain difference between 1D & 2D array 44. What is string? Explain various string functions. 4. Write a note on formatted input & output 4. What is structure? What is difference between array of structure & structure of array? 4. Explain concepts of pointers in C 4. Write a note on following: 1. typedef & enum 2. type specifiers 3. pointer to an array 4. character functions. type conversion implicit & explicit. differentiate between break & continue statement