GUJARAT TECHNOLOGICAL UNIVERSITY

Size: px
Start display at page:

Download "GUJARAT TECHNOLOGICAL UNIVERSITY"

Transcription

1

2 GUJARAT TECHNOLOGICAL UNIVERSITY COMPUTER PROGRAMMING AND UTILIZATION (Modified on 4 th Feb 2014) SUBJECT CODE: B.E. 1 st YEAR Type of course: Basic Prerequisite: N.A. Rationale: N.A. Teaching and Examination Scheme: Teaching Scheme Credits Examination Marks Total L T P C Theory Marks Practical Marks Marks ESE (E) PA (M) ESE Viva (V) PA (I) * 30# L- Lectures; T- Tutorial/Teacher Guided Student Activity; P- Practical; C- Credit; ESE- End Semester Examination; PA- Progressive Assessment Content: Sr No Topic 1 Introduction to computer and programming: Introduction,Basic block diagram and functions of various components of computer,concepts of Hardware and software,types of softwares,compiler and interpreter, Concepts of Machine level, Assembly level and high level programming,flow charts and Algorithms. 2 Fundamentals of C Features of C language, structure of C Program, comments, header files,data types, constants and variables, operators, expressions, evaluation of expressions, type conversion, precedence and associativity, I/O functions 3 Control structure in c Simple statements, Decision making statements, Looping statements, Nesting of control structures, break and continue, goto statement 4 Array & String Concepts of array, one and two dimensional arrays,declaration and initialization of arrays,string, string storage, Built-in-string functions 5 Functions Concepts of user defined functions, prototypes, definition of function, prarameters, parameter passing, calling a function, recursive function,macros, Pre-processing 6 Pointers Basics of pointers, pointer to pointer, pointer and array, pointer Teaching Hrs Module Weightage 10% 15% 15% 15% 15% 10%

3 to array, array of pointers, functions returning a pointer 7 Structure Basics of structure, structure members, accessing structure members,nested structures, array of structures, structure and functions, structures and pointers 8 Dynamic memory allocation Introduction to Dynamic memory allocation, malloac, Calloc, 9 File management Introduction to file management and its functions Reference Books: 1. Programming in ANSI C by Balaguruswamy 2. C Programming: Test Your Skills, 1/e by Ashok Kamthane 3. Programming With Ansi And Turbo C book : Ashok Kamthane Programming in C Ansi standard, by Yashwant Kanetkar 5. Programming with C, Gottfried, McGraw-Hill. Course Outcome: At the end of this subject, students should be able to: % 5% 5% 1. Apply fundamental principles of problem solving in software engineering. 2. Apply basic programming principles using C language. 3. Apply basic C program structure in software development 4. Prepare graduates for professional careers in roles including, but not limited to, the following: computer programmer, software engineer, software systems designer, software applications developer, technical software project lead, computer systems analyst, computer systems programmer, software applications tester and maintainer. 5. To prepare graduates with the knowledge and skills to do advanced studies and research in computer science and related engineering and scientific disciplines 6. To equip graduates with the communication skills, both oral and written, to become an effective team-oriented problem solver as well as an effective communicator with nontechnical stakeholders in computer and software systems development, maintenance and administration. List of Experiments: PRACTICAL-SET 1 a. Write a program to print HELLO FRIENDS. b. Write a program that reads two nos. from key board and gives their addition, subtraction, multiplication, division and modulo. c. Write a program to convert days into months and days. d. Write a program to solve Quadratic Equation. e. Write a program to select & print the largest of the three nos. using Nested-If-Else statement. PRACTICAL-SET 2 1. Write a program to display multiplication table.

4 2. Write a program to print 1+1/2+1/3+1/4+ +1/N series. 3. Write a program to find sum of all integers greater than 100 & less than 200 and are divisible by The distance between two cities (In KM) is input through key board. Write a program to convert and print this distance in meters, feet, inches & centimeters. 5. Write a program to find sum of first N odd numbers. Ex N. PRACTICAL-SET-3 1. Write a program for use of putchar( ) and getchar( ) function. 2. Program to print Patterns. * * * * * * * * * * AAAAA BBBB CCC DD E PRACTICAL-SET-4 1. Write a program to print Fibonacci series. 1,1,2,3,5, N 2. Write a program to reverse the digit. 3. Add, subtract and multiply two nos. using switch statement. 4. Write a program to add two matrixes. 5. Write a program to given no in ascending order. 6. W.A.P to read array of integers and print it in reverse order PRACTICAL-SET-5 1. Write a program to count total words in text. 2. Find length of string using strlen( ) function, 3. Write a program to copy one string to another string. 4. Write a program to join two strings. 5. Write a program convert character into TOggLe character. 6. Find given string is palingrom or not using string library function.

5 PRACTICAL-SET-6 1. Write a function program to add first N numbers. 2. Write a function find out maximum out of three numbers. 3. Write a function power that computes x raised to the power y for integer x and y and returns double type value. 4. Write a program to find factorial of a number using recursion. 5. Write a program that used user defined function Swap ( ) and interchange the value of two variable. 6. Write a function prime that return 1 if it s argument is prime and return 0 otherwise. 7. Write a calculator program(add,subtract,multiply,divide). Prepare user defined function for each functionality. PRACTICAL-SET-7 1. Define a structure type, personal, that would contain person name, date of joining and salary. Using this structure, write a program to read this information for one person from the key board and print the same on the screen. 2. Define a structure called cricket that will describe the following information: a. Player name b. Team name c. Batting average 3. Write a function to enter rollno, marks of the three subject for 3 student and find total obtained by each student PRACTICAL-SET-8 f. Write a program using pointer and function to determine the length of string. g. Write a program using pointer to compare two strings. h. Write a program using pointer to concate two strings. i. Write a program using pointer to copy one string to another string. j. Write a program using pointer to read an array if integer and print element in reverse order. PRACTICAL-SET-9 1. Write a program that uses a table of integers whose size will be specified interactively at run time. 2. Write a program to store a character string in block of memory space created by malloc and then modify the same to store a large string. PRACTICAL-SET A program to illustrate reading files contents. 2. A program to illustrate the use of fgets( ). 3. A program to illustrate the use of fputc ( ) and fputs( ). Open Ended Problems: Apart from above experiments a group of students has to undertake open ended problem/design problem. Few examples of the same are given below.

