Questions Bank. 14) State any four advantages of using flow-chart
|
|
- Lucinda Henderson
- 5 years ago
- Views:
Transcription
1 Questions Bank Sub:PIC(22228) Course Code:-EJ-2I Chapter:-1 (Overview of C Programming)(10 Marks) 1) State four arithmetic and four logical operators. 2) Define token and identifier. (3 Times) 3) What is conditional operator? 4) Enlist any four keyword used in C. 5) What is operator precedence and associativity? 6) List types of constants? 7) List bitwise operator and explain any two? 8) Describe generic structure of C program. 9) State the logical and relational operator available in C-language. 10) State the use of continue statement. 11) State two features of C-language. 1) Explain formatted input and formatted output statements.(4 Times). 2) State the use of increment and decrement operator. Also write the difference between i++ and ++i. 3) Explain conditional operator with example. 4) Write a C program to accept two integer Nos from user and print the result 5) Explain special operators in C with example. 6) Explain special operator in C with example. 7) Explain arithmatic and logical operator. 8) What is meant by increment and decrement operator? Explain with example. 9) List and explain bitwise operator used in C. 10) Write a C program to accept any integer number and display it s Hexadecimal and octal format. 11) Explain? : operator with suitable example. 12) Explain any four bit wise operators used in C with example. 13) Enlist any four types of arithmetic operators used in C and give one example of each 14) State any four advantages of using flow-chart 15) State four arithmatic operations perform on pointer with example 16) Explain increment and decrement operator with example. 17) Enlist the types of tokens available in C and give one example for each
2 18) State the importance of flowcharts with the symbols used for drawing flowchart. 19) Write a function to print Fibonacci series upto 10 terms 20) State the constants and variables with example. 21) Enlist different format specifier with its use. 22) Explain post increment-decrement operator Chapter:-2 (Decision Making Loop Control)(12 Marks) 1) Give the syntax of switch case statements. [W-16] 2) State the use of break and continue statement. [W-16] 3) Write syntax and use of if-else statement. 4) State any four control statements. 5) State what is the use of break and continue statement 6) What is difference between while and do-while loop? 7) Draw the flow-chart of switch statement. 8) Write output of following program # include <stdio.h> void main( ) int i; for(i= 1;i<=10;i++) if(i<5) continue; else break; printf( Hello \n\n ); 9) Write the syntax of do-while loop. 10) State any two differences between while and do-while statement 11) State the use of continue statement. 12) Write the syntax of nested if-else statement. 13) State two differences between switch statement and if statement. 14) Give the difference between break and continue statement [2 points] 15) Give the syntax of for loop. 16) Write a program which will count number of digit in entered number. 17) Write a program to find out sum of numbers from 1 to ) Write the syntax of switch case statement. 19)
3 1) Write a program to find whether the character entered through keyboard is a vowel or consonant. [W-16] 2) Write a program in C to find maximum of three nos. [W-16] 3) Explain while loop with syntax and example. [W-16] 4) With suitable example, explain how else if ladder can be used. [W-16] 5) Explain use of if else statements. Also draw the flow chart for the same.[w-16] 6) Write a program to find whether a entered number is even or odd. [W-16] 7) Write a program using loop to print following: [W-16] ) Write a program to print even numbers between 1 to 100. [W-16] 9) Write the difference between while and do while loop, and also explain the syntax of it. [W-16] 10) Write a C program to calculate factorial of a number. 11) With syntax explain else if ladder and it s execution. Also draw flowchart for else-if ladder. 12) Explain working of for loop with syntax and example. 13) Write a syntax of switch case statement and write it s example. 14) Write a program to print even number between 1 to 100 numbers. 15) Write a program using loop to print * * * * * * * * * * 16) Write a program to print following pattern ) State any four differences between if and switch statement. 18) Write a program to display whether entered number is positive integer or not. 19) State any four control statement. 20) Write a program to print fibonacci series. 21) Explain else-if ladder with flow-chart. 22) Write a program to display all even numbers from 1 to N. 23) Write a program to print following pattern :
4 24) State any four difference between while loop and do-while loop. 25) Write a program to find largest of three numbers using nested if-else. 26) State use of goto statement with example 27) Write a program to find factorial of a number using for loop. (n = 10) 28) Explain switch statement with flow chart. 29) Write a program to find whether the entered number is prime or not. 30) Write a C-program to accept an integer number and display whether it is odd or even. 31) State do while loop with example 32) Write a program to accept an integer number and print whether it is palindrome or not. 33) Find out the errors from following program, justify the same and write correct program : void main ( ) int j = 1 for (i = 0; i < 20; i ++) printf ( %d, i, j); printf ( %d,i); 34) Explain nested if-else with example. 35) Write a program to print the following pattern * * * * * * * * * * * * * * * Chapter:-3 (Arrays and Strings)(16 Marks) 1) Define array. How array is declared write its syntax? [W-16] 2) State difference between array and string. [W-16] 3) State the use and syntax of strcmp ( ) function. 4) Explain strlen ( ) string function. 5) State the use and syntax of strcmp( ) function. 6) Give the syntax of strcat ( ) string function. 7) Write output of the following program [W-16] Void main ( ) int sub[10], i; for (i = 0; i< = 8 ; i++)
5 sub [i] = i ; printf ( \n %d, sub [i]); 8) State difference between array and string. 9) Find error in following program and justify it : #include<stdio.h> void main( ) int x; int xx[3]=111, 222, 333, 444; for (i=0; j<3;i++) printf( %f,a[i]); 10) Find error in following program and justify it : # include <stdio.h> void main( ) int i, a[5] = 7, 5, 2, 1, 9, 14; for (i = 0; i < 5 ; i + +) printf ( %f, a[2]); getch( ); 11) Write the output of following program #include < stdio.h > void main ( ) int a [5] = 1, 2, 3, 4, 5; printf ( %d,a [4] ); 1) With suitable example, explain how two dimensional arrays can be created. [W- 16] 2) What is array? How elements of single dimensional array can be accessed. [W-16] 3) Explain concept of array of character with example. [W-16] 4) Write a program to determine whether the entered string is palindrome or not.[w- 16] 5) Explain in brief auto and extern storage class. 6) Explain with syntax and example strlen ( ) and strcpy ( ) functions. 7) Write syntex and use of (i) strcmp( ) (ii) strcpy( ) 8) Explain the use of the following function with syntax : i) strcmp ( ) ii) strlen ( ) 9) Write a program for addition of two 3 3 matrix
6 10) Write a program to read string from keyboard and find whether it is palindrome or not. 11) Write a program to find smallest number in 5-element integer array. 12) What is array? How element of array can be accessed? 13) Write a menu driven program for following option. (i) To find entered year is leap year or not (ii) To display sum of digits of input number. 14) What is two dimentional array? How it is declared and inicialized? Give example of it. 15) Explain with syntax and example strcmp( ) and strcat( ) functions. 16) Explain the declaration and initialize of character array. 17) How the size of an array is calculated? Explain with suitable example. 18) Write a program for addition of two 3 X 3 matrix. 19) Explain strlen( ) and strcat( ) string handling function from standard library 20) Write a program to sort array element in ascending order. 21) What is array of structure? List any two differences between array and array of structure. 22) Explain use of pointer in array. 23) Write a program to find the sum of digits of an integer (e.g. input = 1453 sum = = 13) 24) Declare and initialize the one dimensional array with 10 elements. Explain how the elements in an array can be accessed. 25) Differentiate between character array and integer array with respect to size and initialization. 26) Write a program to sort elements of an array in ascending order. 27) State two advantages and two disadvantages of array. 28) Write a program for addition of two 3 3 matrices. 29) Write a program to copy one string into another and count the number of character copied. 30) Explain how to initialize two dimensional array with example. 31) Define array with its need and how elements are allocated with space in memory for one dimensional array. 32) Write a program to sort elements of an array in ascending order. Read elements of array from user [using scanf function] ) Define function. 2) State any four control statements. 3) Define recursive function. Chapter:-4 (Functions)(12 Marks)
7 4) Define function 5) What is mean by lifetime and scope of variable? 6) What is function? What is need of function? 7) List different types of function. 8) State the advantage of function. 9) State call by value with example. 10) State the need of function. 11) State four rules for choosing variable name. 12) State the scope of local and global variable. 13) Distinguish between call by value and call by reference [2 points] 1) Write a program to calculate factorial of number using function. 2) Explain in brief auto and extern storage class 3) Write difference between call by value and call by reference. 4) What is function prototype? Explain with example. 5) List different categories of function and explain any one in detail. 6) Explain with the proper syntax: (i) Function defination (ii) Function body (iii) Function call (iv) Function prototype 7) What is recursive function? Explain with example. 8) Write difference between call by value and call by reference. 9) List different categories of function and explain any one. 10) Define. (i) Function defination (ii) Function body (iii) Function call (iv) Function Prototype 11) Explain recursion with example. 12) Write a program to exchange value of two integer numbers using function. 13) Explain call by reference function with example. 14) State four storage class. Explain any one. 15) Explain global and local variable with example. 16) State four storage classes. Explain any one. 17) Write a program to perform addition, substraction, multiplication and division of two integer numbers using function. 18) Define recursive function. List any two advantages of recursive function. 19) Discuss function prototype with syntax. List the four categories of function. 20) Write a program to declare a structure book having data members, title, author and price. Accept data and display information for one book.
8 21) State various categories of function with one example of each. 22) Explain any two storage classes. 23) Define : i) Function definition ii) Function body iii) Function call iv) Function prototype. 24) Explain recursion with suitable example. 25) Write a function to swap the value of variables say a and b. Use function name swap. 26) Write a function to display fibonnacci series up to given number using recursion. Use function name Fibbo Chapter:-5 (Pointers)(10 Marks) 1) Define pointer. How pointer is declared? 2) Give the meaning of :- int *ptr; int a; ptr = &a; 3) What is the use of ( >) operator with pointers? 4) What is the use of indirection operator ( )? 5) Explain the effect of following statement int a, * b = & a; 1) Explain with example array of pointer. 2) Explain meaning of following statement with reference to pointers. int * a, b; b = 20; * a = b; a = &b; 3) Explain * and & operators used in pointers. 4) Write a program using pointer to swap the value of two integer numbers. 5) Explain with example array of pointer. 6) Explain meaning of following statement with reference to pointers. int *a, b; b = 20; *a = b; a = &b; 7) What is pointer? Explain one example of integer and character pointer. 8) Define pointer. How it declared and initialized?
9 9) Write a program to show use of array of pointers 10) State any two advantages and disadvantages of pointer. 11) Define pointer. How the pointers are declared and initialized? 12) Write a program to exchange values of two variables using pointer. 13) State four features and advantages of pointers. 14) Write a program to find product of two numbers using pointer. 15) Explain meaning of following statement with reference to pointers : Int p, x ; x = 10; p = x; P = &x; 16) Define pointer. State the syntax to declare pointer variable with example. 17) Write a program in C using pointers to determine length of a string. 18) Write a program using pointers to compute the sum of all elements stored in an array Chapter:-6 (Structures)(10 Marks) 1) Write a program to declare structure book having data member as book_name, bookid, book_price. Accept this data for 3 books and display it 2) With suitable example, explain how a structure can be initialized. 3) Write a program to declare structure employee having data member name, street, city. Accept data for three employees and display it. 4) Explain array of structure with example. 5) Explain structure with example. 6) Write a program to declare a structure stationery having data member, name quantity and cost. Accept and display this information for five items. 7) Define structure and array of structure. Declare a structure student with element roll no and name. 8) Write a program to declare a structure student having data member, roll_no; name and agg_marks. Accept data and display this information for one student 9) How structure member are access? Give example. 10) Write a program to declare structure student having member variables are roll-no., name and marks. Accept data for one student and display it
UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING
SIDDARTHA INSTITUTE OF SCIENCE AND TECHNOLOGY:: PUTTUR Siddharth Nagar, Narayanavanam Road 517583 QUESTION BANK (DESCRIPTIVE) Subject with Code : PROGRAMMING FOR PROBLEM SOLVING (18CS0501) Course & Branch
More informationB.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University
Unit 1 Programming Language and Overview of C 1. State whether the following statements are true or false. a. Every line in a C program should end with a semicolon. b. In C language lowercase letters are
More informationScheme G. Sample Test Paper-I. Course Name : Computer Engineering Group Course Code : CO/CD/CM/CW/IF Semester : Second Subject Tile : Programming in C
Sample Test Paper-I Marks : 25 Time:1 Hrs. Q1. Attempt any THREE 09 Marks a) State four relational operators with meaning. b) State the use of break statement. c) What is constant? Give any two examples.
More informationAryan College. Fundamental of C Programming. Unit I: Q1. What will be the value of the following expression? (2017) A + 9
Fundamental of C Programming Unit I: Q1. What will be the value of the following expression? (2017) A + 9 Q2. Write down the C statement to calculate percentage where three subjects English, hindi, maths
More informationQ 1. Attempt any TEN of the following:
Subject Code: 17212 Model Answer Page No: 1 / 26 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The
More informationVALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR
VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR 603 203 FIRST SEMESTER B.E / B.Tech., (Common to all Branches) QUESTION BANK - GE 6151 COMPUTER PROGRAMMING UNIT I - INTRODUCTION Generation and
More informationAssignment: 1. (Unit-1 Flowchart and Algorithm)
Assignment: 1 (Unit-1 Flowchart and Algorithm) 1. Explain: Flowchart with its symbols. 2. Explain: Types of flowchart with example. 3. Explain: Algorithm with example. 4. Draw a flowchart to find the area
More information(i) Describe in detail about the classification of computers with their features and limitations(10)
UNIT I - INTRODUCTION Generation and Classification of Computers- Basic Organization of a Computer Number System Binary Decimal Conversion Problems. Need for logical analysis and thinking Algorithm Pseudo
More informationC- 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- 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: On successful completion of the course, the students will
More informationFor Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit
For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit http://victory4sure.weebly.com/ For Solved Question Papers of UGC-NET/GATE/SET/PGCET in Computer Science, visit http://victory4sure.weebly.com/
More informationMAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)
Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate
More informationMultiple Choice Questions ( 1 mark)
Multiple Choice Questions ( 1 mark) Unit-1 1. is a step by step approach to solve any problem.. a) Process b) Programming Language c) Algorithm d) Compiler 2. The process of walking through a program s
More informationF.Y. Diploma : Sem. II [CO/CD/CM/CW/IF] Programming in C
F.Y. Diploma : Sem. II [CO/CD/CM/CW/IF] Programming in C Time : 3 Hrs.] Prelim Question Paper Solution [Marks : 70 Q.1 Attempt any FIVE of the following : [10] Q.1 (a) List any four relational operators.
More informationPERIYAR CENTENARY POLYTECHNIC COLLEGE Periyar Nagar- Vallam Thanjavur
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
More informationSubject: PROBLEM SOLVING THROUGH C Time: 3 Hours Max. Marks: 100
Code: DC-05 Subject: PROBLEM SOLVING THROUGH C Time: 3 Hours Max. Marks: 100 NOTE: There are 11 Questions in all. Question 1 is compulsory and carries 16 marks. Answer to Q. 1. must be written in the space
More informationPROGRAMMING IN C AND C++:
PROGRAMMING IN C AND C++: Week 1 1. Introductions 2. Using Dos commands, make a directory: C:\users\YearOfJoining\Sectionx\USERNAME\CS101 3. Getting started with Visual C++. 4. Write a program to print
More informationReg. No. : Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, JANUARY First Semester GE 6151 COMPUTER PROGRAMMING
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 :
More informationQ1. Multiple Choice Questions
Rayat Shikshan Sanstha s S. M. Joshi College, Hadapsar Pune-28 F.Y.B.C.A(Science) Basic C Programing QUESTION BANK Q1. Multiple Choice Questions 1. Diagramatic or symbolic representation of an algorithm
More informationC-LANGUAGE CURRICULAM
C-LANGUAGE CURRICULAM Duration: 2 Months. 1. Introducing C 1.1 History of C Origin Standardization C-Based Languages 1.2 Strengths and Weaknesses Of C Strengths Weaknesses Effective Use of C 2. C Fundamentals
More informationQuestion Bank (SPA SEM II)
Question Bank (SPA SEM II) 1. Storage classes in C (Refer notes Page No 52) 2. Difference between function declaration and function definition (This question is solved in the note book). But solution is
More informationM1-R4: Programing and Problem Solving using C (JAN 2019)
M1-R4: Programing and Problem Solving using C (JAN 2019) Max Marks: 100 M1-R4-07-18 DURATION: 03 Hrs 1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter
More informationSubject: Computer Science
Subject: Computer Science Topic: Data Types, Variables & Operators 1 Write a program to print HELLO WORLD on screen. 2 Write a program to display output using a single cout statement. 3 Write a program
More information'C' Programming Language
F.Y. Diploma : Sem. II [DE/EJ/ET/EN/EX] 'C' Programming Language Time: 3 Hrs.] Prelim Question Paper Solution [Marks : 70 Q.1 Attempt any FIVE of the following : [10] Q.1(a) Define pointer. Write syntax
More informationTribhuvan University Institute of Science and Technology 2065
1CSc.102-2065 2065 Candidates are required to give their answers in their own words as for as practicable. 1. Draw the flow chart for finding largest of three numbers and write an algorithm and explain
More informationB. V. Patel Institute of Business Management, Computer & Information Technology, UTU 2013
Information Technology, UTU 203 030000 Fundamentals of Programming Problems to be solved in laboratory Note: Journal should contain followings for all problems given below:. Problem Statement 2. Algorithm
More informationCode No: R Set No. 1
Code No: R05010106 Set No. 1 1. (a) Draw a Flowchart for the following The average score for 3 tests has to be greater than 80 for a candidate to qualify for the interview. Representing the conditional
More informationAbout Codefrux While the current trends around the world are based on the internet, mobile and its applications, we try to make the most out of it. As for us, we are a well established IT professionals
More informationM3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE
M3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions. 2. PART ONE is to be
More informationSyllabus of Diploma Engineering. Computer Engineering. Semester: II. Subject Name: Computer Programming. Subject Code: 09CE1104
Semester: II Subject Name: Computer Programming Subject Code: 09CE1104 Objective: This Course will help to develop programming skills in the students, using a structured programming language `C'. Students
More informationSubject: Fundamental of Computer Programming 2068
Subject: Fundamental of Computer Programming 2068 1 Write an algorithm and flowchart to determine whether a given integer is odd or even and explain it. Algorithm Step 1: Start Step 2: Read a Step 3: Find
More informationMAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)
Subject Code: 17212 Model Answer Page No: 1/28 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in themodel answer scheme. 2) The model
More informationKadi Sarva Vishwavidyalaya, Gandhinagar
Kadi Sarva Vishwavidyalaya, Gandhinagar MASTERS OF COMPUTER APPLICATION (MCA) Semester I (First Year) Subject: MCA-101 Programming for Logic Building (LDPL) SUB Teaching scheme Examination scheme Total
More informationM4.1-R3: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE
M4.1-R3: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE NOTE: 1. There are TWO PARTS in this Module/Paper. PART ONE contains FOUR questions and PART TWO contains FIVE questions. 2. PART ONE is to be
More informationObject Oriented Pragramming (22316)
Chapter 1 Principles of Object Oriented Programming (14 Marks) Q1. Give Characteristics of object oriented programming? Or Give features of object oriented programming? Ans: 1. Emphasis (focus) is on data
More informationHrs Hrs Hrs Hrs Hrs Marks Marks Marks Marks Marks
Subject Code: CC103-N Subject Title: FUNDAMENTALS OF PROGRAMMING Teaching scheme Total L T P Total Theory Credit Evaluation Scheme Mid Sem Exam CIA Pract. Total Hrs Hrs Hrs Hrs Hrs Marks Marks Marks Marks
More informationr } ~ ~ ~.,-~_.-.,..--- ~.._ ~ -.- " ~.., ~ i-~--~-..., _-_... 4 _-~ _. '".~ j l.- ~ i...l...i- ~.JI
r---.---------.. --------- 05 TRIBHUVAN UNIVERSITY i Exam. New Back (2066 & Later Batch) INSTITUTE OF ENGINEERING [-i~~~l- -- i BE i Full Marks I 80! Examination Control Division!P;~~;;~~~T~-i; ("Ii~~~~~-B.Ar~h)IP~ss-M;~
More informationSUMMER 13 EXAMINATION Model Answer
Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate
More informationGujarat University M. Sc. Computer Science [S. F.] Semester-1 Syllabus Gujarat Arts & Science College, Ahmedabad.
B. Sc. Computer Science SEM-II EFFECTIVE FROM ACADEMIC YEAR - 2016-2017 CODE Titles Th. Pr. COM-103 ProgramminginC (Theory) 4 COM-104 ProgramminginC(Practical) 4 Teaching Scheme Unit Computer Theory COM
More information(Following Paper ID and Roll No. to be filled by the student in the Answer Book)
F:/Academic/27 Refer/WI/ACAD/10 SHRI RAMSWAROOP MEMORIAL COLLEGE OF ENGG. & MANAGEMENT PAPER ID: 1602 (Following Paper ID and Roll No. to be filled by the student in the Answer Book) Roll No. B.Tech. SEM
More informationSRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR
SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR 603203 DEPARTMENT OF COMPUTER SCIENCE & APPLICATIONS QUESTION BANK (2017-2018) Course / Branch : M.Sc CST Semester / Year : EVEN / II Subject Name
More informationDETAILED SYLLABUS INTRODUCTION TO C LANGUAGE
COURSE TITLE C LANGUAGE DETAILED SYLLABUS SR.NO NAME OF CHAPTERS & DETAILS HOURS ALLOTTED 1 INTRODUCTION TO C LANGUAGE About C Language Advantages of C Language Disadvantages of C Language A Sample Program
More informationLong Questions. 7. How does union help in storing the values? How it differs from structure?
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
More informationCourse Title: C Programming Full Marks: Course no: CSC110 Pass Marks: Nature of course: Theory + Lab Credit hours: 3
Detailed Syllabus : Course Title: C Programming Full Marks: 60+20+20 Course no: CSC110 Pass Marks: 24+8+8 Nature of course: Theory + Lab Credit hours: 3 Course Description: This course covers the concepts
More informationMAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION
Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate
More informationM1-R4: Programing and Problem Solving using C (JULY 2018)
M1-R4: Programing and Problem Solving using C (JULY 2018) Max Marks: 100 M1-R4-07-18 DURATION: 03 Hrs 1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter
More informationINDIAN SCHOOL MUSCAT COMPUTER SCIENCE(083) CLASS XI
INDIAN SCHOOL MUSCAT COMPUTER SCIENCE(083) CLASS XI 2017-2018 Worksheet No. 1 Topic : Getting Started With C++ 1. Write a program to generate the following output: Year Profit% 2011 18 2012 27 2013 32
More informationPES INSTITUTE OF TECHNOLOGY (BSC) I MCA, First IA Test, November 2015 Programming Using C (13MCA11) Solution Set Faculty: Jeny Jijo
PES INSTITUTE OF TECHNOLOGY (BSC) I MCA, First IA Test, November 2015 Programming Using C (13MCA11) Solution Set Faculty: Jeny Jijo 1. (a)what is an algorithm? Draw a flowchart to print N terms of Fibonacci
More informationCOMPUTER SCIENCE HIGHER SECONDARY FIRST YEAR. VOLUME II - CHAPTER 10 PROBLEM SOLVING TECHNIQUES AND C PROGRAMMING 1,2,3 & 5 MARKS
COMPUTER SCIENCE HIGHER SECONDARY FIRST YEAR VOLUME II - CHAPTER 10 PROBLEM SOLVING TECHNIQUES AND C PROGRAMMING 1,2,3 & 5 MARKS S.LAWRENCE CHRISTOPHER, M.C.A., B.Ed., LECTURER IN COMPUTER SCIENCE PONDICHERRY
More informationSubject: PIC Chapter 2.
02 Decision making 2.1 Decision making and branching if statement (if, if-, -if ladder, nested if-) Switch case statement, break statement. (14M) 2.2 Decision making and looping while, do, do-while statements
More informationVALLIAMMAI ENGINEERING COLLEGE
VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 60 20 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK B.E I SEMESTER GE85- Problem Solving and Python Programming Regulation 207 Academic
More informationIt is necessary to have a single function main in every C program, along with other functions used/defined by the programmer.
Functions A number of statements grouped into a single logical unit are called a function. The use of function makes programming easier since repeated statements can be grouped into functions. Splitting
More informationProgramming for Problem Solving 105A L T P Credit Major Minor Total Time
ES- Programming for Problem Solving 105A L T P Credit Major Minor Total Time Test Test 3 - - 3 75 25 100 3h Purpose To familiarize the students with the basics of Computer System and C Programming Course
More informationBCA-105 C Language What is C? History of C
C Language What is C? C is a programming language developed at AT & T s Bell Laboratories of USA in 1972. It was designed and written by a man named Dennis Ritchie. C seems so popular is because it is
More informationModel Viva Questions for Programming in C lab
Model Viva Questions for Programming in C lab Title of the Practical: Assignment to prepare general algorithms and flow chart. Q1: What is a flowchart? A1: A flowchart is a diagram that shows a continuous
More informationEuclid s algorithm, 133
Index A Algorithm computer instructions, 4 data and variables, 5 develop algorithm, 6 American Standard Code for Information Interchange (ASCII) codes, 141 definition, 142 features, 142 Arithmetic expressions
More informationIV Unit Second Part STRUCTURES
STRUCTURES IV Unit Second Part Structure is a very useful derived data type supported in c that allows grouping one or more variables of different data types with a single name. The general syntax of structure
More informationAdvanced C Programming and Introduction to Data Structures
FYBCA Semester II (Advanced C Programming and Introduction to Data Structures) Question Bank Multiple Choice Questions Unit-1 1. Which operator is used with a pointer to access the value of the variable
More informationC Programming SYLLABUS COVERAGE SYLLABUS IN DETAILS
C Programming C SYLLABUS COVERAGE Introduction to Programming Fundamentals in C Operators and Expressions Data types Input-Output Library Functions Control statements Function Storage class Pointer Pointer
More informationReg. No. : Question Paper Code : 27157
WK 3 Reg. No. : Question Paper Code : 27157 B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2015. Time : Three hours Second Semester Computer Science and Engineering CS 6202 PROGRAMMING AND DATA STRUCTURES
More informationName :. Roll No. :... Invigilator s Signature : INTRODUCTION TO PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70
Name :. Roll No. :..... Invigilator s Signature :.. 2011 INTRODUCTION TO PROGRAMMING Time Allotted : 3 Hours Full Marks : 70 The figures in the margin indicate full marks. Candidates are required to give
More informationDecision Making -Branching. Class Incharge: S. Sasirekha
Decision Making -Branching Class Incharge: S. Sasirekha Branching The C language programs presented until now follows a sequential form of execution of statements. Many times it is required to alter the
More informationMAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER
Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate
More informationDR. A.P.J. ABDUL KALAM TECHNICAL UNIVERSITY LUCKNOW. Evaluation Scheme & Syllabus. For. B.Tech. First Year (Programming for Problem Solving)
DR. A.P.J. ABDUL KALAM TECHNICAL UNIVERSITY LUCKNOW Evaluation Scheme & Syllabus For B.Tech. First Year (Programming for Problem Solving) On Choice Based Credit System (Effective from the Session: 2018-19)
More informationCS6202 - PROGRAMMING & DATA STRUCTURES UNIT I Part - A 1. W hat are Keywords? Keywords are certain reserved words that have standard and pre-defined meaning in C. These keywords can be used only for their
More informationWriting an ANSI C Program Getting Ready to Program A First Program Variables, Expressions, and Assignments Initialization The Use of #define and
Writing an ANSI C Program Getting Ready to Program A First Program Variables, Expressions, and Assignments Initialization The Use of #define and #include The Use of printf() and scanf() The Use of printf()
More informationComputer Science & Information Technology (CS) Rank under AIR 100. Examination Oriented Theory, Practice Set Key concepts, Analysis & Summary
GATE- 2016-17 Postal Correspondence 1 C-Programming Computer Science & Information Technology (CS) 20 Rank under AIR 100 Postal Correspondence Examination Oriented Theory, Practice Set Key concepts, Analysis
More informationDEPARTMENT OF MATHS, MJ COLLEGE
T. Y. B.Sc. Mathematics MTH- 356 (A) : Programming in C Unit 1 : Basic Concepts Syllabus : Introduction, Character set, C token, Keywords, Constants, Variables, Data types, Symbolic constants, Over flow,
More informationIECD Institute for Entrepreneurship and Career Development Bharathidasan University, Tiruchirappalli 23.
Subject code - CCP01 Chapt Chapter 1 INTRODUCTION TO C 1. A group of software developed for certain purpose are referred as ---- a. Program b. Variable c. Software d. Data 2. Software is classified into
More informationFlow Chart. The diagrammatic representation shows a solution to a given problem.
low Charts low Chart A flowchart is a type of diagram that represents an algorithm or process, showing the steps as various symbols, and their order by connecting them with arrows. he diagrammatic representation
More informationName :. Roll No. :... Invigilator s Signature :.. CS/B.TECH (NEW)/SEM-2/CS-201/ BASIC COMPUTATION & PRINCIPLES OF COMPUTER PROGRAMMING
Name :. Roll No. :..... Invigilator s Signature :.. CS/B.TECH (NEW)/SEM-2/CS-201/2012 2012 BASIC COMPUTATION & PRINCIPLES OF COMPUTER PROGRAMMING Time Allotted : 3 Hours Full Marks : 70 The figures in
More informationC PROGRAMMING LAB MANUAL
C PROGRAMMING LAB MANUAL For BEX/BCT/B.Sc.CSIT/BIM/BCA BY BABU RAM DAWADI RAM DATTA BHATTA 448/ From the Book: Capsules of C Programming Appendix - B C PROGRAMMING LAB SHEETS Dear Students, Welcome to
More informationLoops / Repetition Statements
Loops / Repetition Statements Repetition statements allow us to execute a statement multiple times Often they are referred to as loops C has three kinds of repetition statements: the while loop the for
More informationComputer Programming. C Array is a collection of data belongings to the same data type. data_type array_name[array_size];
Arrays An array is a collection of two or more adjacent memory cells, called array elements. Array is derived data type that is used to represent collection of data items. C Array is a collection of data
More informationWrite a C program using arrays and structure
03 Arrays and Structutes 3.1 Arrays Declaration and initialization of one dimensional, two dimensional and character arrays, accessing array elements. (10M) 3.2 Declaration and initialization of string
More informationDecision Making and Loops
Decision Making and Loops Goals of this section Continue looking at decision structures - switch control structures -if-else-if control structures Introduce looping -while loop -do-while loop -simple for
More informationDept. of Computer Sc., SDP College for Women, Ludhiana
Dept. of Computer Sc., SDP College for Women, Ludhiana QUESTION BANK PROBLEM SOLVING THROUGH "C" BCA 1 st semester (2018-19) 1. Structured programming has been called a revolution in programming & is considered
More informationLoops / Repetition Statements
Loops / Repetition Statements Repetition statements allow us to execute a statement multiple times Often they are referred to as loops C has three kinds of repetition statements: the while loop the for
More informationVidyalankar F.Y. Diploma : Sem. II [CD/CM/CO/CW/DE/ED/EE/EI/EJ/EN/EP/ET/EV/EX/IC/IE/IF/IS/IU/MU] Programming in C
F.Y. Diploma : Sem. II [CD/CM/CO/CW/DE/ED/EE/EI/EJ/EN/EP/ET/EV/EX/IC/IE/IF/IS/IU/MU] Programming in C Time : 3 Hrs.] Prelim Question Paper Solution [Marks : 100 Q.1 Attempt any TEN of the following : [20]
More informationC programming basics T3-1 -
C programming basics T3-1 - Outline 1. Introduction 2. Basic concepts 3. Functions 4. Data types 5. Control structures 6. Arrays and pointers 7. File management T3-2 - 3.1: Introduction T3-3 - Review of
More informationUNIVERSITY OF ENGINEERING & MANAGEMENT, KOLKATA C ASSIGNMENTS
UNIVERSITY OF ENGINEERING & MANAGEMENT, KOLKATA C ASSIGNMENTS All programs need to be submitted on 7th Oct 206 by writing in hand written format in A4 sheet. Flowcharts, algorithms, source codes and outputs
More informationC Programming Multiple. Choice
C Programming Multiple Choice Questions 1.) Developer of C language is. a.) Dennis Richie c.) Bill Gates b.) Ken Thompson d.) Peter Norton 2.) C language developed in. a.) 1970 c.) 1976 b.) 1972 d.) 1980
More informationSRI SARASWATHI MATRIC HR SEC SCHOOL PANAPAKKAM +2 IMPORTANT 2 MARK AND 5 MARK QUESTIONS COMPUTER SCIENCE VOLUME I 2 MARKS
SRI SARASWATHI MATRIC HR SEC SCHOOL PANAPAKKAM +2 IMPORTANT 2 MARK AND 5 MARK QUESTIONS COMPUTER SCIENCE VOLUME I 2 MARKS 1. How to work with multiple documents in StarOffice Writer? 2. What is meant by
More informationGE PROBLEM SOVING AND PYTHON PROGRAMMING. Question Bank UNIT 1 - ALGORITHMIC PROBLEM SOLVING
GE8151 - PROBLEM SOVING AND PYTHON PROGRAMMING Question Bank UNIT 1 - ALGORITHMIC PROBLEM SOLVING 1) Define Computer 2) Define algorithm 3) What are the two phases in algorithmic problem solving? 4) Why
More informationC library = Header files + Reserved words + main method
DAY 1: What are Libraries and Header files in C. Suppose you need to see an Atlas of a country in your college. What do you need to do? You will first go to the Library of your college and then to the
More informationKLiC C Programming. (KLiC Certificate in C Programming)
KLiC C Programming (KLiC Certificate in C Programming) Turbo C Skills: The C Character Set, Constants, Variables and Keywords, Types of C Constants, Types of C Variables, C Keywords, Receiving Input, Integer
More informationCOMPUTER PROGRAMMING LAB
COURSE OUTCOMES SEMESTER I Student will be able to: COMPUTER PROGRAMMING LAB 1. Explain basic commands in Linux. 2. Develop programs in C language. 3. Design programs for various problems in C language.
More informationMulti-Dimensional arrays
Multi-Dimensional arrays An array having more then one dimension is known as multi dimensional arrays. Two dimensional array is also an example of multi dimensional array. One can specify as many dimensions
More informationPrepared by: Shraddha Modi
Prepared by: Shraddha Modi Introduction In looping, a sequence of statements are executed until some conditions for termination of the loop are satisfied. A program loop consist of two segments Body of
More informationAlgorithms 4. Odd or even Algorithm 5. Greatest among three numbers Algorithm 6. Simple Calculator Algorithm
s 4. Odd or even Step 3 : If number divisible by 2 then Print "Number is Even" Step 3.1 : else Print "Number is Odd" Step 4 : Stop 5. Greatest among three numbers Step 2 : Read values of a, b and c Step
More informationPreface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS
Contents Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS 1.1. INTRODUCTION TO COMPUTERS... 1 1.2. HISTORY OF C & C++... 3 1.3. DESIGN, DEVELOPMENT AND EXECUTION OF A PROGRAM... 3 1.4 TESTING OF PROGRAMS...
More informationLab 2: Structured Program Development in C
Lab 2: Structured Program Development in C (Part A: Your first C programs - integers, arithmetic, decision making, Part B: basic problem-solving techniques, formulating algorithms) Learning Objectives
More informationComputers Programming Course 6. Iulian Năstac
Computers Programming Course 6 Iulian Năstac Recap from previous course Data types four basic arithmetic type specifiers: char int float double void optional specifiers: signed, unsigned short long 2 Recap
More informationINDORE INDIRA SCHOOL OF CAREER STUDIES C LANGUAGE Class B.Sc. - IIND Sem
UNIT- I ALGORITHM: An algorithm is a finite sequence of instructions, a logic and explicit step-by-step procedure for solving a problem starting from a known beginning. OR A sequential solution of any
More informationColumns A[0] A[0][0] = 20 A[0][1] = 30
UNIT Arrays and Strings Part A (mark questions). What is an array? (or) Define array. An array is a collection of same data type elements All elements are stored in continuous locations Array index always
More informationImportant Questions for Viva CPU
Important Questions for Viva CPU 1. List various components of a computer system. i. Input Unit ii. Output Unit iii. Central processing unit (Control Unit + Arithmetic and Logical Unit) iv. Storage Unit
More informationIntroduction to Computer Science Midterm 3 Fall, Points
Introduction to Computer Science Fall, 2001 100 Points Notes 1. Tear off this sheet and use it to keep your answers covered at all times. 2. Turn the exam over and write your name next to the staple. Do
More informationContents. Preface. Introduction. Introduction to C Programming
c11fptoc.fm Page vii Saturday, March 23, 2013 4:15 PM Preface xv 1 Introduction 1 1.1 1.2 1.3 1.4 1.5 Introduction The C Programming Language C Standard Library C++ and Other C-Based Languages Typical
More informationKENDRIYA VIDYALAYA SANGATHAN BHUBANESWAR REGION SPLITUP SYLLABUS FOR COMPUTER SCIENCE CLASS XI
KENDRIYA VIDYALAYA SANGATHAN BHUBANESWAR REGION SPLITUP SYLLABUS FOR COMPUTER SCIENCE 2015-2016 CLASS XI Month Portion to be covered Th Prac July 2015 Computer Fundamentals 25 8 Classification of computers:
More informationChapter 21: Introduction to C Programming Language
Ref. Page Slide 1/65 Learning Objectives In this chapter you will learn about: Features of C Various constructs and their syntax Data types and operators in C Control and Loop Structures in C Functions
More informationHIGER SECONDARY FIRST YEAR COMPUTER SCIENCE
HIGER SECONDARY FIRST YEAR COMPUTER SCIENCE VOLUME I Chapter 1 : Introduction to computers and Number Systems 1.1 Introduction to Computers 1.1.1 History of Computers 1.1.2 Data, Information and program
More information