6 Part-I Computer Programming & Utilization Basic Programming Fundamental Developments A. Design Basic Algorithm and Flow Chart Diagrams for Various Computer based Calculation Operations and show the Elementary Operational Blocks in Pseudo terms and Visual Blocks B. Develop Small CPU subject s Practical Instruction Manual for Each Chapter which can be helpful for Laboratory for at least 5 Experiments C. Develop the Basic Debugging plan using any of IDE you have learnt during CPU practical s and Open-ended Experiments You are going to perform in Part-II Part-II Open Ended Programming Problems ( For each Programming Problem Student has to define his Minor Project Definition in details. i. Develop module you should be able to manipulate character strings in C programs which should have all String Operations usually available in standard strings.h. student has to develop all string manipulation operation library in his myown-strings.h file. And all string manipulation operations are in mode of subroutine form such as combine-strings, merge-strings, search-string like etc. ii. Develop simple character-based Chess-game supporting standard partial chess moves. Chess board should be 8x8 Cell Board having each Cell of 4 characters. Basic chess board with empty shell should have W... Cell and B... For Black Cell. Wherever any players Game elements such as Rook or Camel or King or Queen is on board Cell then it. Then it should be displayed such as BQN2 or WQN1 which indicated such as Queen of player-2 on black cell or queen of player-1 on white cell. Or Student can use his own conventions. Student should be able to demonstrate 5 moves for each player minimum. iii. Develop simple Pointer simulation minor C programming explaining the pointer explanation in C such as while declaring pointer how memory look in simple memory table showing and while allocating memory by pointing pointer pointing to any basic primitive data type variable. iv. Develop C program for simulating the demonstration of Explaining the differences between analog and digital systems and show examples of each type of system v. Generate one SUDOKU game for 8 * 8 squares. a. Conditions: a number in a one square should not be repeated in its vertical line, horizontal line and diagonal line. b. When all the squares are fill-up by numbers and there is no repeating number as describe above the SUDOKU is done. vi. Develop a small editor which has utilities for alignment of content. User can select left alignment, right alignment or central alignment. a. Condition: while trying to align the content in a page, a word should not be broken into two lines. b. While selecting the above given options, content of a page should vii. Develop small simulated C Programming demonstrating the basic Binary math fundamentals using fundamental union and structure basics and show binary operations such as binary addition, binary multiplications *PA (M): 10 marks for Active Learning Assignments, 20 marks for other methods of PA ACTIVE LEARNING ASSIGNMENTS: Preparation of power-point slides, which include videos, animations, pictures, graphics for better understanding theory and practical work The faculty will allocate chapters/ parts of chapters to groups of students so that the entire syllabus of Computer Programming and Utilization is covered. The power-point slides should be put up on the web-site of the College/ Institute, along with the names of the students of the group, the name of the faculty,

7 Department and College on the first slide. The best three works should be sent to # ESE Pr (V):10 marks for Open Ended Problems, 20 marks for VIVA. Note: Passing marks for PA (M) will be 12 out of 30. Passing marks for ESE Pract(V) will be 15 out of 30.

8 Seat No.: Enrolment No. GUJARAT TECHNOLOGICAL UNIVERSITY BE - SEMESTER 1/2 (NEW) EXAMINATION WINTER 2017 Subject Code: Date: 05/01/2018 Subject Name: Computer Programming and Utilization Time: 10:30 AM TO 01:00 PM Total Marks: 70 Instructions: 1. Question No. 1 is compulsory. Attempt any four out of remaining Six questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. Q.1 Objective Question (MCQ) Mark (a) 1. Which one is an input device? a) Monitor b) Printer c) Mouse d) Plotter 2. Which the following is an application software? a) Compiler b) MS Word c) Assembler d) Interpreter 3. What is the value of expression 4/9 in C? a) 1 b) 0 c) d) Error 4. A declaration float a, b; occupies how much memory? a) 2 bytes b) 4 bytes c) 8 bytes d) 16 bytes 5. To round off x, which is a float, to an int value, which one is correct? a) y = (int)(x+0.5); b) y = int(x+0.5); c) y = (int)x+0.5; d) y = (int)((int)x+0.5); 6. What is the output of following C code? int k; for(k=1;k>=10;k++); printf( Hello ); a) prints Hello 10 times b) prints nothing c) prints Hello infinite times d) prints Hello 1 time 7. What is the output of 16>>2? a) 4 b) 32 c) 8 d) Which one is the correct syntax of for loop? a) for(initialization,condition,increment/decrement) b) for(initialization;condition;increment/decrement) c) for(condition,condition,increment/decrement) d) for(condition;initialization;increment/decrement) 2. What is the output of following code: void main() { enum day{mon,tues,wed,thu,fri,sat,sun}; printf("%d",fri); getch(); } a) 5 b) Error c) 4 d) Fri

9 3. Which function should be used to release allocated memory which is not needed? a) dealloc( ) b) free ( ) c) release ( ) d) unalloc ( ) 4. What is the output of following C code? int main() { int *ptr, a = 10; ptr = &a; *ptr += 1; printf("%d,%d/n", *ptr, a); } a) 10,10 b) 10,11 c) 11,10 d) 11,11 5. Break statement is used for a. Quit a program b. Quit the current iteration c. Both a and b d. None of the above 6. Which function is used to put the file pointer at the desired location in the file? a) fseek( ) b) rewind( ) c) ftell( ) d) fptr( ) 7. Which data type allows storage of same data type? a) Array b) Union c) Void d) both a and b Q.2 (a) Draw a flowchart to find out smallest number from given three numbers. 03 List and explain fundamental data types of C language. Explain basic structure of C program. Q.3 (a) Write a program to find out an area of a circle 03 What is type conversion? List and explain type conversion supported by C language with example. Explain following operators used in C language. 1) Logical 2) Increment/Decrement 3) Bitwise 4) Relational Q.4 (a) Write a program to print multiplication table of any number. 03 What is Array in C language? How is it different from Structure in C language? State advantages and disadvantages of Array. Write a program to display given pattern * # # * * * # # # # * * * * * # # # # # # * * * * * * * Q.5 (a) Explain Entry Controlled Loop and Exit Controlled Loop with flowchart. 03 Write a program to check whether a given string is palindrome or not. Explain following string manipulation functions. strcmp( ), strlen( ), strcat( ), strstr( ) Q.6 (a) Differentiate Structure vs. Union 03 What is Recursion? Write a program to find factorial of a given number using recursion.

10 What is function? Explain the function definition, function prototype and function call with relative example. Q.7 (a) Explain fopen ( ) and fclose ( ) file handling functions 03 Write a program to print the program itself. What is Pointer in C? Explain its advantages. Also write a program to swap two elements using pointer. ***********

11

12 Seat No.: Enrolment No. GUJARAT TECHNOLOGICAL UNIVERSITY BE- SEMESTER 1 st / 2 nd EXAMINATION (NEW SYLLABUS) SUMMER Subject Code: Date:03/06/2017 Subject Name: Computer Programming & Utilization Time: 2:30 PM to 05:00 PM Total Marks: 70 Instructions: 1. Question No. 1 is compulsory. Attempt any four out of remaining Six questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. Q.1 Objective Question (MCQ) Mark (a) 1. In flowchart for what purpose symbol is used? (a) Processing. Condition. Data flow. (d) input/output. 2. Continue statement (a) Breaks loop and goes to next statement after loop. Does not break loop but starts new iteration. Exits the program. (d) Starts from beginning of program. 3. Which of the following loop is executed at least once (a) for loop while loop do while loop (d) None of the above 4. ASCII value of a is (a) (d) None of the above 5. A float requires bytes in memory (a)2 bytes 1 byte 8 bytes (d)4 bytes 6. The format string to accept a string is (a)%c %d %f (d)%s 7. Which header file is necessary for strlen() function? (a)conio.h strings.h string.h (d)stdio.h

13 1. When a key is pressed on keyboard, which standard is used for converting the keystroke into the corresponding bits (a) ANSI ASCII EBCDIC (d) ISO 2. Which of the following is used as a string termination character? (a) 0 \0 /0 (d) None of these 3. Which of the following operator is used to select a member of a structure variable (a).(dot),(comma) : (colon) (d) ;(semicolon) 4. C is a language (a) Machine Level Low Level Middle Level (d)high Level 5. What is the output of the following code: void main() { int i; for(i=1;i<=10;i++); printf( %d\n,i); } (a) 10 1 to (d) None of the above 6. What is the output of the following code: void main() { int i; for(i=65;i<70;i++) printf( %c,,i); } (a)65,66,67,68,69,70 a,b,c,d,e, A,B,C,D,E, (d)a,b,c,d,e 7. What is the output of following code: void main() { int i=5; switch(i) { case 3: printf( three ); case 4: printf( four ); case 5: printf( five ); case 6: printf( six );break; case 7: printf( seven ); default: printf( default ); } } (a)five fivesixsevendefault fivesix (d) None of the above Q.2 (a) List the data types provided by C programming language. 03 What is bottom tested loop? Give example. Write a program to accept start number and end number from the user and print all the numbers in the range.

14 Q.3 (a) Explain switch case in C with the help of an example. 03 Write code to find out largest of 2 numbers using ternary operator. Write a program in C to print the following pattern Q.4 (a) Explain strcat(),strlen() and strcpy() functions with examples. 03 Explain function declaration, function definition and function call. Write a function which takes 2 numbers as parameters and returns the gcd of the 2 numbers. Call the function in main(). Q.5 (a) What is array? Give example of array. 03 What is string? In how many ways can you accept data in a string? Write a program to accept a string and count the number of vowels present in a string. Q.6 (a) What is a pointer? How and when is it used? 03 Write a function to swap 2 numbers. Write a program to find out the largest of an array. Q.7 (a) What is a structure? Give example. 03 Explain malloc(),calloc() with examples. Write a C program to which copies the contents of one file to other. ***********

15 Seat No.: Enrolment No. GUJARAT TECHNOLOGICAL UNIVERSITY BE SEMESTER 1 st / 2 nd (NEW) EXAMINATION WINTER 2016 Subject Code: Date: 27/01/2017 Subject Name: COMPUTER PROGRAMMING AND UTILIZATION Time: 10:30 AM TO 1:00 PM Total Marks: 70 Instructions: 1. Question No. 1 is compulsory. Attempt any four out of remaining Six questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. Q.1 Objective Question (MCQ) MARKS (a) 1. Which one of the following is known as the language of the computer? (a) Programming language. High-level language. Machine language. (d) Assembly language. 2. Any C program (a) Must contain at least one function. Need not contain any function. Needs input data. (d) None of the above. 3. In flowchart for what purpose symbol is used? (a) processing. condition. data flow. (d) input/output. 4. Which is a correct C expression? (a) z = (x+y); z = [x+y]; z = {x+y}; (d) z = {(x+y)}; 5. If we want to increment the value of sum by 1. Which of following should be used? (a) sum++; sum = sum+1; sum+ = 1; (d) all of above. 6. Continue statement (a) Breaks loop and goes to next statement after loop. does not break loop but starts new iteration. exits the program. (d) Starts from beginning of program. 7. Which of following is not a valid assignment expression? (a) y = 22 ; s = x; y % = 6; (d) z = 5 = 3; 1. What should be written in the program to get newline on the screen? (a) printf( \n ); echo \\n ; printf( \n ); (d) printf( \\n );

16 2. In which of the following the loop is executed at least once? (a) while do - while for (d) if 3. How many times following loop will be executed. main() { int i = 32766; while (i<= 32767) { printf( %d\n,i); i = i+ 1; } } (a) 2 times. 1 times. infinite times. (d) loop will not be executed. 4. File manipulation functions in C are available in which header file? (a) streams.h stdio.h stdlib.h (d) files.h 5. A pointer value refers to (a) A float value. An integer constant. Any valid address in memory. (d) None. 6. Structure can contain elements of the same data type. (a) true false 7. Which function reallocates memory? (a) realloc calloc malloc (d) None of these Q.2 (a) Recall the definitions of (I) Assembler (II) Compiler (III) Interpreter 03 Write a program that reads two numbers from key board and gives their addition, subtraction, multiplication, division and modulo. Develop an application program to convert and print distance between two cities in meters, feet, inches & centimeters. The distance between two cities (In KM) is input through key board. Q.3 (a) Discuss general form of following decision making statements. (I) IF (II) SWITCH (III) GOTO Describe the four basic data types. How could we extend the range of values they represent? Write a program to find sum of first N odd numbers. Ex N. Q.4 (a) List down three constructs for performing loop operations in C language. Write general form of same. Distinguish between the following pairs: (I) getchar and scanf functions. (II) %s and %c specifications for reading. Develop a simple program to Add, subtract and multiply two numbers using switch statement Q.5 (a) What is a pointer? How is a pointer initialized? 03

17 Discuss initialization of one-dimensional arrays with example. Recall and describe different categories of functions. Q.6 (a) What do you understand by linked list? How is it represented? 03 Distinguish between structure and array. Discuss the meaning and purpose of following: (I) struct keyword (II) typedef keyword (III) sizeof operator. Write a program to count total words in text. Q.7 (a) Distinguish between the following functions: (I) getc and getchar (II) printf and fprintf (III) feof and ferror. Write a program to illustrate the use of fputc ( ) and fputs( ). Define a structure called cricket that will describe the following information: a. Player name b. Team name c. Batting average 03 ***********

18 Seat No.: Enrollment No. GUJARAT TECHNOLOGICAL UNIVERSITY BE - SEMESTER 1 st / 2 nd EXAMINATION (NEW SYLLABUS) SUMMER 2016 Subject Code: Date:/06/2016 Subject Name: Computer Programming & Utilization Time: 02:30 PM to 5:00 PM Total Marks: 70 Instructions: 1. Question No. 1 is compulsory. Attempt any four out of remaining Six questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. Q.1 Objective Question (MCQ) MARKS (a) 1. Which of the following is ternary operator? (a)?? :??: (d) :: 2. Which header file is essential for using scanf() function? (a) ctype.h string.h conio.h (d) stdio.h 3. A declaration float sum, value; occupies of memory? (a) 2 byte 4 byte 6 byte (d) 8 byte 4. Array index start at (a) 1 User Defined 0 (d) None of above 5. When function calls itself, it is known as. (a) Recursion exit control loop Nested loop (d) user defined function 6. Default value of global variable is (a) 0 1 Garbage value (d) Depend on data type 7. When fopen() fails to open a file it returns (a) NULL 1-1 (d) None of above 1. Default value of local variable is 0 1 (a) Garbage value (d) Depend on data type 2. ASCII value of A is. (a) (d) MACRO is used to. (a) Save memory fast execution Both a & c (d) none of above 4. Every string is terminated by NULL character. How it is represented? (a) \0 both a and b NULL (d) None of above 5. Which are not looping structures? (a) For loop While loop Do...while loop (d) if else

19 6. If ptr is a pointer to int, having value ptr=100. After ptr++, what is the value of ptr? (a) (d) How many times the following code prints the string hello for(i=1;i<=50;i++); printf( Hello ); (a) 1 50 Zero (d) None of them Q.2 (a) List out types of software with Examples. 03 Explain flow chart with suitable example. Write a C program to convert Celsius to Fahrenheit and vice versa. Q.3 (a) Discuss the important of stdio.h header file. 03 Explain entry control loop and exit control loop with example. Write a menu driven C program for simple calculator. Also draw flowchart. Q.4 (a) Explain basic data types of C. 03 Explain break and continue statement with example. Write a C program to display prime number between 1 to 100. Q.5 (a) Explain Derive data types. 03 Explain getch(), getchar(), gets(), puts() Write a C program to multiply two N X N Matrix. Q.6 (a) Briefly discuss about scope of variable. 03 Explain Call by value and Call by reference. Which type of problem can be solved by structure? Explain it with C program. Q.7 (a) Explain dynamic memory allocation. 03 Write syntax of fseek() function and explain fseek(fp,-10,1) and fseek(fp,10,0). Write a program to read n different integer numbers from keyboard and calculate the sum using pointer. ***********

20 Seat No.: Enrolment No. GUJARAT TECHNOLOGICAL UNIVERSITY BE - SEMESTER I & II (NEW) EXAMINATION WINTER 2015 Subject Code: Date:30/12/2015 Subject Name: Computer Programming and Utilization Time: 10:30am to 01:00pm Total Marks: 70 Instructions: 1. Question No. 1 is compulsory. Attempt any four out of remaining Six questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. Q.1 Objective Question (MCQ) Mark (a) 1. Which protocol is used to transfer files on internet A) HTTP B) FTP C) SMPT D)Telnet 2. Which one is input device? A) Monitor B) Keyboard C) CPU D) Printer 3. In Microsoft Excel you can use the horizontal and vertical scroll bar to A) Split a worksheet to two panes B) Edit the contents of a cell C)View different rows and columns D) View different worksheet 4. A Pointer is? A) A keyword used to create variables. B) A variable that stores address of an instruction. C) A variable that stores address of other variable. D) All of above. 5. Full Form of RAM? A) Random Access Memory B) Ready Application Module C) Remote Access Machine D) Read Access Memory 6. What type of memory is volatile? A) Cache B) RAM C) ROM D) Hard Drive 7. C is a language A) High Level B) Low Level C) Middle Level D) Machine Level 1. Which of the following is used as a string termination character? A) 0 B) \0 C) /0 D) None of these 2. Which part of CPU perform calculations and make decision A) Alternate Logic Unit B) Arithmetic Local Unit C) Arithmetic Logic Unit D) Alternate Local Unit 3. Which of the following is a symbol for logical AND operator? A) II B) & C) && D) $$ 4. BIOS is an abbreviation of A) Basic Input Output System B) Best Input Output System C)Basic Input Output Symbol D) Base Input Output System 5. The system unit of a personal Computers typically contains all of the following except: A) Microprocessors B)Disk controller C) Serial interface D) Modem 6. With regards to Addresses: A) They must always contain symbol B) They are case sensitive C) They can never contain space D) All of above 7. What will be a meaning of 1KB of memory A) 1 Kit Bit B) 1 Kilo Byte C)1 Kernel Boot D) 1 Key Block

21 Q.2 (a) Define algorithm and explain different symbols used in flowchart. 03 Write a program to select and print the largest of the three nos. using nested-if-else statement. Draw a flow chart to do the sum of 10 elements read from the user. Q.3 (a) What is Software and Hardware? Explain different types of Software. Write an algorithm and draw a flowchart to print first N Fibonacci numbers. Explain different type of operators used in c language with their precedence and associativity. 03 Q.4 (a) Describe file management? Recall various file modes. 03 Write a program in c for multiplication of two matrix. Discuss about various operators used in C language. Q.5 (a) Write an algorithm for finding odd and even number from given 03 two numbers. List the header files used in c Programing with their properties. Write a program to print the following pattern. * * * * * * * * * * Q.6 (a) Distinguish between Structure and Union. 03 List out the categories of functions of C. Explain any one category with example. Write a program to find the sum of first N odd numbers. Q.7 (a) Write a program to reverse the input string. 03 Explain various types of loop available in C with example. What is pointer? Give its benefits. Write a program to do swapping of two elements using function with two pointers as arguments. ***********

22 Seat No.: Enrolment No. GUJARAT TECHNOLOGICAL UNIVERSITY BE SEMESTER 1 st /2 nd (NEW SYLLABUS) EXAMINATION SUMMER 2015 Subject Code: Date:10/06/2015 Subject Name: COMPUTER PROGRAMMING AND UTILIZATION Time: 10.30am-01.00pm Total Marks: 70 Instructions: 1. Question No. 1 is compulsory. Attempt any four out of remaining Six questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. Q.1 Objective Question (MCQ) (a) 1. Which of the following is a part of primary memory of computer a) PROM c) Pen-drive b) CD-ROM d) Floppy Disk 2. Which protocol is used to transfer files on internet a) HTTP c)ftp b) SMPT d)telnet 3. Microprocessor of computer system is a part of :- a) Memory c)output Device b) Input Device d) Processing Unit 4. Which is not a font style in MS-Word a) Bold c) italic b) Superscript d) Regular 5. With which of the following all formulas in excel starts? a) / c) $ b) * d) = 6. Which of the following is not one of PowerPoint view? a) Slide show view c) Presentation view b) Slide view d) Outline view 7. In the evaluation of a computer language, all of the following characteristics should be considered except? a) application oriented features c) readability b) efficiency d) hardware maintenance costs OR Q.1(a) 1. Objective Question (MCQ) Keyboard is the type of device A. Input B. Pointing C. Output D. Sound 2. A document or image can be scanned in to digital form by using A. Marker B. Printer C. Light pen D. Scanner 3. ALU is A. Array Logic Unit B. Application Logic Unit C. Arithmetic Logic Unit D. None of these 4. HTML stands for A. Hyper Text Makeup Language B. Hyper Text Markup Language C. Hyper Tech Markup Language D. None of these

23 Operating system is installed on A. Hard Disk B. Cache memory C. Mother Board D. None of these Recycle bin is used for A. To store backup file B. To restore deleted file / folder C. To store most frequently D. All the above The process a user goes through to begin a computer system. A. Log out B. Log in C. Log off D. None of these 1. The first expression in a for loop is a) Step value of loop c) Condition statement b) Value of the counter variable d) None of the above 2. Continue statement used for a) To continue to the next line of code b) To stop the current iteration and begin the next iteration from the beginning c) To handle run time error d) None of above 3. What will be the output of following program #include main() { int x,y = 10; x = y * NULL; printf(\"%d\",x); } a) error c) 10 b) 0 d) garbage value 4. Difference between calloc() and malloc() a) calloc() takes a single argument while malloc() needs two arguments b) malloc() takes a single argument while calloc() needs two arguments c) malloc() initializes the allocated memory to ZERO d) calloc() initializes the allocated memory to NULL 5. Which among following is not necessary for working of a standalone computer? a) RAM c) Operating System b) Hard Drive d) LAN card 6. What is algorithm? a)application code c) None of above b)type of programming language d) Step by step procedure for calculations

24 7. printf() belongs to which library of c a) stdlib.h c) stdout.h b) stdio.h d) stdoutput.h Q.2 (a) Define algorithm and explain different symbols used in flowchart. 03 Write the difference between structure and union. Explain different type of operators used in c language with their precedence and associativity. Q.3 (a) What do you mean by type conversion? Why is it necessary? 03 What is difference between keywords and identifiers? Explain rules for naming an identifier. Explain different loops used in c language.write the difference between while loop and do while loop. Q.4 (a) What is a file? List the various file handling operations in c. 03 What is user-defined function? Explain actual argument and formal arguments Write a program in c for multiplication of two matrix. Q.5 (a) Explain the use if malloac and calloc function with their syntax. 03 What is String? How are they declared and also define the null character What do you mean by recursive function? Write a program in c to find factorial of a number using recursive function. Q.6 (a) Explain the difference between call by reference and call by value with proper example How to initialize Pointer? Explain arrays of pointer using suitable sample program. Write a program in c using structure to enter rollno, marks of the three subject for 3 student and find total obtained by each student 03 Q.7 (a) What is Software and Hardware? Explain different types of Software. 03 Write a program using pointer and function to determine the length of string Explain different type of functions used in c language. Write a program using function to find maximum if two numbers. *************

25 Seat No.: Enrolment No. GUJARAT TECHNOLOGICAL UNIVERSITY B. E. - SEMESTER I-II (NEW) EXAMINATION WINTER 2014 Subject Code: Date: Subject Name: Computer Programming and Utilization Time: 10:30 am - 01:00 pm Total Marks: 70 Instructions: 1. Question No. 1 is compulsory. Attempt any four out of remaining six questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. Q.1 MARKS (a) Objective Question (MCQ) 1. Software required to run the hardware is known as (a) Task Manager Task Bar Program Manager (d) Device Driver 2. Which the following is application software? (a) Compiler Power Point Debugger (d) None of the above 3. Which of the programming language is said to be machine independent language? (a) High Level Language Machine Language Assembly Language (d) All the Above 4. What will be a meaning of 1KB of memory (a) 1 Kit Bit 1 Kilo Byte 1 Kernel Boot (d) 1 Key Block 5. Which of the following is smallest Network? (a) MAN LAN WAN 6. FTP stands for (a) File Transport Protocol File Transfer Protocol Folder Transfer Protocol 7. When a key is pressed on keyboard, which standard is used for converting the keystroke into the corresponding bits (a) ANSI ASCII EBCDIC (d) ISO OR (a) Objective Question (MCQ) 1. Which one is input device? A Monitor C Keyboard B CPU D Printer 2. Which part of CPU perform calculations and make decision A Alternate Logic Unit C Arithmetic Local Unit B Arithmetic Logic Unit D Alternate Local Unit 3. RAM stands for A Random Access Memory C Read Access Memory B Random Automatic Memory D Read Automatic Memory 4. The memory capacity of a computer is represented in A Kilobits C Kilobytes B Memory chips D None of the above 5. HTML is used to design A Webpage C Website

26 B Multimedia Objects D Tables and frames 6. What type of memory is volatile? A Cache C RAM B ROM D Hard Drive 7. With regards to Addresses: A They must always contain symbol B They are case sensitive C They can never contain space D All of above 1. Structure can contain elements of the same data type (a) true false 2. Which of the following operator is used to select a member of a structure variable (a).(dot),(comma) : (colon) (d) ;(semicolon) 3. C is a language (a) High Level Low Level Middle Level (d) Machine Level 4. A declaration float a,b; occupies of memory? (a) 1 bytes 4bytes 8byte (d) 16 bytes 5. Which function reallocates memory? (a) realloc calloc malloc (d) None of these 6. Which of the following is used as a string termination character? (a) 0 \0 /0 (d) None of these 7. File manipulation functions in C are available in which header file? (a) streams.h stdio.h stdlib.h (d) files.h Q.2 (a) Explain the different data types of C language 03 Recall the definition of dynamic memory allocation? Differentiate between malloc and calloc? What is string? Write a program to concatenate two strings without using built in function. Q.3 (a) Compare call by value & call by reference with suitable example. 03 Explain inline function with example. Write a program to print the following pattern Q.4 (a) What is Pointer in C? Explain its advantages. 03 Write a C Program to check whether the given number is prime or not. Explain various categories of functions with suitable example.

27 Q.5 (a) What do you understand by recursive function? Explain with small example. Illustrate the concept of structure? Explain how can we access structure members? Write an algorithm and draw a flowchart to print first N Fibonacci numbers. 03 Q.6 (a) Distinguish between Structure and Union. 03 Write a program to do swapping of two elements using function with two pointers as arguments. Discuss about various operators used in C language. Q.7 (a) Describe file management? Recall various file modes. 03 Explain following string manipulation function. strcat( ), strcpy( ),strcmp( ) and strlen( ) What do you understand by looping? Explain different types of loops in C with example and compare them. ***********

28 Seat No.: Enrolment No. GUJARAT TECHNOLOGICAL UNIVERSITY BE - SEMESTER 1 st / 2 nd EXAMINATION SUMMER 2014 Subject Code: Date: Subject Name: Computer Programming and Utilization Time: 02:30 pm - 05:00 pm Total Marks: 70 Instructions: 1. Question No. 1 is compulsory. Attempt any four out of remaining Six questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. Q.1 Objective Question (MCQ) (a) 1. To Learn Computer, without going to classroom what will be other way a) Distance Learning b) I-Learning c) Digital Learning d) E-Learning 2. How to write E_mail Address? a) xyz@website.info b) xyz@website@info c)xyz.website.info d)xyzwebsite.info 3. What will be a meaning of 1KB of memory a) 1 Kit Bit b) 1 Kilo Byte c) 1 Kernel Boot d) 1 Key Block 4. Full Form of RAM? a) Random Access Memory b) Ready Application Module c) Remote Access Machine d) Read Access Memory 5. What is Computer Virus? a) Software b) Hardware c) a and b d) None of above 6. Full form of IP? a) Internet Principle b) Intercom Protocol c) Intranet Protocol d) Internet Protocol 7. What will be extension of Web Page s file? a).xls b).3gp c).html d).ppt 1. Which of following loop is executed at least once? a) do-while b) for c) if d) while 2. What will be printed if we type the statement printf( %d\n, d ); a) 0 b) 100 c) error d) d 3. C is a language. a) High level b) Middle level c) Machine level d) Low level 4. Which header file is essential for using printf() function? a) text.h b) strings.h c) stdio.h d) strcmp.h 5. Which among the following is a unconditional control structure. a) goto b) for c) do-while d) if-else 6. A pointer value refers to a) A float value b) An integer constant c) Any valid address in memory d) None 7. Recursion is a process in which a function calls a) itself b) another function c) main() function d) none of the above 1/2

29 Q.2 (a) Define following 1) Operating System 2) Compiler 3) Interpreter 4) Assembler 5) Loader 6) Linker 7) Preprocessor. Draw a flow chart to do the sum of 10 elements read from the user. Q.3 (a) Explain primary data types used in C. Write a program to select and print the largest of the three nos. using nested-if-else statement. Q.4 (a) Explain various types of loop available in C with example. Write a program to perform addition, multiplication, subtraction and division with switch statement. Q.5 (a) Describe following string functions in C-Language. 1) strcpy() 2) strcat() 3) strlen() 4) strcmp() Write a program to print the following pattern. * * * * * * * * * * Q.6 (a) List out the categories of functions of C. Explain any one category with example. What is pointer? Give its benefits. Write a program to do swapping of two elements using function with two pointers as arguments. Q.7 (a) What is structure? Explain nested structure and array of structure with example. What is file management? List the different file management functions and explain the various file modes. ************* 2/2

30 Seat No.: Enrolment No. GUJARAT TECHNOLOGICAL UNIVERSITY BE - SEMESTER 1 st / 2 nd EXAMINATION (New Syllabus) WINTER 2013 Subject Code: Date: Subject Name: Computer Programming & Utilization Time: 10:30 am 01:00 pm Total Marks: 70 Instructions: 1. Question No. 1 is compulsory. Attempt any four out of remaining six questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. Q.1 Objective Questions (a) 1. Which of the following will you find on an inkjet printer? (A) It has an ink ribbon. (B) It has an ink cartridge. (C) It has high voltage power supply. (D) It uses toner powder. 2. Why is it important to keep Windows updated using the Windows update website or automatic updates? (A)To keep your system secure and to install critical updates. (B)To keep your system fast. (C)To keep your system optimized for the new game. (D)To keep your system from overheating. 3. Which protocol used to display web pages? (A) SNMP (B) SMPT (C) Telnet (D) HTTP 4. In Microsoft Excel you can use the horizontal and vertical scroll bar to (A) Split a worksheet to two panes (B) Edit the contents of a cell (C)View different rows and columns (D) View different worksheet 5. The system unit of a personal Computers typically contains all of the following except: (A) Microprocessors (B)Disk controller (C) Serial interface (D) Modem. 6. Which of the following is a read only memory storage device? (A) Floppy Disc (B) CD-ROM (C) Hard Disk (D)None of these 7. BIOS is an abbreviation of (A) Basic Input Output System (B) Best Input Output System (C)Basic Input Output Symbol (D) Base Input Output System 1. A Pointer is? (A) A keyword used to create variables. (B) A variable that stores address of an instruction. (C) A variable that stores address of other variable. (D) All of above. 2. Which of the following function is more appropriate for reading in a multiword string? (A) printf(); (B) scanf(); (C) gets(); (D) puts(); 1/2

31 3. What are the different types of real data types in C? (A) float, double. (B) short int, double, long int. (C) double, long int, float (D) float, double, long double. 4. What do you call the translator which takes assembly language program as input and produce machine language code as output? (A) Compiler (B) Interpreter (C) Debugger (D) Assembler 5. Which of the following is a symbol for AND operator? (A) II (B) & (C) && (D) $$ 6. Which of the following is a correct statement? (A) Variable name must start with underscore (B) Variable name must have digit (C) Variable name must have white space character (D) Keyword cannot be a variable name 7. What will be the output of following code. { int x = 10, y=15; x = x++; y = ++y; printf( %d, %d \n, x, y); } (A) 10, 15 (B) 10, 16 (C) 11, 16 (D) 11, 15 Q.2 (a) Explain various Operators used in C language. Write an algorithm and draw the flow chart to find the largest of the given three numbers A,B and C. Q.3 (a) Draw and explain the block diagram of Computer System. Write a program to find the sum of first N odd numbers. Q.4 (a) What is function? Explain the function definition, function prototype and function call with example. What is structure? How does a structure differ from an array? How is an array of structure initialized? Q.5 (a) What is Pointer? How is Pointer initialized? How is it different from Array? Write a program to print the following pattern Q.6 (a) What is string? Write a program to reverse the input string. Write a function program to find whether the string is palindrome or not. Q.7 (a) What is file management? List the different file management functions and explain the various file modes. List the various types of loop available in C and explain their syntax. ************* 2/2

32 Seat No.: Enrolment No. GUJARAT TECHNOLOGICAL UNIVERSITY B. E. - SEMESTER I EXAMINATION WINTER 2012 Subject code: Date: Subject Name: Computer Programming & Utilization Time: am pm Total Marks: 70 Instructions: 1. Attempt any five questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks. Q.1 Answer the following. (i)explain the primary data types used in C. (ii)explain switch case statement with brief example. (iii)explain the difference between while and do..while statement. (iv)what is String? Explain any four string handling functions in C. 14 Q.2 (a) Draw the Block diagram of Computer System and explain. 7 Write a program to display following pattern using nested for loops For n lines. 7 Q.3 (a) Write a C program to check whether the given number is Prime or not. 7 Write a C program to read 10 numbers from user and store them in an Array. 7 Display Sum, Minimum and Average of the numbers. Q.4 (a) Write a C program to Multiply two 3 X 3 Matrix. Read Two matrices from the user. Explain the following terms in brief: Operating System, Compiler, Global Variable, Header Files 8 6 Q.5 (a) Explain various operators used in C language. 7 What is Pointer in C? Explain its advantages. Also write a function to do 7 swapping of two elements using pointer. Call this function in main(). Q. 6 (a) Explain various symbols used in Flowchart and draw the flowchart for finding Factorial of a number given by user. Write short notes on following. (i) File Operations in C. (ii) Categories of Functions. Q.7 (a) What is structure in C? Define a structure named Student with roll_no, name and percentage as members. Read data of 5 students from user and display them in proper format. Write short notes on following: (i) Nested if..else statement. (ii) Use of break and continue statement. ***************

33

SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY AHMEDABAD

SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY AHMEDABAD SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY AHMEDABAD Computer Programming and Utilization (20003) BOOKLET 205-206 CPU (20003) Page INDEX Sr. No Topic Page No. Syllabus 3 2 Lesson Planning 5 3 Practical

More information

SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY AHMEDABAD

SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY AHMEDABAD SILVER OAK COLLEGE OF ENGINEERING & TECHNOLOGY AHMEDABAD Computer Programming and Utilization (20003) BOOKLET 205-206 CPU (20003) Page INDEX Sr. No Topic Page No. Syllabus 3 2 Lesson Planning 5 3 Assignments

More information

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

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 information

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

Subject: 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 information

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

Questions Bank. 14) State any four advantages of using flow-chart Questions Bank Sub:PIC(22228) Course Code:-EJ-2I ----------------------------------------------------------------------------------------------- Chapter:-1 (Overview of C Programming)(10 Marks) 1) State

More information

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

Syllabus 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 information

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

Programming 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 information

Multiple Choice Questions ( 1 mark)

Multiple 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 information

Hrs Hrs Hrs Hrs Hrs Marks Marks Marks Marks Marks

Hrs 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 information

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

Aryan 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 information

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

VALLIAMMAI 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 information

DR. 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) 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 information

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

Gujarat 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

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

B.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 information

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

Course 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 information

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

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

PROGRAMMING IN C AND C++:

PROGRAMMING 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 information

About 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 information

CSCI 171 Chapter Outlines

CSCI 171 Chapter Outlines Contents CSCI 171 Chapter 1 Overview... 2 CSCI 171 Chapter 2 Programming Components... 3 CSCI 171 Chapter 3 (Sections 1 4) Selection Structures... 5 CSCI 171 Chapter 3 (Sections 5 & 6) Iteration Structures

More information

Swami Ramanand Teerth Marathwada University, Nanded

Swami Ramanand Teerth Marathwada University, Nanded Swami Ramanand Teerth Marathwada University, Nanded Syllabus B. Sc. First Year COMPUTER SCIENCE Semester System (MCQ Pattern) (To Be Implemented From Academic Year 2013-2014) Theory/ Practical Semester

More information

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

Academic Programme: B.Sc. I Year. Computer Science (Optional) Hours. Fundamentals of Computer Hours. Swami Ramanand Teerth Marathwada University, Nanded B.Sc First Year Semester Pattern Computer Science (Optional) With Effect from 2009-10 Aims and Objectives: 1. To provide a professional level of competence

More information

CS6202 - 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 information

KLiC C Programming. (KLiC Certificate in C Programming)

KLiC 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 information

Important Questions for Viva CPU

Important 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 information

Proposed Syllabus for F.Y.B.Sc.( Computer Science) North Maharashtra University, Jalgaon. F.Y.B.Sc.( Computer Science) (w.e.f.

Proposed Syllabus for F.Y.B.Sc.( Computer Science) North Maharashtra University, Jalgaon. F.Y.B.Sc.( Computer Science) (w.e.f. Proposed Syllabus for F.Y.B.Sc.( Computer Science) North Maharashtra University, Jalgaon F.Y.B.Sc.( Computer Science) (w.e.f. June-2015) Scheme Details Examination Pattern : 40 Internal : 60 External Periods

More information

Kadi Sarva Vishwavidyalaya, Gandhinagar

Kadi 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 information

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

I BCA[ ] SEMESTER I CORE: C PROGRAMMING - 106A Multiple Choice Questions. 1 of 22 8/4/2018, 4:03 PM Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Reaccredited at the 'A' Grade Level by the NAAC and ISO 9001:2008

More information

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

IECD 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 information

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

M4.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 information

Model Viva Questions for Programming in C lab

Model 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 information

PERIYAR CENTENARY POLYTECHNIC COLLEGE Periyar Nagar- Vallam Thanjavur

PERIYAR 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 information

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

C Programming. Course Outline. C Programming. Code: MBD101. Duration: 10 Hours. Prerequisites: C Programming Code: MBD101 Duration: 10 Hours Prerequisites: You are a computer science Professional/ graduate student You can execute Linux/UNIX commands You know how to use a text-editing tool You should

More information

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

B. 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 information

C Programming Multiple. Choice

C 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 information

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- 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 information

C-LANGUAGE CURRICULAM

C-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 information

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

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 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 information

Advanced C Programming and Introduction to Data Structures

Advanced 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 information

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

M1-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 information

Reg. No. : Question Paper Code : 27157

Reg. 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 information

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

Sardar Patel University S Y BSc. Computer Science CS-201 Introduction to Programming Language Effective from July-2002 Sardar Patel University S Y BSc. Computer Science CS-201 Introduction to Programming Language Effective from July-2002 2 Practicals per week External marks :80 Internal Marks : 40 Total Marks :120 University

More information

CHOICE BASED CREDIT SYSTEM (With effect from )

CHOICE BASED CREDIT SYSTEM (With effect from ) B.Sc. Computer Science Syllabus Under the CHOICE BASED CREDIT SYSTEM (With effect from 2017-18) DEPARTMENT OF COMPUTER SCIENCE University College,TU,Nizamabad-503322 Syllabus for Computer Science (With

More information

UNIT IV-2. The I/O library functions can be classified into two broad categories:

UNIT IV-2. The I/O library functions can be classified into two broad categories: UNIT IV-2 6.0 INTRODUCTION Reading, processing and writing of data are the three essential functions of a computer program. Most programs take some data as input and display the processed data, often known

More information

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

Long 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 information

Dept. of Computer Sc., SDP College for Women, Ludhiana

Dept. 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 information

MEHRAN UNIVERSITY OF ENGINEERING AND TECHNOLOGY, JAMSHORO. FIRST TERM FIRST YEAR (1 ST TERM) B.E.(ELECTRICAL) REGULAR EXAMINATION 2009 OF 09-BATCH.

MEHRAN UNIVERSITY OF ENGINEERING AND TECHNOLOGY, JAMSHORO. FIRST TERM FIRST YEAR (1 ST TERM) B.E.(ELECTRICAL) REGULAR EXAMINATION 2009 OF 09-BATCH. ID.No./Seat No. MEHRAN UNIVERSITY OF ENGINEERING AND TECHNOLOGY, JAMSHORO. FIRST TERM FIRST YEAR (1 ST TERM) B.E.(ELECTRICAL) REGULAR EXAMINATION 2009 OF 09-BATCH. COMPUTER APPLICATION & E-LEARNING Dated:

More information

Writing 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 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 information

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

AIR FORCE SCHOOL,BAMRAULI COMPUTER SCIENCE (083) CLASS XI Split up Syllabus (Session ) Contents AIR FORCE SCHOOL,BAMRAULI COMPUTER SCIENCE (083) CLASS XI Split up Syllabus (Session- 2017-18) Month July Contents UNIT 1: COMPUTER FUNDAMENTALS Evolution of computers; Basics of computer and its operation;

More information

NORTH MAHARASHTRA UNIVERSITY, JALGAON. SYLLABUS FOR F.Y.B.Sc. COMPUTER SCIENCE (With effect from June 2012)

NORTH MAHARASHTRA UNIVERSITY, JALGAON. SYLLABUS FOR F.Y.B.Sc. COMPUTER SCIENCE (With effect from June 2012) NORTH MAHARASHTRA UNIVERSITY, JALGAON SYLLABUS FOR F.Y.B.Sc. COMPUTER SCIENCE (With effect from June 2012) Sem I Sem II Course Code Title Course Code Title UG CS111 Basics Of UG CS112 Basics Of DBMS Computer

More information

Downloaded From :

Downloaded From : 04-012-2011 Test V Computer Knowledge 201. The operation of combining two cells into a single cell in Excel is referred to as (1) Join Cells (2) Merge Cells (3) Merge Table (4) Join Table 202. Which of

More information

Lectures 5-6: Introduction to C

Lectures 5-6: Introduction to C Lectures 5-6: Introduction to C Motivation: C is both a high and a low-level language Very useful for systems programming Faster than Java This intro assumes knowledge of Java Focus is on differences Most

More information

COMPUTER APPLICATION

COMPUTER APPLICATION Total No. of Printed Pages 16 HS/XII/A.Sc.Com/CAP/14 2 0 1 4 COMPUTER APPLICATION ( Science / Arts / Commerce ) ( Theory ) Full Marks : 70 Time : 3 hours The figures in the margin indicate full marks for

More information

Contents. Preface. Introduction. Introduction to C Programming

Contents. 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 information

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

M1-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 information

SAURASHTRA UNIVERSITY

SAURASHTRA UNIVERSITY SAURASHTRA UNIVERSITY RAJKOT INDIA Accredited Grade A by NAAC (CGPA 3.05) CURRICULAM FOR B.Sc. (Computer Science) Bachelor of Science (Computer Science) (Semester - 1 Semester - 2) Effective From June

More information

Euclid s algorithm, 133

Euclid 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 information

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

CS201- Introduction to Programming Latest Solved Mcqs from Midterm Papers May 07,2011. MIDTERM EXAMINATION Spring 2010 CS201- Introduction to Programming Latest Solved Mcqs from Midterm Papers May 07,2011 Lectures 1-22 Moaaz Siddiq Asad Ali Latest Mcqs MIDTERM EXAMINATION Spring 2010 Question No: 1 ( Marks: 1 ) - Please

More information

Computers Programming Course 5. Iulian Năstac

Computers Programming Course 5. Iulian Năstac Computers Programming Course 5 Iulian Năstac Recap from previous course Classification of the programming languages High level (Ada, Pascal, Fortran, etc.) programming languages with strong abstraction

More information

GUJARAT TECHNOLOGICAL UNIVERSITY

GUJARAT TECHNOLOGICAL UNIVERSITY Type of course: System Programming GUJARAT TECHNOLOGICAL UNIVERSITY SYSTEM PROGRAMMING SUBJECT CODE: 21508 B.E. 5 th SEMESTER Prerequisite: Data Structures and Operating Systems Rationale: NA Teaching

More information

Chapter1 Overview of computers

Chapter1 Overview of computers 1 Chapter1 Overview of computers 1. What is a computer? 2. Which is the earliest computing machine? 3. Who invented the pascaline? 4. What is Charles babbage known as? 5. What is the machine proposed by

More information

UNIVERSITY OF JAMMU, JAMMU. (Semester System)

UNIVERSITY OF JAMMU, JAMMU. (Semester System) UNIVERSITY OF JAMMU, JAMMU Syllabus of B.A./B.Sc. Computer Applications (Semester System) For the semester examinations to be held in the year 2016 onwards. This course shall be offered in BA/BSc programme

More information

C: How to Program. Week /Mar/05

C: How to Program. Week /Mar/05 1 C: How to Program Week 2 2007/Mar/05 Chapter 2 - Introduction to C Programming 2 Outline 2.1 Introduction 2.2 A Simple C Program: Printing a Line of Text 2.3 Another Simple C Program: Adding Two Integers

More information

Lectures 5-6: Introduction to C

Lectures 5-6: Introduction to C Lectures 5-6: Introduction to C Motivation: C is both a high and a low-level language Very useful for systems programming Faster than Java This intro assumes knowledge of Java Focus is on differences Most

More information

ST. MARY S COLLEGE FORM 4

ST. MARY S COLLEGE FORM 4 Term 1 Week 1 Week 2 FUNDAMENTALS OF HARDWARE AND SOFTWARE 1. The generalpurpose computer system 2. Functions of the major hardware components of a computer system 3. Functions and uses of primary storage

More information

C programming basics T3-1 -

C 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 information

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

P.G.TRB - COMPUTER SCIENCE. c) data processing language d) none of the above P.G.TRB - COMPUTER SCIENCE Total Marks : 50 Time : 30 Minutes 1. C was primarily developed as a a)systems programming language b) general purpose language c) data processing language d) none of the above

More information

C Programming SYLLABUS COVERAGE SYLLABUS IN DETAILS

C 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 information

Split up Syllabus (Session )

Split up Syllabus (Session ) Split up Syllabus (Session- -17) COMPUTER SCIENCE (083) CLASS XI Unit No. Unit Name Marks 1 COMPUTER FUNDAMENTALS 10 2 PROGRAMMING METHODOLOGY 12 3 INTRODUCTION TO C++ 14 4 PROGRAMMING IN C++ 34 Total

More information

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

Reg. 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 information

Fundamental of Programming (C)

Fundamental of Programming (C) Borrowed from lecturer notes by Omid Jafarinezhad Fundamental of Programming (C) Lecturer: Vahid Khodabakhshi Lecture 3 Constants, Variables, Data Types, And Operations Department of Computer Engineering

More information

Software Development & Education Center C Programming

Software Development & Education Center C Programming Software Development & Education Center C Programming Detailed Curriculum History of C Features of C Requirement from C development Turbo C 3 Turbo C 45 Borland C++ 502 Rules for C Programming Writing

More information

COURSE OUTLINE & WEEK WISE BREAKAGE

COURSE OUTLINE & WEEK WISE BREAKAGE COURSE OUTLINE & WEEK WISE BREAKAGE Week wise Course outline of Computer Fundamentals & Programming (CE-100) 3+1 (Batch 2018-Electronic Engineering) Dated: 13-12-2017 Course Coordinator: Saeed Azhar WEEK

More information

VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI 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 information

UNIT IV 2 MARKS. ( Word to PDF Converter - Unregistered ) FUNDAMENTALS OF COMPUTING & COMPUTER PROGRAMMING

UNIT IV 2 MARKS. ( Word to PDF Converter - Unregistered )   FUNDAMENTALS OF COMPUTING & COMPUTER PROGRAMMING ( Word to PDF Converter - Unregistered ) http://www.word-to-pdf-converter.net FUNDAMENTALS OF COMPUTING & COMPUTER PROGRAMMING INTRODUCTION TO C UNIT IV Overview of C Constants, Variables and Data Types

More information

M3-R4: PROGRAMMING AND PROBLEM SOLVING THROUGH C LANGUAGE

M3-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 information

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

The Waite Group's. New. Primer Plus. Second Edition. Mitchell Waite and Stephen Prata SAMS The Waite Group's New Primer Plus Second Edition Mitchell Waite and Stephen Prata SAMS PUBLISHING A Division of Prentice Hall Computer Publishing 11711 North College, Carmel, Indiana 46032 USA Contents

More information

Fundamental Data Types. CSE 130: Introduction to Programming in C Stony Brook University

Fundamental Data Types. CSE 130: Introduction to Programming in C Stony Brook University Fundamental Data Types CSE 130: Introduction to Programming in C Stony Brook University Program Organization in C The C System C consists of several parts: The C language The preprocessor The compiler

More information

BLM2031 Structured Programming. Zeyneb KURT

BLM2031 Structured Programming. Zeyneb KURT BLM2031 Structured Programming Zeyneb KURT 1 Contact Contact info office : D-219 e-mail zeynebkurt@gmail.com, zeyneb@ce.yildiz.edu.tr When to contact e-mail first, take an appointment What to expect help

More information

Chapter 2 - Introduction to C Programming

Chapter 2 - Introduction to C Programming Chapter 2 - Introduction to C Programming 2 Outline 2.1 Introduction 2.2 A Simple C Program: Printing a Line of Text 2.3 Another Simple C Program: Adding Two Integers 2.4 Memory Concepts 2.5 Arithmetic

More information

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

UNIT - I. Introduction to C Programming. BY A. Vijay Bharath UNIT - I Introduction to C Programming Introduction to C C was originally developed in the year 1970s by Dennis Ritchie at Bell Laboratories, Inc. C is a general-purpose programming language. It has been

More information

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

DEPARTMENT OF COMPUTER APPLICATIONS SRM INSTITUTE OF SCIENCE AND TECHNOLOGY SRM NAGAR, KATTANKALATHUR DEPARTMENT OF COMPUTER APPLICATIONS SRM INSTITUTE OF SCIENCE AND TECHNOLOGY SRM NAGAR, KATTANKALATHUR SYLLABUS / QUESTION BANK Class & Semester : I ECE & II Semester Subject Code : CS152 Subject Name :

More information

Chapter 1 & 2 Introduction to C Language

Chapter 1 & 2 Introduction to C Language 1 Chapter 1 & 2 Introduction to C Language Copyright 2007 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 1 & 2 - Introduction to C Language 2 Outline 1.1 The History

More information

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Year & Semester : I / II Section : CSE - 1 & 2 Subject Code : CS6202 Subject Name : Programming and Data Structures-I Degree & Branch : B.E C.S.E. 2 MARK

More information

Lesson Plan. Week Theory Practical. Lecture Day Topic(including assignment Test) Practical Day

Lesson Plan. Week Theory Practical. Lecture Day Topic(including assignment Test) Practical Day Lesson Plan Name of Faculty: Neha Aggarwal Discipline: BCA Semester: 2nd Subject: Office Automation Tools(BCA-124) Lesson Plan Duration: 15 Weeks Workload (Lecture) Per Week: 4 Lecture,4 Practical Per

More information

Introduction to C Language (M3-R )

Introduction to C Language (M3-R ) Introduction to C Language (M3-R4-01-18) 1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in OMR answer sheet supplied with the question paper, following

More information

A Fast Review of C Essentials Part I

A Fast Review of C Essentials Part I A Fast Review of C Essentials Part I Structural Programming by Z. Cihan TAYSI Outline Program development C Essentials Functions Variables & constants Names Formatting Comments Preprocessor Data types

More information

B.Sc. Final B.SC. PART-III PAPER I COMPUTER ORGANIZATION II

B.Sc. Final B.SC. PART-III PAPER I COMPUTER ORGANIZATION II TEACHING & EXAMINATION SCHEME For the Examination - 2015 COMPUTER SCIENCE B.Sc. Final THEORY Pd/W Exam. Max. (45mts.) Hours Marks 150 CS.301 Paper I Computer Organisation II 2 3 50 CS.302 Paper II Programming

More information

AFN-1255 PCA131 P.G.D.C.A. DIPLOMA EXAMINATION, MAY 2011 First Semester Computer Applications FUNDAMENTALS OF DIGITAL COMPUTER (Non-CBCS 2004 onwards) Time : 3 Hours Maximum : 100 Marks Part A (15 1 =

More information

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

E.G.S. PILLAY ENGINEERING COLLEGE (An Autonomous Institution, Affiliated to Anna University, Chennai) Nagore Post, Nagapattinam , Tamilnadu. 7CA00 PROBLEM SOLVING AND PROGRAMMING Academic Year : 08-09 Programme : P.G-MCA Question Bank Year / Semester : I/I Course Coordinator: A.HEMA Course Objectives. To understand the various problem solving

More information

Question Bank (SPA SEM II)

Question 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 information

CS201 Some Important Definitions

CS201 Some Important Definitions CS201 Some Important Definitions For Viva Preparation 1. What is a program? A program is a precise sequence of steps to solve a particular problem. 2. What is a class? We write a C++ program using data

More information

DETAILED SYLLABUS INTRODUCTION TO C LANGUAGE

DETAILED 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 information

Course Outline Introduction to C-Programming

Course Outline Introduction to C-Programming ECE3411 Fall 2015 Lecture 1a. Course Outline Introduction to C-Programming Marten van Dijk, Syed Kamran Haider Department of Electrical & Computer Engineering University of Connecticut Email: {vandijk,

More information

COMPUTER PROGRAMMING LAB

COMPUTER 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 information

Q1. Multiple Choice Questions

Q1. 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 information

Syllabus for Computer Science General Part I

Syllabus for Computer Science General Part I Distribution of Questions: Part I Q1. (Compulsory: 20 marks). Any ten questions to be answered out of fifteen questions, each carrying two marks (Group A 3 questions, Group B, Group C and Group D 4 questions

More information

For 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 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 information

ESC101N: Fundamentals of Computing End-sem st semester

ESC101N: Fundamentals of Computing End-sem st semester ESC101N: Fundamentals of Computing End-sem 2010-11 1st semester Instructor: Arnab Bhattacharya 8:00-11:00am, 15th November, 2010 Instructions 1. Please write your name, roll number and section below. 2.

More information

SCHEME OF EXAMINATION FOR B.Sc.(COMPUTER SCIENCE) SEMESTER SYSTEM (Regular Course) w.e.f Scheme for B.Sc.-I. Semester-I. Internal Assessment

SCHEME OF EXAMINATION FOR B.Sc.(COMPUTER SCIENCE) SEMESTER SYSTEM (Regular Course) w.e.f Scheme for B.Sc.-I. Semester-I. Internal Assessment SCHEME OF EXAMINATION FOR B.Sc.(COMPUTER SCIENCE) SEMESTER SYSTEM (Regular Course) w.e.f. 2013-14 Scheme for B.Sc.-I Sr. No. Paper 1 Paper-I Computer And Programming Fundamentals Semester-I Internal Assessment

More information

END TERM EXAMINATION

END TERM EXAMINATION END TERM EXAMINATION THIRD SEMESTER [BCA] DECEMBER 2007 Paper Code: BCA 209 Subject: Object Oriented Programming Time: 3 hours Maximum Marks: 75 Note: Attempt all questions. Internal choice is indicated.

More information