G & A - IV - J U.O.No. Dated, Calicut University.P.O,

Save this PDF as:
 WORD  PNG  TXT  JPG

Size: px
Start display at page:

Download "G & A - IV - J U.O.No. Dated, Calicut University.P.O, 14.09.2015"

Transcription

1 File Ref.No.72742/GA - IV - J1/2014/Admn UNIVERSITY OF CALICUT Abstract BVoc programme in Software Development- under Modified BVoc Regulations 2014 Question Bank for 1st and 2nd Semester- implemented w.e.f 2014 admission onwards - Orders issued G & A - IV - J U.O.No. Dated, Calicut University.P.O, Read:-1) BVoc Regulations implemented as per U.O.No. 9809/2014/Admn Dtd ) Modified BVoc Regulaitons U.O.No. 2650/2015/Admn Dtd : ) Syllabus implemented as per U.O.No. 4256/2015 /Admn Dt ) Minutes of the Combined meeting of all Chairmen of BOS & Principals of the Colleges having BVoc Programmes 5) Remarks of the Dean, Faculty of Science ) Orders of Vice Chancellor in the File of even number on ORDER As per the paper read as (1) & (2) the Regulations for BVoc Programmes have been implemented and modified. As per paper read as (3) the BVoc programme in Software Development has been implemented. As per the paper read as (4) the Question Bank of Software Development have been approved. As per paper read as (5) the Dean Faculty of Science has recommeded to approve minutes of the Combined meeting of Chairmen and Principals. Considering the urgency the Vice Chancellor exercising the powers of the Academic Council has approved to implement the Question Bank of BVoc in Software Development subject to the ratification of Academic Council,as per reference (6) above. Sanction has, therefore, been accorded for the implementation of the Question Bank of the BVoc programme in Software Development, w.e.f 2014 Admissions. Orders are issued accordingly. Usha K Deputy Registrar To CE, University of Calicut Pareekshabhavan Digital Wing Forwarded / By Order Section Officer

2 Fundamentals of Computer and Programming in C-Question Bank UNIVERSITY OF CALICUT THENHIPALAM, CALICUT UNIVERSITY P.O DEGREE OF BACHELOR OF VOCATION (B.VOC) IN SOFTWARE DEVELOPMENT QUESTION BANK (FOR THE STUDENTS ADMITTED FROM THE ACADEMIC YEAR ONWARDS) UNDER THE FACULTY OF SCIENCE BOARD OF STUDIES IN COMPUTER SCIENCE (UG) THENHIPALAM, CALICUT UNIVERSITY P.O KERALA, , INDIA JULY,2014 COPYRIGHT BY UNIVERSITY OF CALICUT,2014 B.Voc Software Development

3 Fundamentals of Computer and Programming in C-Question Bank QUESTION BANK SEMESTER I C. No Course Code Course Name Credit Marks Hrs/wk Int Ext Tot T P Tot 1.1 GEC1EG01 AO1 The Four Skills of Communication GEC1ML02 GEC1HD02 MAL1A01(3) Malayalam-BhashayumSahithyavum-I (A07) Communication skills in Hindi GEC1DM03 (CA1C02) Discrete Mathematics SDC1IT01 Fundamentals of Computer & Programming in C SDC1IT02 Internet Programming SDC1IT03 (P) Programming in C - Lab SDC1IT04 (P) Internet Programming -Lab Semester I Total Programme : B. Voc in Software Development Semester : 1 st Course Code : SDC1IT01 Course Name : Fundamentals of Computer & Programming in C B.Voc Software Development

4 Fundamentals of Computer and Programming in C-Question Bank Unit 1 (15 Hours) SDC1IT01 - Fundamentals of Computer & Programming in C Course Outline Computer system concepts, Computer system characteristics, Capabilities and limitations, Evolution of Computers, Generations, Personal Computer (PCs) Functional Components & their Interconnections, evolution of PCs. Computer Languages - Machine Language, Assembly language, High Level Language. CPU - Functions, Components and organization, Memory- Characteristics, Memory hierarchy, Types. Input/output devices. Unit 2 (15 Hours) Introduction: The problem solving aspect, Top-down design, Algorithms and flowcharts, Implementation of algorithms, Program verification, efficiency of algorithms. Introduction to C Programming, overview and importance of C, C Program Structure and Simple programs, Creation and Compilation of C Programs under Linux and Windows Platforms. Elements of C Language and Program constructs: Character Set, Tokens, Keywords and Identifier, Constants, Variables, Data types, Variable declaration and assignment of values, Symbolic constant definition. C-Operators, arithmetic expressions, evaluation of expressions and precedence, Type conversion in expressions, operator precedence and associativity, I/O operations. Unit 3 (15 Hours) Decision making, Branching and Looping. Array & Strings - One dimensional array, two dimensional array and multi-dimensional array, strings and string manipulation functions. Unit 4 (15 Hours) The Concept of modularization and User defined functions-multi-function Program, calling functions, various categories of functions, nesting of functions and recursion, functions and arrays, scope and life-time of variables in functions, multi-file programs. Structures & Union: structure definition, giving values to members, structure initialization, comparison of structure variables, arrays of structures, arrays within structures, structures within arrays, structures and functions, Unions, bit- fields. Unit 5 (15 Hours) Pointers and Files: Understanding pointers, accessing the address of a variable, declaring and initializing pointers, accessing a variable through its pointer, pointer expressions, pointer and arrays, pointer and character string, pointers and functions, pointers and structures, pointer to pointer - dynamic memory allocation. Files: Defining, Opening and closing files - I/O operations on files error handling on files random access of files command line operations. Preprocessor directives: Macro substitution directives - simple macro, macros with arguments - nesting of macros, Compiler control directives. B.Voc Software Development

5 Fundamentals of Computer and Programming in C-Question Bank PART A (1 Mark Questions) UNIT 1 1. A computer program that converts assembly language to machine language is a)compiler b)interpreter c)assembler d) Comparator 2. Which access method is used for obtaining data form RAM a) Direct b) Sequential c) Random d) All of the above 3. Which computer has been designed to be as compact as possible? a) Mini b) Super computer c) Micro computer d) Mainframe 4. The symbols used in an assembly language are a) Codes b) Mnemonics c) Assembler d) All of the above e) None of the above 5. In computer system scanner is device A. Input B. Output C. Both D. None 6. Which of the following is not a computer hardware A.Mouse B. Monitor C. Printer D. Antivirus 7. Which of the following memory needs refreshment? A. DRAM B. SRAM C. NV RAM D. None of the above 8. What does IDE stand for? a.) Integrated Development Environment b.) Integrated Design Environment c.) Interior Development Environment d.) Interior Design Environment e.) None of the above. 9. Which of the following is a correct notation for a comment? A. */ Comments */ B. ** Comment ** C. /* Comment */ D. { Comment } 10. A variable is/are a. String that varies during program execution b. A portion of memory to store a determined value B.Voc Software Development

6 Fundamentals of Computer and Programming in C-Question Bank c. Those numbers those are frequently required in programs d. None of these 11. Which of the following is not a correct variable type? A. float B. real C. int D. double 12. Write any four characteristics of computer? 13. Explain about DATA in computer programming? 14. Explain what is INFORMATION in computer programming? 15. Write the characteristics of information? 16. Data is constituted by which of the elements? 17. Which are the three broad categories of programming language? 18. Whichare the low level languages? 19. Integrated circuits were used to write... Language? 20. What is MNEMONICS? 21. Need of translation program? 22. Which language provides fewer errors and easy to debug? converts the high level language into machine code? 24. IPOS stands for...? Expand the Abbreviations: 25. OOPL stands for...? 26. BIOS stands for...? 27. CMOS stands for...? 28. POST stands for...? 29. BLOS, CMOS and POST are the... slots? 30. PCI stands for...? 31. AGP stands for...? 32. SCSI stands for...? 33. Name any three types of port? 34. Which memory is considered as main memory? 35. What is LOADING? 36. WORM stands for...? 37. GUI stands for...? B.Voc Software Development

7 Fundamentals of Computer and Programming in C-Question Bank UNIT Write the correct hexadecimal constant: (a) 0x7f (b)-123 (c) $2000 (d) 0x2 (e) 0.65e4 38. Define data types? 39. If a variable has been declared with file scope, as above, can it safely be accessed globally from another file? a) yes; it can be referenced through the register specifier. b) no; it would have to have been initially declared as a static variable. c) no; it would need to have been initially declared using the global keyword. d) yes; it can be referenced through the publish specifier. e) yes; it can be referenced through the extern specifier. 40. How do print() s format specifies %e and %f differ in their treatment of floating-point numbers? a) %e always displays an argument of type double in engineering notation; %f always displays an argument of type double in decimal notation. b) %e expects a corresponding argument of type double; %f expects a corresponding argument of type float. c) %e displays a double in engineering notation if the number is very small or very large. Otherwise, it behaves like %f and displays the number in decimal notation. d) %e displays an argument of type double with trailing zeros; %f never displays trailing zeros. e) %e and %f both expect a corresponding argument of type double and format it identically. %e is left over from k&r c; standard c prefers %f for new code. 41.Which one of the following is not a valid identifier? a. ident b. auto c. bignumber d. g42277 e. peaceful_in_space 42. The origin of c is closely related to the development of. operating system. 43. What is the importance compiler in C? 44. How does variable definition differ from variable declaration? a) Definition allocates storage for a variable, but declaration only informs the compiler as to the variable s type. B.Voc Software Development

8 Fundamentals of Computer and Programming in C-Question Bank b) Declaration allocates storage for a variable, but definition only informs the compiler as to the variable s type. c) Variables may be defined many times, but may be declared only once. d) Variable definition must precede variable declaration. e) There is no difference in c between variable declaration and variable definition. f) Write the syntax of conditional operator? 45. What is a modulus operator? What are the restrictions of a modulus operator? 46. C language was developed in the... By.at.. Laboratories. 47. Which header file is used to define mathematical function? 48. State the difference between = and ==? 49. What is the use of char types? 50. Write the use of comma operator? 51. Write the syntax of special data type? 52. Difference between %c and %s? 53. Define void? 54. Which header file is used to input and output functions? 55. Correct the statement: scanf (%d%c%s&a%f, &b&c;&d ) 56. Write the syntax of putchar and puts? 57. Write any two white space character? 58. What is the use of printf function? 59. Mention the use of?: operator? 60. Why and when we use the #define directive? 61. Why and when we use the #include directive? 62. A global variable is also known as.variable. 63. The expression containing all integer operands is called..expression. 64. Write an algorithm for find a given number is negative or positive. 65. Briefly explain symbolic constants. 66. Show the difference between break & continue with example. 67. Explain strncpy(), strncmp(). 68. What are the parts of the function? 69. What is local and global variable? 70. How will you declare and initialize a pointer? 71. What are the built-in methods for file manipulation? B.Voc Software Development

9 Fundamentals of Computer and Programming in C-Question Bank 72. Write the types of macro. 73. Explain characteristics of computer. 74. Explain features of C language. UNIT Which of the following is a looping construct A. Simple If B. Else If ladder C. For statement D. Switch Case 76. What will be the output of the following program main() { inti=4,z=12; if(i==5 Z >50) printf( hi, i is 5 and Z is > 50 ); else printf( hi, i is not 5 and Z is < 50 ); } A. hi, i is 5 and Z is > 50 B. hi, i is not 5 and Z is < 50 C. All of the above D. None of the above 77. What will be the output of the following program main() { int x=1; while(x==1) { x=x-1; printf( \n %d,x); } } A. 0 B. 1 C. -1 D. None of the above 78. A do- while loop is use full when we want that the statements within the loop must be executed a. More than once b. Only once c. Atleast once d. None of the above B.Voc Software Development

10 Fundamentals of Computer and Programming in C-Question Bank 79. Which of the following is true a. an array can t be initialized b. an array can be initialized c. All of the above d. None of the above 80. Which of the following built-in function finds the length of string A. strcpy() B. strlen() C. strcat() D. strcmp() 81. Which one of the following is more appropriate for reading multi-word string A. printf() B. gets() C. puts() D. scanf() 82. What is the final value of x when the code int x; for(x=0; x<10; x++) {} is run? a. 10 b. 9 c. 0 d Which is not a loop structure? A. for B. do while C. while D. repeat until 84. How many times is a do while loop guaranteed to loop? A. 0 B. Infinitely C. 1 D. Variable 85. IF Statement comes inside to another IFstatement, then it is called ? 86. The switch statement is an ? 87. Switch statement is a decision making statement? 88. Two types of structures? 89. Entry control and Exit control loop 90. Write down the three types of loop operations? 91. The while loop is an loop statement? 92. What are the two types of breaking control statement? 93. Each element of the array can be accessed with the help of a sequence number is called ? 94. An array of arrays is called ? 95. A particular element in the array is selected or accessed by writing a number is called? 96. A one dimensional array use only to represent list of items? 97. What are the two types of sorting? 98. A string is an ? B.Voc Software Development

11 Fundamentals of Computer and Programming in C-Question Bank 99. We can read a string scanf function with format? 100. write the syntax of string declaration 101. Write down the string library function 102. The individual values in an array are called? 103. What are the two segments of a loop programmer? UNIT IV 105. Which of the following keyword is used to pass the control back from a function a. getch b. return c. goto d. goback 106. Which of the following is the default parameter passing technique a. Call by reference b. Call by value c. Call by result d. None of the above 107. Any C program must contain a. Atleast one function b. Atmost one function c. two functions d. None of the above 108. What is the common thing in between union and structure a. They allow us to define new data types b. They allow us define new pointers c. None of the above d. All of the above 109. Which of the following is a collection of different data types a. Structure b. Pointer c. Array d. None of the above 110. Which operator is used to connect structure name to its member name 111. When compiler accepts the request to use the variable as a register? a. It is stored in CPU registers b. It is stored in main memory B.Voc Software Development

12 Fundamentals of Computer and Programming in C-Question Bank c. It is stored in virtual memory d. It is stored in hard disk 112. Define a structure? 113. Structure is a type? 114. Write syntax of structure keyword is used to define a structure 116. Define UNION What is the classification of FUNCTIONS? 118. Write the general syntax of Function What are the 2 types of parameters? 120. Define Formal parameters Define Actual parameters List any 4 library Function List any commonly used functions and the header file C has a special function called Explain union syntax Declare a Structure a STUDENT with ROLLNO, NAME, ADDRESS, MARK, and GRADE 127. What is the output of this C code? #include<stdio.h> Void main() { Register int x; Printf( %d,x); } a)0 b) Garbage value c) Error d) Nothing 128. What is the output of this C code? #include<stdio.h>intmain() { void test(); printf( 1 ); test(); } void test() { printf( 3 ); } } B.Voc Software Development

13 Fundamentals of Computer and Programming in C-Question Bank UNIT V a) 1 3 b) Compile time error c) d) Depends on the compiler 129. A macro is always a number true or false? 130. A macro is always a constant- true or false? 131. Write an instruction to the pre-processor to include to maths library 132. Pointer is a a. Variable that stores address of an instruction. b. Variable that stores address of other variables c. Keyword used to create pointers d. All of the above 133. Operator used to get address of a variable is A. * B. ** C. && D. & 134.What is the output of this C code? 1. #include <stdio.h> 2. int main() 3. { 4. inti = 97, *p = &i; 5. foo(&i); 6. printf("%d ", *p); 7. } 8. void foo(int *p) 9. { 10. int j = 2; 11. p = &j; 12. printf("%d ", *p); 13. } a) 2 97 b) 2 2 c) Compile time error d) Segmentation fault/code crash 135. What is the output of the following code #include<stdio.h> void main() { B.Voc Software Development

14 Fundamentals of Computer and Programming in C-Question Bank inti=90,*p=&i; fun(&i); printf( %d,*p); } void fun(int *p) { int j=3; p=&j; printf( %d,*p); } A B C D. None of the above 136. #define MAX_NUM 15 Referring to the sample above, what is MAX_NUM? a. MAX_NUM is an integer variable. b. MAX_NUM is a linker constant. c. MAX_NUM is a precompiler constant. d. MAX_NUM is a preprocessor macro The directives for the preprocessors begin with a. Ampersand symbol (&) b. Two Slashes (//) c. Number Sign (#) d. Less than symbol (<) 138. Write the order of precedence of arithmetic operators Write the tokens in C language Define algorithm Write 3 types of array Write any 4 string manipulation function Explain recursion? 144. Write all storage classes in C language Draw memory reservation diagram of structure What is a pointer? 147. Define FILE? 148. Write the syntax to open a FILE Write the syntax of fopen() statement and fclose() statement? B.Voc Software Development

15 Fundamentals of Computer and Programming in C-Question Bank 150. Write syntax of any 2 method for dynamic memory allocation Write file operations. PART B (2 Mark Questions) UNIT 1 1. Define transistor destiny? 2. Define registers? 3. What you meant by first generation language? 4. Explain Assemble language? 5. Define Assembler? 6. What are ports and connectors? 7. Define memory? 8. Write a note about the comparison between RAM and ROM? 9. What is Bubble memory? 10. Write a note about merits and demerits of Hard disk? 11. Define master file? 12. Explain Key board? 13. Explain Mouse? 14. Explain Light pen? 15. Explain Track ball? 16. Explain Barcode reader? 17. Explain Digital camera? 18. What is OMR? 19. What is MICR? Explain with two disadvantages? 20. Explain Image scanner? 21. Explain Smart card? 22. What is CRT? 23. Explain LCD? 24. Define computer. 25. What is meant by main memory? B.Voc Software Development

16 Fundamentals of Computer and Programming in C-Question Bank 26. What is meant by Input/output device? 27. Define assembly language and machine language. 28. What is meant by high level language? Give two examples. 29. What is the function of compiler? 30. What is the function of control unit? 31. What is static RAM and dynamic RAM? 32. What is meant by booting? 33. What is system software and application software? 34. Compare and contrast compilers from interpreters 35. What is debugging? 36. What are logical errors and how does it differ from syntax errors? 37. What is the use of a semicolon (;) at the end of every program statement? 38. Define transistor destiny? 39. Define registers? 40. What you meant by first generation language? 41. What is Assemble language? 42. Define Assembler? 43. What are ports and connectors? 44. Define memory? 45. Write a note about the comparison between RAM and ROM? 46. What is Bubble memory? 47. Write a note about merits and demerits of Hard disk? 48. What is master file? 49. Explain Key board? 50. Explain Mouse? 51. Explain Light pen? 52. Explain Track ball? 53. Explain Barcode reader? 54. Explain Digital camera? 55. What is OMR? B.Voc Software Development

17 Fundamentals of Computer and Programming in C-Question Bank 56. What is MICR? Explain with two disadvantages? 57. Explain Image scanner? 58. Explain Smart card? 59. What is CRT? 60. What is LCD? 61. Define computer. 62. What is meant by main memory? 63. What is meant by Input/output device? 64. Define assembly language and machine language. 65. What is meant by high level language? Give two examples. 66. What is the function of compiler? 67. What is the function of control unit? 68. What is static RAM and dynamic RAM? 69. What is meant by booting? 70. What is system software and application software? 71. Compare and contrast compilers from interpreters 72. What is debugging? 73. What are logical errors and how does it differ from syntax errors? 74. What is the use of a semicolon (;) at the end of every program statement? UNIT II 75. Write the short note of history of c? 76. List of flowchart rules? 77. List any four features of c language? 78. What is an operators in c? 79. What is a global variable? 80. What is a local variable? 81. How local variable and local variable declared in C? 82. What is a use of main function in C? 83. List any 3 header files in c with example? 84. Difference between float and variable? B.Voc Software Development

18 Fundamentals of Computer and Programming in C-Question Bank 85. What is the difference between i++ and ++i? 86. List difference between float and double? 87. Difference between postfix and prefix operators? 88. What is Assignment and Equality operators? 89. What are the different types of constants used in c with example? 90. What are the field specification characters used in c? 91. Write a short note in printing a single character? 92. Write short note on printing two strings? 93. State difference between structure and union? 94. Difference between octal integer constants and hexa - decimal integer constants? 95. What are the rules of identifier? 96. Difference between unary operator and binary operators? 97. Write short note standard I/O library? 98. Write short note on format specifier? 99. What are the important characteristics of flowchart? 100. Write the syntax of any two input and output functions? 101. What are the rules for naming a variable/identifier? 102. How can use the scanf () function to read variables of different data types? 103. What is meant by algorithm and flow chart? 104. What is meant by efficiency of algorithm? 105. What are the character sets of C? 106. What is meant by token? What is its different type? 107. What is the size of integer, float, double and character? 108. What are the primary data types? 109. What is the difference between % and / operator in C? 110. Explain conditional operator What is meant by associativity and precedence of operators? 112. What is meant by type conversion? 113. What is variable initialization and why is it important? 114. What is the difference between the = and == symbol? 115. What are header files and what are its uses in C programming? 116. What is syntax error? 117. What is the purpose of main() function? 118. What's the best way to declare and define global variables and functions B.Voc Software Development

19 Fundamentals of Computer and Programming in C-Question Bank UNIT III 119. What is simple statement? 120. Define compound statement? 121. Write the syntax and two way branching of IF statement? 122. Write the syntax and flowchart of Simple If control statement? 123. Write the syntax and flowchart of if----else control statement? 124. What is the need of Branching statement? 125. Write the syntax of Switch statement in C? 126. Define Go to statement? 127. What are the different types of loop statement used in c? 128. Write about entry control and exit control loop with example? 129. State that the need of looping statement in C? 130. Write the syntax of Go to statement? 131. Differentiate between while and do-while statement 132. Write the syntax of For loop statement? 133. Define array? 134. Define Two Dimensional array with syntax? 135. How an array can be used to store a string? 136. Define Bubble sort with example? 137. Define linear sort with example? 138. Define Sorting. What are the two types of sorting? 139. Write the syntax of strcat () and strcpy ()? 140. Define string? 141. How to read and print a string? 142. Write the string input and output functions? 143. Difference between scanf () and gets ()? 144. What is meant by nesting of if else statements? 145. What are the different types of if statements? 146. Explain the structure of a c program Explain while loop Explain do-while loop What is strlen() and strcpy()? 150. What is strcat() and strmp()? 151. Define data type. B.Voc Software Development

20 Fundamentals of Computer and Programming in C-Question Bank 152. What are constants? 153. What are the importance of C What is a nested loop? 155. How to declare a variable that will hold string values? UNIT IV 156. What is a number Operator? 157. What is the use of functions in C? 158. Define Library function Define User Defined function? 160. What is meant by modularization? 161. What is a calling function and a called function? 162. What is recursion? 163. What is nesting of function? 164..What is meant by storage class of variables? 165. What is a structure in C? 166. What is a union in C? 167. Differentiate between call by value and call by reference What are actual parameters and formal parameters? 169. Explain about the scope and life time of a variable in a function What is a bit field? UNIT V 171. What do you mean by Command line arguments? Explain with example Difference between text file and binary files What is pointer variable? 174. Write the syntax to declare a pointer type variable What is pointer value and address? 176. Explain about void pointer? 177. What is value at operator and address of operator? 178. What is meant by dynamic memory allocation? 179. What are macros? 180. What are the I/O operations on files? B.Voc Software Development

21 Fundamentals of Computer and Programming in C-Question Bank 181. What is a compiler control directive? 182. What is macro with parameters? 183. What are the rules while writing pointer expressions? 184. What is nesting of macros? 185. Write an algorithm for find a given number is negative or positive Show the difference between break & continue with example What are the parts of the function? 188. What is local and global variable? 189. How will you declare and initialize a pointer? 190. What are the built-in methods for file manipulation? 191. What is local and global variable? 192. Explain the characteristics of memory Explain top down design of a C-Program with example. PART C (4 Mark Questions) UNIT 1 1. Define data processing? And also the operations? 2. Explain about the evolution of computers? 3. What is stored program concept? 4. Explain about plotters? 5. Write any 8 applications of computers? 6. Define BUS? 7. Write about cache memory? 8. Write about microprocessors? 9. Write a short note about the features and disadvantages of Binary Languge? 10. What is Assembly language? And detect the merits and de-merits? 11. Define High level language? And detect its features? 12. Write about the types of High level language? 13. Define language translator? 14. Write a note about magnetic disk? 15. Write the classification of input devices with two example? B.Voc Software Development

22 Fundamentals of Computer and Programming in C-Question Bank 16. What is OCR? Explain its use? 17. Explain voice recognition? And it's working? 18. Explain Joystick with its merits and de-merits? 19. Explain graphics tablet with At least two advantages and disadvantages? 20. Explain memory hierarchy. 21. What are basic units of a digital computer? 22. What is machine language, assembly language and high level language? 23. Explain input devices. 24. Explain output devices. 25. Differentiate between SRAM and DRAM. 26. What are the classifications of output devices with four examples? a. What is the difference between CRT and LCD? b. What are the Distinguishing features of Monitors? c. Explain Video controller? d. What are the special features of Video cards? UNIT II 27. What is the output of printf ( %d )? 28. Is it acceptable to declare/define a variable in a C header? 29. Write a Program to use bitwise AND operator between the Two Integers? 30. Write a program to use mode (%) with function. 31. Define data type? Explain different types of data types? 32. Differentiate between gets () and puts () functions in C. 33. Write a program to find the largest of three numbers using Conditional operators? 34. Write a program to calculate perimeter and area of a rectangle. 35. List all arithmetic operators with suitable examples. 36. Explain bitwise operators with examples. 37. List the different types of special operators with examples. 38. Write a program to calculate the volume and surface area of Numbers? 39. What is meant by symbolic constant? How is it declared? 40. Explain some binary operators. 41. Explain some math functions. 42. Explain bitwise operator. B.Voc Software Development

23 Fundamentals of Computer and Programming in C-Question Bank UNIT III 43. Write a program to read a number and check whether the number is odd or even? 44. Write a program to find whether a year is leap year or not? 45. Write a program to find the largest and smallest among three numbers? 46. Write a program to display Day name using Switch statement? 47. Write a program to accept an operator and find the values? 48. Write a program to check whether the given number is negative or not? 49. What is looping? What are the advantage of looping? 50. Distinguish between while and do while loop? 51. Write a program to display the odd number from 1 to 100 using while loop? 52. Write a program to find reverse of number? 53. Write a program to find the sum of the given n numbers? 54. Write a program to find the largest number from the given n numbers? 55. Write a program to print n Fibonacci numbers? 56. Write a program to print the number. Square and cube of even numbers up to N using for loop? 57. Difference between the statement Break and continue with example? 58. What is the purpose of do while statement? How does it differ from the while? State with an example. 59. Write a program to generate the following patterns. (a) 1 (b) * (c) * * * * * * * * 1 2 * * * * * * * * * * * * * *********** * * * * *********** * * * * * *********** 60. Distinguish between one dimensional and two dimensional arrays? 61. Write a program to print the multiplication table of any one number using for Loop or while loop? 62. Write a program to read a number and print its position square and the sum of all Numbers? B.Voc Software Development

24 Fundamentals of Computer and Programming in C-Question Bank 63. Write a program to find the sum of two matrixes? 64. Write a program to multiply two matrixes? 65. Write a program to find the transpose of a matrix of order of mxn? 66. Write a program to subtract two matrixes? 67. Write a program to find the quotient on dividing two matrixes? 68. Write a program to sort given set of element in ascending order using bubble sort? 69. Write a program to search an element using binary searching method? 70. Write a program to sort a list of numbers using linear sort? 71. Write a program to find the greatest and smallest element stored in an array of Numbers and Find the sum also? 72. Explain linear search and a format presentation of this algorithm? 73. Write a program to find the length of a string? 74. Write a program to compare two strings? 75. Write a program to copy a string to another? 76. Write a program to concatenate two string? 77. Write a program to convert a string lower case to upper case? 78. Write a program to check whether the given string is palindrome or not? 79. Write a program to arrange a group of names in ascending order? 80. Write a program to reverse a string? 81. Write a program to search for characters in string? 82. Explain about the string input and output functions? 83. Write a program to read a list of words from a terminal using scanf () & printf()on the screen? 84. Explain different string manipulation function. 85. Explain multidimensional array. 86. Write a loop statement that will show the following output: UNIT IV 87. List any five mathematical functions? 88. Define embedded structure? 89. Difference between Formal parameter and Actual parameter? 90. What are the different types of functions? B.Voc Software Development

25 Fundamentals of Computer and Programming in C-Question Bank 91. Define structure with example? 92. Difference between Structure and Array with example? 93. Define Structure with example? 94. Define Union with example? 95. Write a program to demonstrate Union? 96. Write a program to find the factorial of a given number? 97. Write a brief history of Internet? 98. List out 5 Internet services? 99. Write a program to swap two variables using function Explain recursion with example Explain arrays of structures Explain different storage classes Explain call by value and call by reference with example What is actual parameters and formal parameters?explain with example When is a switch statement preferable over an if statement? Explain with example 106. What are enumerated types? UNIT IV 107. What are the 3 modes of data transmission used in FTP? Explain What is FTP? Explain with example Which are the applications used in Internet? 110. List out protocols What are the advantages of ? 112. List out 5 mailing. Explain any one What are the various steps to connect internet? 114. Explain web browsers? 115. What are search engines? 116. Explain basic file operations 117. How we can define and open a file? 118. Explain getc(),putc(),getw() and putw() What is command line argument? Explain What is a pointer?explain What is dynamic memory allocation? B.Voc Software Development

26 Fundamentals of Computer and Programming in C-Question Bank 122. Explain pre-processor directive? 123. What are macros? 124. Explain the difference between calloc() and malloc()? 125. What are advantages of macros over functions? 126. What is the benefit of #define to declare constants? 127. Explain type conversion in detail with example Explain 3 types of looping with example Write a program to access elements from a 1D array Write a program to find the sum of 2 variables by implementing function Explain dynamic memory allocation in detail What all are the types of computer languages? Explain briefly What are the classifications of memory? Explain briefly Write algorithm and draw flowchart for printing factorial of a given number Write algorithm and draw flowchart for printing sum and average of first N even numbers Explain von-nuemann structure of computer Explain various file manipulation functions with example Explain 1D array and 2D array in detail. PART D (15 Mark Questions) UNIT 1 1. Explain functional components and their interconnection with diagram? 2. Write an essay about computer languages? 3. Write an essay about memory? 4. Write about computer files? 5. What are the different types of monitors? Explain with advantages and disadvantages? 6. Write a note on Voice output system? 7. What is a digital computer? Explain its organization. What are its characteristics, capabilities and limitations? 8. Explain memory hierarchy. What are different types of RAM and ROM. 9. Explain evolution and generation of computers. 10. Explain various input and output devices. 11. Explain the functioning of hard disk drive and CD. B.Voc Software Development

27 Fundamentals of Computer and Programming in C-Question Bank UNIT II 12. Explain the structure of C programming. 13. What are the important characteristics of C language? 14. Write a program to find factorial of a number with algorithm and flowchart. 15. Explain the different types of operators used in C. 16. Explain the output and input functions used in C. 17. Why is C language called as the mother of all programing languages? Explain. 18. For what purpose algorithm and flow charts are used? Explain each of them with an example. 19. Explain different C -operators. 20. Explain operator precedence and associativity of operators in C. 21. What is meant by type conversion? What are explicit and implicit type conversion rules? Explain with suitable examples. 22. Explain data types in detail. UNIT III 23. Explain about control or decision making statement? 24. What is If statement and explain different form of IF statement? Illustrate with example. 25. Explain break and continue statement with example? 26. Explain the for loop statements with example? Explain the Loop statements 27. Write a program to perform matrix addition and multiplication using switch case statement. 28. What is one dimensional, two dimensional and multi dimensional arrays? Write a program to transpose a 2D array. 29. What is a string? Explain various string manipulation functions with suitable example UNIT IV 30. Explain how function is defined. What are the different parameter passing techniques? Explain various categories of functions. How function is different from recursion? 31. What is nesting of functions? What is meant by recursion? Write a program to demonstrate recursion with the explanation. B.Voc Software Development

28 Fundamentals of Computer and Programming in C-Question Bank 32. What are the differences between structures and unions? Write two programs to demonstrate how structure and unions are created in C. 33. How arrays of structures and arrays within structures are handled in C? Explain with suitable examples. 34. Write a program to produce calculator using function. UNIT IV 35. Write a program to determine the length of a given string using pointer. 36. What is the use of array and string in pointer? Give a brief note. 37. Write an example to create a text FILE, write the content and re-write FILE. 38. A. What is meant by random access to a file? Explain with example. B. Explain dynamic memory allocation with example C. Define macros. Explain simple macro and macros with arguments. 39. How we can open and close a file? Explain different operations on files. 40. What is a pointer? How a 1D array and 2D array are passed to function using pointers? Explain with example. 41. Write a program to find sum of N natural numbers using a different loops. 42. Explain concept of modularization with an example. 43. Write a program showing file manipulation function. 44. Explain PC s functional components and interconnection with suitable diagrams. 45. Explain components & functions of CPU along with basic operational concept. 46. Write algorithm, flowchart and C program to print sum and average of 3 numbers ****************************** B.Voc Software Development

29 Fundamentals of Computer and Programming in C-Question Bank B.Voc Software Development Model Question Paper SDC1IT01 : Fundamentals of Computer & Programming in C Time : 3 Hours Total : 80 Marks PART A : Answer all questions ( 1*10=10 ) 1. Write the order of precedence of arithmetic operators. 2. Write the tokens in C language. 3. Define algorithm. 4. Write 3 types of array. 5. Write any 4 string manipulation function. 6. What is recursion? 7. Write all storage classes in C language. 8. Draw memory reservation diagram of structure. 9. What is a pointer? 10. Write syntax of any 2 method for dynamic memory allocation. PART B : Answer any 8 questions ( 8*2=16 ) 1. Write an algorithm for find a given number is negative or positive. 2. What is top down design? 3. Briefly explain symbolic constants. 4. Show the difference between break & continue with example. 5. Explain strncpy(), strncmp(). 6. What are the parts of the function? 7. What is local and global variable? 8. How will you declare and initialize a pointer? 9. What are the built-in methods for file manipulation? 10. Write the types of macro. 11. Explain characteristics of computer. 12. Explain features of C language. PART C : Answer any 6 questions ( 6*4=24 ) 1. Explain type conversion in detail with example. 2. Explain structure of a C program with example. 3. Explain 3 types of looping with example. 4. Write a program to access elements from a 1D array. 5. Briefly explain the difference between structure and union with example. 6. Write a program to find the sum of 2 variables by implementing function. 7. Explain array of pointer. 8. Explain dynamic memory allocation in detail. 9. What all are the types of computer languages? Explain briefly. B.Voc Software Development

30 Fundamentals of Computer and Programming in C-Question Bank PART D : Answer any twe question from the choice ( 2*15=30 ) 1. Write algorithm, flowchart and program to find area of circle. OR 2. Write a program to find sum of N natural numbers using a loop. 3. Explain concept of modularization with an example. OR 4. Write a program showing file manipulation function. ****************************************** B.Voc Software Development

31 Fundamentals of Computer and Programming in C-Question Bank QUESTION BANK Programme : B. Voc in Software Development Semester : 1 st Course Code : SDC1IT03 (P) Course Name : Programming In C (Lab) B.Voc Software Development

32 Fundamentals of Computer and Programming in C-Question Bank SDC1IT03 (P) Programming In C (Lab) Course Outline 1. Simple C Programs 2. C Programs using Loops and decisions 3. Programs involving Arrays (Searching, sorting, merging etc.) 4. Two dimensional arrays (Matrix operations) 5. String Manipulations 6. Programs involving Structures (complex number operations record creation etc) 7. Programs involving Union 8. Programs involving functions and Recursion 9. Data manipulation using pointers 10. Pointers and array operation using pointers etc. 11. Pointers and structures 12. File operations (like create, copy delete etc) 13. Random access files 14. Command line arguments. B.Voc Software Development

33 Fundamentals of Computer and Programming in C-Question Bank Lab Questions - C Programming Simple C Programs 1. Write a program to input 5 numbers and find their sum and avereage 2. Area of a circle and rectangle. 3. Find the denominations of a 4. Simple and compound interest 5. Program to find the given number is odd or even. 6. Program to swap two numbers with a temporary variable. 7. Program to swap two numbers without a temporary variable. 8. Program to divide the sum of two numbers by their difference. 9. Program to find the average of three numbers. 10. Program to find area of triangle using, = a+b+c. 11. Program to find simple interest (p n r 100 ) and Compound interest (p (1 + ( r 12. Program to convert temperature in furan heat to Celsius c = f Program to read values of a, b, & c and print values in following form at ax + bx = c. 14. Program to convert given number of days to months and days. 15. Program to find volume of sphere 4 3 πr Program to read and print your name. 17. Program to add and subtract two complex numbers. 18. Program to implement function in type.h. 19. Program to implement ternary operator to find largest of three numbers. 20. Program to implement increment and decrement operator. 21. Write a program to read and display details of students using dynamic memory allocation. 22. Program to find whether m is a multiple of n. 23. Program to print size of various data types in C )n ). B.Voc Software Development

34 Fundamentals of Computer and Programming in C-Question Bank Control Statements ( If Else) 24. Print the given number is perfect or not 25. Print the given number is even or odd 26. Check whether the given number divisible by 3 or Find the largest of 3 numbers 28. WAP to input a number. If the number is even find its square. otherwise find its cube. 29. Generate an electricity bill 30. Roots of quadratic equation 31. WAP to print the odd numbers from 1 to 100 ( Use goto statement) Program to 32. find the largest of 3 numbers using nested if and if else ladder. Switch Statements 33. Design an arithmetic calculator using switch 34. Print the day of the week corresponding to the number given 35. Check whether the entered character is vowel or not. 36. WAP to input a number and print it digit by digit as a series of words 37. Program to read mark in 5 subject (out of 100) and print grade (90-100: A+, 80-90:A, a :B+, 60-70:B,50-60:C+, 40-50:C, <40-Failed). Loops and Decisions 38. Check whether the given number is palindrome or not 39. Reverse of a number 40. Factorial of a number 41. Fibonacci series 42. Write a program to print prime numbers below Decimal to Binary 44. Binary to Decimal 45. Write a program to check whether, a given character is upper-case, lower-case, digit, vowel or special char by using library function. 46. Program to print all combinations of a three digit number. B.Voc Software Development

35 Fundamentals of Computer and Programming in C-Question Bank 47. Write a program to read any number between 1 and 7 and print corresponding day of the week. 48. Write a program to Implement break and continue 49. Program to print the pattern, 50. Program to print Floyd triangle, 51. If n=5678 write a Program to print, 52. Print the pattern a. *** *** # b. ** *** ## c. * *** ## While and Do-While Loop 53. Find the sum of digits of a number 54. Find the given number is Armstrong or not 55. Find the sum of given n natural numbers 56. WAP to print all perfect numbers between 1 to 300 B.Voc Software Development

36 Fundamentals of Computer and Programming in C-Question Bank Programs Involving Arrays (Searching, Sorting, Merging Etc.) 57. WAP to accept 10 numbers and print their sum 58. WAP to accept n numbers and print in reverse order 59. Find the smallest and largest from an array of n numbers 60. Print odd and even numbers from an array of n numbers 61. WAP to search a given number in an array of integers. if the no. is found print its position. 62. Linear sorting 63. Bubble sorting 64. Binary sorting 65. Insertion and deletion to an array 66. Two dimensional arrays (Matrix operations) 67. Write a program to Addition of two matrices 68. Write a program to subtraction of two matrices 69. Write a program to multiplication and division of two matrices 70. Program to enter a matrix and display its transpose String Manipulations 71. Reading a line of text 72. check whether the string is palindrome or not.eck whether palindrome or not without functions 73. Find the length of a string, reverse of a string and c 74. implement String handling functions 75. Write a program to combine or concatenate two strings into one string 76. Write a program to copy one string to another and count the number of character copied 77. WAP to count the number of words and characters in a line of text. 78. Read a character and print it in reverse case 79. Binary search 80. Sort a list of names in alphabetical order. 81. WAP to find the largest word in an array and also find its position 82. Program to find a string is substring or not. 83. Program to count the number of words in a sentence B.Voc Software Development

37 Fundamentals of Computer and Programming in C-Question Bank Programs Involving Functions and Recursion 84. Design a calculator using functions 85. WAP to find the square of a number using function 86. Find the largest value in an array of n elements using function 87. Write a program to find factorial of a number using recursion 88. Write a program to find the largest three numbers using function 89. Write a program to find array addition using function. 90. Program to find matrix is symmetric or not using function. 91. Program to find integer calculator using Function. Programs Involving Structures (Complex Number Operations Record Creation ) 92. Write a program to calculate the net pay of an employee using structure with the following information employee code, pay rate, hours worked 93. Print student marklist using array within structure 94. Implement structure within structure and find the net pay of an employee Programs Involving Union 95. Write a program to calculate the subject wise and student wise total by creating a structure which contain an array member to represent the marks in five subject. also find the grand total using union Pointers and Its Array Function Operations 96. Write a program using pointers to function to exchange the values stored in two memory location 97. Write a program to find largest element in an array using pointer 98. WAP using pointers to determine the length of a string 99. Write a program to read 10 numbers from keyboard and print it using pointer 100. WAP using pointers and function to add two matrices 101. WAP to find the largest element in an array using function and pointers 102. Sort the elements using pointers B.Voc Software Development

38 Fundamentals of Computer and Programming in C-Question Bank 103. Program to concatenate two strings using Pointer Write a program to read and print inventory details such as name of product, product- ID and price of a given number of product using structure pointers. Pointers and Structure 105. Write a program to print the details of the array element product which contains item no, quantity and price. The array contains 5 elements. Create a structure named inventory. File Operations (Like Create, Copy Delete. Etc ) 106. Write a program to read a command from keyboard and print it using file 107. Create two input files ( f1 and f2) and write the contents of both files into (f3) output file 108. WAP to create a file, open it type in some characters and count the no. of characters in a file Write a C program to read name and marks of n numbers of students from user and store them in a file. If the file previously exits, add the information of n students Program to read set of numbers from a file and Write odd numbers in one file and even numbers in another file Command Line Arguments 111. Programme to add two numbers using command line arguments 112. Print all arguments passed to c programme using command line argument 113. Write a program to find the largest in an array of n elements 114. Write a program to read n names and display it C Program to Add two numbers using Command Line Arguments 116. Write a C program to find sum of n elements entered by user. To perform this program, allocate memory dynamically using malloc() function B.Voc Software Development

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANKULATHUR 603 203 DEPARTMENT OF COMPUTER APPLICATIONS QUESTION BANK IN REVISED BLOOM S TAXONOMY

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANKULATHUR 603 203 DEPARTMENT OF COMPUTER APPLICATIONS QUESTION BANK IN REVISED BLOOM S TAXONOMY ACADEMIC YEAR: 0 7 VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANKULATHUR 0 0 SEMESTER: ODD BRANCH: MCA YEAR: I SEMESTER: I SUBJECT CODE AND NAME: MC70 Problem Solving and Programming NAME OF THE FACULTY

More information

SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR ODD/EVEN ACADEMICSEMESTER (2014-15) ASSIGNMENT / QUESTION BANK (2110003) [F.Y.B.E.

SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR ODD/EVEN ACADEMICSEMESTER (2014-15) ASSIGNMENT / QUESTION BANK (2110003) [F.Y.B.E. SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR ODD/EVEN ACADEMICSEMESTER (2014-15) ASSIGNMENT / QUESTION BANK Subject: Computer Programming and Utilization (2110003) [F.Y.B.E.: ALL BRANCHES] Unit 1

More information

GTU Questions. Computer Programming & Utilization. Chief Course Coordinator Prof. Mitul K.Patel. (Head of Department & Assistant Professor)

GTU Questions. Computer Programming & Utilization. Chief Course Coordinator Prof. Mitul K.Patel. (Head of Department & Assistant Professor) GTU Questions Computer Programming & Utilization Chief Course Coordinator Prof. Mitul K.Patel (Head of Department & Assistant Professor) Course Coordinator Prof. Vrutti D. Shah (Assistant Professor) Lab

More information

Fundamentals of Computer & Programming in C Short-answer type questions

Fundamentals of Computer & Programming in C Short-answer type questions Fundamentals of Computer & Programming in C Short-answer type questions Section- A i. What is a computer system? Draw the block diagram of computer. ii. Differentiate between Real Time Operating System

More information

I PUC - Computer Science. Practical s Syllabus. Contents

I PUC - Computer Science. Practical s Syllabus. Contents I PUC - Computer Science Practical s Syllabus Contents Topics 1 Overview Of a Computer 1.1 Introduction 1.2 Functional Components of a computer (Working of each unit) 1.3 Evolution Of Computers 1.4 Generations

More information

Marathwada Institute of Technology

Marathwada Institute of Technology Marathwada Institute of Technology Master of Computer Application Title of the subject: Object Oriented Programming using C++ Course Code: MCA 101 Faculty: Shubhashree Savant Class: FY MCA Part - I (Question

More information

BHARATHIAR UNIVERSITY: COIMBATORE CENTRE FOR COLLABORATION OF INDUSTRY AND INSTITUTIONS(CCII) CERTIFICATE IN ADVANCED PROGRAMMING C++ LANGUAGE

BHARATHIAR UNIVERSITY: COIMBATORE CENTRE FOR COLLABORATION OF INDUSTRY AND INSTITUTIONS(CCII) CERTIFICATE IN ADVANCED PROGRAMMING C++ LANGUAGE Certificate in Advanced Programming - C++ Language Page 1 of 7 BHARATHIAR UNIVERSITY: COIMBATORE 641046 CENTRE FOR COLLABORATION OF INDUSTRY AND INSTITUTIONS(CCII) CERTIFICATE IN ADVANCED PROGRAMMING C++

More information

MLR Institute of Technology

MLR Institute of Technology MLR Institute of Technology DUNDIGAL 500 043, HYDERABAD COMPUTER SCIENCE AND ENGINEERING Computer Programming Lab List of Experiments S.No. Program Category List of Programs 1 Operators a) Write a C program

More information

KITES TECHNOLOGY COURSE MODULE (C, C++, DS)

KITES TECHNOLOGY COURSE MODULE (C, C++, DS) KITES TECHNOLOGY 360 Degree Solution www.kitestechnology.com/academy.php info@kitestechnology.com technologykites@gmail.com Contact: - 8961334776 9433759247 9830639522.NET JAVA WEB DESIGN PHP SQL, PL/SQL

More information

UNIT-1 PART-A UNIT-2 PART-A

UNIT-1 PART-A UNIT-2 PART-A UNIT-1 1. Define computer? 2. Discuss briefly about input and output devices? 3. What is a RAM? 4. What is arom? 5. What is a compiler? 6. Write about a linker? 7. List any 5 key wordsof c? 8. Illustrate

More information

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks

SECTION C [short essay] [Not to exceed 120 words, Answer any SIX questions. Each question carries FOUR marks] 6 x 4=24 marks UNIVERSITY OF KERALA First Degree Programme in Computer Applications Model Question Paper Semester I Course Code- CP 1121 Introduction to Computer Science TIME : 3 hrs Maximum Mark: 80 SECTION A [Very

More information

FBCA-02 April-2007 Programming in C Language BCA-102 (New Course)

FBCA-02 April-2007 Programming in C Language BCA-102 (New Course) Seat No. : FBCA-02 April-2007 Programming in C Language BCA-102 (New Course) Time : 3 Hours] [Max. Marks : 70 Instructions : (1) Figures to the right indicate full marks of the question. (2) Make and state

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: IMPORTANT INSTRUCTIONS: 1. Question Paper in English and Hindi and Candidate can choose any one language. 2. In case of discrepancies in

More information

B.Sc.(Computer Science) and. B.Sc.(IT) Effective From July 2011

B.Sc.(Computer Science) and. B.Sc.(IT) Effective From July 2011 NEW Detailed Syllabus of B.Sc.(Computer Science) and B.Sc.(IT) Effective From July 2011 SEMESTER SYSTEM Scheme & Syllabus for B.Sc. (CS) Pass and Hons. Course Effective from July 2011 and onwards CLASS

More information

BACHELOR OF COMPUTER APPLICATIONS SEMESTER -I

BACHELOR OF COMPUTER APPLICATIONS SEMESTER -I BACHELOR OF COMPUTER APPLICATIONS SEMESTER -I Fundamentals and Windows Based Application Understanding Computers Computer: A Definition, Characteristics of Computers, Speed, Accuracy, Diligence, Versatility,

More information

Tutorial No. 1 - Solution (Introduction to Computers & Programming)

Tutorial No. 1 - Solution (Introduction to Computers & Programming) Tutorial No. 1 - Solution (Introduction to Computers & Programming) Computer Programming and Utilization (2110003) 1. Draw a block diagram of computer architecture. 2. List various components of a computer

More information

C programming: exercise sheet L2-STUE (2011-2012)

C programming: exercise sheet L2-STUE (2011-2012) C programming: exercise sheet L2-STUE (2011-2012) Algorithms and Flowcharts Exercise 1: comparison Write the flowchart and associated algorithm that compare two numbers a and b. Exercise 2: 2 nd order

More information

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement?

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement? 1. Distinguish & and && operators. PART-A Questions 2. How does an enumerated statement differ from a typedef statement? 3. What are the various members of a class? 4. Who can access the protected members

More information

Course learning outcomes

Course learning outcomes UCS130C/UCS230C COMPUTER CONCEPTS & C PROGRAMMING 4 CREDITS Hrs/Week :04 Total Hrs:48 CIE Marks:50 SEE Marks:50 Course learning outcomes At the end of the course student will be able to: 1. Identify the

More information

AFF 826. Sub. Code 4BSO1C1. Sp2. B.Sc. DEGREE EXAMINATION, NOVEMBER First Semester. Software FUNDAMENTALS OF COMPUTERS AND C PROGRAMMING

AFF 826. Sub. Code 4BSO1C1. Sp2. B.Sc. DEGREE EXAMINATION, NOVEMBER First Semester. Software FUNDAMENTALS OF COMPUTERS AND C PROGRAMMING Sp2 AFF 826 Sub. Code 4BSO1C1 B.Sc. DEGREE EXAMINATION, NOVEMBER 2015 First Semester Software FUNDAMENTALS OF COMPUTERS AND C PROGRAMMING (CBCS 2014 onwards) Time : 3 Hours Maximum : 75 Marks Part A (10

More information

C Programming Dr. Hasan Demirel

C Programming Dr. Hasan Demirel C How to Program, H. M. Deitel and P. J. Deitel, Prentice Hall, 5 th edition (3 rd edition or above is also OK). Introduction to C Programming Dr. Hasan Demirel Programming Languages There are three types

More information

Embedded Systems. Review of ANSI C Topics. A Review of ANSI C and Considerations for Embedded C Programming. Basic features of C

Embedded Systems. Review of ANSI C Topics. A Review of ANSI C and Considerations for Embedded C Programming. Basic features of C Embedded Systems A Review of ANSI C and Considerations for Embedded C Programming Dr. Jeff Jackson Lecture 2-1 Review of ANSI C Topics Basic features of C C fundamentals Basic data types Expressions Selection

More information

3) Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

3) Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging? Freshers Club Important 100 C Interview Questions & Answers 1) How do you construct an increment statement or decrement statement in C? There are actually two ways you can do this. One is to use the increment

More information

10CS35: Data Structures Using C

10CS35: Data Structures Using C CS35: Data Structures Using C QUESTION BANK REVIEW OF STRUCTURES AND POINTERS, INTRODUCTION TO SPECIAL FEATURES OF C OBJECTIVE: Learn : Usage of structures, unions - a conventional tool for handling a

More information

Programming in C 1. Bharat Kinariwala Tep Dobry. 1 Copyright c1993 by B.Kinariwala and T. Dobry. All rights reserved.

Programming in C 1. Bharat Kinariwala Tep Dobry. 1 Copyright c1993 by B.Kinariwala and T. Dobry. All rights reserved. Programming in C 1 Bharat Kinariwala University ofhawai`i Tep Dobry University ofhawai`i January 5, 1993 1 Copyright c1993 by B.Kinariwala and T. Dobry. All rights reserved. Contents Table of Contents

More information

MIT Aurangabad FE Computer Engineering

MIT Aurangabad FE Computer Engineering MIT Aurangabad FE Computer Engineering Unit 1: Introduction to C 1. The symbol # is called a. Header file c. include b. Preprocessor d. semicolon 2. The size of integer number is limited to a. -32768 to

More information

INTRODUCTION TO FLOWCHARTING

INTRODUCTION TO FLOWCHARTING CHAPTER 1 INTRODUCTION TO FLOWCHARTING 1.0 Objectives 1.1 Introduction 1.2 Flowcharts 1.3 Types of Flowcharts 1.3.1 Types of flowchart 1.3.2 System flowcharts 1.4 Flowchart Symbols 1.5 Advantages of Flowcharts

More information

6.096 Lab 1. Due: 7 January 12:30:00. September 20, 2011

6.096 Lab 1. Due: 7 January 12:30:00. September 20, 2011 6.096 Lab 1 Due: 7 January 1:30:00 September 0, 011 1 Additional Material 1.1 Constants A constant is an expressions with a fixed value. Kinds of constants: Literals: used to express particular values

More information

Introduction to C Programming S Y STEMS

Introduction to C Programming S Y STEMS Introduction to C Programming CS 40: INTRODUCTION TO U NIX A ND L I NUX O P E R AT ING S Y STEMS Objectives Introduce C programming, including what it is and what it contains, which includes: Command line

More information

Chapter 2: Problem Solving Using C++

Chapter 2: Problem Solving Using C++ Chapter 2: Problem Solving Using C++ 1 Objectives In this chapter, you will learn about: Modular programs Programming style Data types Arithmetic operations Variables and declaration statements Common

More information

UNIT-1. C Programming & Data Structures. Introduction to Computers: Computing Environment: Types of Computing Environments:

UNIT-1. C Programming & Data Structures. Introduction to Computers: Computing Environment: Types of Computing Environments: Introduction to Computers: C Programming & Data Structures UNIT-1 A computer system consists of hardware and software. Computer hardware is the collection of physical elements that comprise a computer

More information

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program. Name: Class: Date: Exam #1 - Prep True/False Indicate whether the statement is true or false. 1. Programming is the process of writing a computer program in a language that the computer can respond to

More information

Model Paper Computer Science Objective. Paper Code Time Allowed: 20 minutes

Model Paper Computer Science Objective. Paper Code Time Allowed: 20 minutes Note: This is Model Paper for guidance of students & teachers. Q. Model Paper Computer Science Objective Intermediate Part II ( th Class) Examination Session -4 and onward Total marks: 7 Paper Code Time

More information

A First Book of C++ Chapter 2 Data Types, Declarations, and Displays

A First Book of C++ Chapter 2 Data Types, Declarations, and Displays A First Book of C++ Chapter 2 Data Types, Declarations, and Displays Objectives In this chapter, you will learn about: Data Types Arithmetic Operators Variables and Declarations Common Programming Errors

More information

GETTING STARTED WITH C++ C++ BASICS - 1 -

GETTING STARTED WITH C++ C++ BASICS - 1 - - 1 - GETTING STARTED WITH C++ Programming is a core activity in the process of performing tasks or solving problems with the aid of a computer. An idealised picture is: PROBLEM COMPUTER SOLUTION Unfortunately

More information

2013 Five years Integrated M.Sc.(IT) Semester 1 060010101 - Fundamentals of Programming

2013 Five years Integrated M.Sc.(IT) Semester 1 060010101 - Fundamentals of Programming 03 Five years Integrated M.Sc.(IT) Semester 00000 - Fundamentals Programming File should contain. Problem Statement. Algorithm 3. Flowchart. Program in C language(code) 5. Output and sample calculation

More information

V.S.B. ENGINEERING COLLEGE, KARUR. Academic Year: (ODD Semester) Department of Computer Science and Engineering

V.S.B. ENGINEERING COLLEGE, KARUR. Academic Year: (ODD Semester) Department of Computer Science and Engineering V.S.B. ENGINEERING COLLEGE, KARUR Academic Year: 2016-2017 (ODD Semester) Department of Computer Science and Engineering Question Bank (2013 Regulations) S.No. Name of the Subject / Lab Semester Page No.

More information

MGM s JNEC Question Bank Subject: Computer Engineering

MGM s JNEC Question Bank Subject: Computer Engineering MGM s JNEC Question Bank Subject: Computer Engineering 1. All of the following are examples of computer input units EXCEPT: a) Scanner b) Speaker c) Bar code reader d) Keyboard Answer: b 2. Which of the

More information

The C Programming Language course syllabus associate level

The C Programming Language course syllabus associate level TECHNOLOGIES The C Programming Language course syllabus associate level Course description The course fully covers the basics of programming in the C programming language and demonstrates fundamental programming

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 Common to: CSE 2 nd sem IT 2 nd sem Title of the Practical: Assignment to prepare general algorithms and flow chart. Q1: What is a flowchart? A1: A flowchart

More information

Keywords are identifiers having predefined meanings in C programming language. The list of keywords used in standard C are : unsigned void

Keywords are identifiers having predefined meanings in C programming language. The list of keywords used in standard C are : unsigned void 1. Explain C tokens Tokens are basic building blocks of a C program. A token is the smallest element of a C program that is meaningful to the compiler. The C compiler recognizes the following kinds of

More information

Informatica e Sistemi in Tempo Reale

Informatica e Sistemi in Tempo Reale Informatica e Sistemi in Tempo Reale Introduction to C programming Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa October 25, 2010 G. Lipari (Scuola Superiore Sant Anna)

More information

z = x + y * z / 4 % 2-1

z = x + y * z / 4 % 2-1 1.Which of the following statements should be used to obtain a remainder after dividing 3.14 by 2.1? A. rem = 3.14 % 2.1; B. rem = modf(3.14, 2.1); C. rem = fmod(3.14, 2.1); D. Remainder cannot be obtain

More information

C++ Programming: From Problem Analysis to Program Design, Fifth Edition. Chapter 2: Basic Elements of C++

C++ Programming: From Problem Analysis to Program Design, Fifth Edition. Chapter 2: Basic Elements of C++ C++ Programming: From Problem Analysis to Program Design, Fifth Edition Chapter 2: Basic Elements of C++ Objectives In this chapter, you will: Become familiar with the basic components of a C++ program,

More information

PROGRAMMING IN C PROGRAMMING IN C CONTENT AT A GLANCE

PROGRAMMING IN C PROGRAMMING IN C CONTENT AT A GLANCE PROGRAMMING IN C CONTENT AT A GLANCE 1 MODULE 1 Unit 1 : Basics of Programming Unit 2 : Fundamentals Unit 3 : C Operators MODULE 2 unit 1 : Input Output Statements unit 2 : Control Structures unit 3 :

More information

Programming for MSc Part I

Programming for MSc Part I Herbert Martin Dietze University of Buckingham herbert@the-little-red-haired-girl.org July 24, 2001 Abstract The course introduces the C programming language and fundamental software development techniques.

More information

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands

C Programming. for Embedded Microcontrollers. Warwick A. Smith. Postbus 11. Elektor International Media BV. 6114ZG Susteren The Netherlands C Programming for Embedded Microcontrollers Warwick A. Smith Elektor International Media BV Postbus 11 6114ZG Susteren The Netherlands 3 the Table of Contents Introduction 11 Target Audience 11 What is

More information

9 Control Statements. 9.1 Introduction. 9.2 Objectives. 9.3 Statements

9 Control Statements. 9.1 Introduction. 9.2 Objectives. 9.3 Statements 9 Control Statements 9.1 Introduction The normal flow of execution in a high level language is sequential, i.e., each statement is executed in the order of its appearance in the program. However, depending

More information

Sources: On the Web: Slides will be available on:

Sources: On the Web: Slides will be available on: C programming Introduction The basics of algorithms Structure of a C code, compilation step Constant, variable type, variable scope Expression and operators: assignment, arithmetic operators, comparison,

More information

C PROGRAMMING FOR MATHEMATICAL COMPUTING

C PROGRAMMING FOR MATHEMATICAL COMPUTING UNIVERSITY OF CALICUT SCHOOL OF DISTANCE EDUCATION BSc MATHEMATICS (2011 Admission Onwards) VI Semester Elective Course C PROGRAMMING FOR MATHEMATICAL COMPUTING QUESTION BANK Multiple Choice Questions

More information

Going from Python to C

Going from Python to C Going from Python to C Darin Brezeale December 8, 2011 Python is a high-level, interpreted language. C has many of the same types of programming constructs as in Python: arrays, loops, conditionals, functions,

More information

Lecture 03 Bits, Bytes and Data Types

Lecture 03 Bits, Bytes and Data Types Lecture 03 Bits, Bytes and Data Types In this lecture Computer Languages Assembly Language The compiler Operating system Data and program instructions Bits, Bytes and Data Types ASCII table Data Types

More information

C programming. Intro to syntax & basic operations

C programming. Intro to syntax & basic operations C programming Intro to syntax & basic operations Example 1: simple calculation with I/O Program, line by line Line 1: preprocessor directive; used to incorporate code from existing library not actually

More information

Fundamentals of Programming and Software Development Lesson Objectives

Fundamentals of Programming and Software Development Lesson Objectives Lesson Unit 1: INTRODUCTION TO COMPUTERS Computer History Create a timeline illustrating the most significant contributions to computing technology Describe the history and evolution of the computer Identify

More information

Mini Projects List

Mini Projects List Mini Projects List 1. Develop a mini project in C language using functions to perform the following operations a. Defining a user define function to copy one string into anther string b. Define a user

More information

C++ Programming Language

C++ Programming Language C++ Programming Language Lecturer: Yuri Nefedov 7th and 8th semesters Lectures: 34 hours (7th semester); 32 hours (8th semester). Seminars: 34 hours (7th semester); 32 hours (8th semester). Course abstract

More information

Chapter 1 Basic Concepts

Chapter 1 Basic Concepts Chapter 1 Basic Concepts 1.1 Welcome to Assembly Language 1 1.1.1 Good Questions to Ask 2 1.1.2 Assembly language Applications 5 1.1.3 Section Review 6 1.2 Virtual Machine Concept 7 1.2.1 History of PC

More information

CHAPTER 2 PROBLEM SOLVING

CHAPTER 2 PROBLEM SOLVING CHAPTER 2 PROBLEM SOLVING This chapter will cover the following topics: Problem Solving Concepts for the Computer Pre-Programming Phase Programming Or Implementation Phase What Problem Can Be Solved By

More information

INDEX. C programming Page 1 of 10. 5) Function. 1) Introduction to C Programming

INDEX. C programming Page 1 of 10. 5) Function. 1) Introduction to C Programming INDEX 1) Introduction to C Programming a. What is C? b. Getting started with C 2) Data Types, Variables, Constants a. Constants, Variables and Keywords b. Types of Variables c. C Keyword d. Types of C

More information

Bhakta Kavi Narsinh Mehta University, Junagadh

Bhakta Kavi Narsinh Mehta University, Junagadh Bhakta Kavi Narsinh Mehta University, Junagadh Draft Syllabus for B.Sc. (Computer Science) Bachelor of Science (Computer Science) (Semester - 1) Effective From June - 2016 B.Sc. (C.S.) (Semester - 1) CS-101:

More information

INTI COLLEGE MALAYSIA

INTI COLLEGE MALAYSIA CSC112 (F) / Page 1 of 5 INTI COLLEGE MALAYSIA CERTIFICATE IN COMPUTING AND INFORMATION TECHNOLOGY PROGRAMME CSC 112 : FUNDAMENTALS OF PROGRAMMING FINAL EXAMINATION : DECEMBER 2002 SESSION This paper consists

More information

PE1 Worksheet. 3) What are the three control structures for writing an algorithm in pseudocode?

PE1 Worksheet. 3) What are the three control structures for writing an algorithm in pseudocode? PE1 Worksheet Problem solving 1) What are the four stages of problem solving by programming? What shall be done in each stage? Stage 1: Stage 2: Stage 3: Stage 4: 2) What is the top-down design strategy

More information

Dept. of CSE, IIT KGP

Dept. of CSE, IIT KGP Programming in C: Basics CS10001: Programming & Data Structures Pallab Dasgupta Professor, Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur Types of variable We must declare the

More information

C AND C++ PROGRAMMING

C AND C++ PROGRAMMING C AND C++ PROGRAMMING Bharathidasan University A Courseware prepared by University Informatics Centre Part I - Programming in C Getting Started This courseware is intended to be an introduction to C programming

More information

Bachelors of Computer Application Programming Principle & Algorithm (BCA-S102T)

Bachelors of Computer Application Programming Principle & Algorithm (BCA-S102T) Unit- I Introduction to c Language: C is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating

More information

ALLIED PAPER : DISCRETE MATHEMATICS (for B.Sc. Computer Technology & B.Sc. Multimedia and Web Technology)

ALLIED PAPER : DISCRETE MATHEMATICS (for B.Sc. Computer Technology & B.Sc. Multimedia and Web Technology) ALLIED PAPER : DISCRETE MATHEMATICS (for B.Sc. Computer Technology & B.Sc. Multimedia and Web Technology) Subject Description: This subject deals with discrete structures like set theory, mathematical

More information

COURSE CONTENTS. 3 -months 8:30 am - 3:30 pm Mon - Fri. [Admissions strictly through written test based on Basic C and Aptitude]

COURSE CONTENTS. 3 -months 8:30 am - 3:30 pm Mon - Fri. [Admissions strictly through written test based on Basic C and Aptitude] COURSE CONTENTS 3 -months 8:30 am - 3:30 pm Mon - Fri [Admissions strictly through written test based on Basic C and Aptitude] Subhash Programming Classes Revision: January, 2016 All rights reserved Call:

More information

DEPARTMENT OF SCIENCE AND HUMANITIES CS6202-PROGRAMMING AND DATA STRUCTURES I QUESTION BANK

DEPARTMENT OF SCIENCE AND HUMANITIES CS6202-PROGRAMMING AND DATA STRUCTURES I QUESTION BANK DEPARTMENT OF SCIENCE AND HUMANITIES Sem/Year/Branch: II/I/CSE CS6202-PROGRAMMING AND DATA STRUCTURES I QUESTION BANK UNIT I 1. Give two examples of C preprocessors with syntax.(apr/may 2015) 2. What are

More information

Punctuation in C. Identifiers and Expressions. Identifiers. Variables. Keywords. Identifier Examples

Punctuation in C. Identifiers and Expressions. Identifiers. Variables. Keywords. Identifier Examples Identifiers and Expressions CSE 130: Introduction to C Programming Spring 2005 Punctuation in C Statements are terminated with a ; Groups of statements are enclosed by curly braces: { and } Commas separate

More information

Basic C Syntax. Comp-206 : Introduction to Software Systems Lecture 10. Alexandre Denault Computer Science McGill University Fall 2006

Basic C Syntax. Comp-206 : Introduction to Software Systems Lecture 10. Alexandre Denault Computer Science McGill University Fall 2006 Basic C Syntax Comp-206 : Introduction to Software Systems Lecture 10 Alexandre Denault Computer Science McGill University Fall 2006 Next Week I'm away for the week. I'll still check my mails though. No

More information

6.087 Lecture 5 January 15, 2010

6.087 Lecture 5 January 15, 2010 6.087 Lecture 5 January 15, 2010 Review Pointers and Memory Addresses Physical and Virtual Memory Addressing and Indirection Functions with Multiple Outputs Arrays and Pointer Arithmetic Strings String

More information

Chapter One Introduction to Programming

Chapter One Introduction to Programming Chapter One Introduction to Programming 1-1 Algorithm and Flowchart Algorithm is a step-by-step procedure for calculation. More precisely, algorithm is an effective method expressed as a finite list of

More information

Chapter 8. Arithmetic in C++

Chapter 8. Arithmetic in C++ Christian Jacob Chapter 8 Arithmetic in C++ 8.1 The C++ Vocabulary 8.2 Variables and Types 8.2.1 Data Objects 8.2.2 Variables 8.2.3 Declaration of Variables 8.3 Elementary C++ Data Types 8.3.1 Integers

More information

Which of the following is the correct operator to compare two variables? A. := B. = C. equal D. ==

Which of the following is the correct operator to compare two variables? A. := B. = C. equal D. == Group 1 Question 1. What is the correct value to return to the operating system upon the successful completion of a program? A. -1 B. 1 C. 0 D. Programs do not return a value. Question 2. What is the only

More information

1) String initialization can be carried out in the following ways, similar to that of an array :

1) String initialization can be carried out in the following ways, similar to that of an array : Strings in C : Overview : String data type is not supported in C Programming. String is essentially a collection of characters to form particular word. String is useful whenever we accept name of the person,

More information

BSc (Hons) Computer Science with Network Security, BSc (Hons) Business Information Systems, BSc (Hons) Mathematics & BSc (Hons) Software Engineering

BSc (Hons) Computer Science with Network Security, BSc (Hons) Business Information Systems, BSc (Hons) Mathematics & BSc (Hons) Software Engineering BSc (Hons) Computer Science with Network Security, BSc (Hons) Business Information Systems, BSc (Hons) Mathematics & BSc (Hons) Software Engineering Cohort: BCNS/07/FT- BIS/07/FT- BIS/06/FT -BM/07/FT BSE/07/FT/PT-

More information

Bangalore University B.Sc Computer Science Syllabus ( Semester System)

Bangalore University B.Sc Computer Science Syllabus ( Semester System) Bangalore University B.Sc Computer Science Syllabus ( Semester System) First Semester CSIT1: Computer Fundamentals and C Programming CSIP1: C Programming Lab Second Semester CSIIT1: Data Structures and

More information

1. A(n) structure is a logical design that controls the order in which a set of statements execute. a. function b. control c. sequence d.

1. A(n) structure is a logical design that controls the order in which a set of statements execute. a. function b. control c. sequence d. Chapter Four MULTIPLE CHOICE 1. A(n) structure is a logical design that controls the order in which a set of statements execute. a. function b. control c. sequence d. iteration 2. The decision structure

More information

Final Exam Review. CS 1428 Fall Jill Seaman. Final Exam

Final Exam Review. CS 1428 Fall Jill Seaman. Final Exam Final Exam Review CS 1428 Fall 2011 Jill Seaman 1 Final Exam Friday, December 9, 11:00am to 1:30pm Derr 241 (here) Closed book, closed notes, clean desk Comprehensive (covers entire course) 25% of your

More information

C Programming, Chapter 1: C vs. Java, Types, Reading and Writing

C Programming, Chapter 1: C vs. Java, Types, Reading and Writing C Programming, Chapter 1: C vs. Java, Types, Reading and Writing T. Karvi August 2013 T. Karvi C Programming, Chapter 1: C vs. Java, Types, Reading and Writing August 2013 1 / 1 C and Java I Although the

More information

Comp181 Midterm Examination, Fall Name Surname: Number: 90 min. 18/11/09

Comp181 Midterm Examination, Fall Name Surname: Number: 90 min. 18/11/09 Comp181 Midterm Examination, Fall 09 10 Name Surname: Number: 90 min. 18/11/09 Answer ALL off the following questions. 1.What does the term hardware refer to? a. The relative difficulty of programming

More information

Chapter 4 Operators & Arithmetic

Chapter 4 Operators & Arithmetic Chapter 4 Operators & Arithmetic 4-1 Arithmetic in C++ Arithmetic expressions can be made up of constants, variables, operators and parentheses. The arithmetic operators in C++ are as follows + (addition)

More information

OUTCOMES BASED LEARNING MATRIX

OUTCOMES BASED LEARNING MATRIX Course: CTIM371 Programming in C++ OUTCOMES BASED LEARNING MATRIX Department: Computer Technology and Information Management Course Description: This is the first course in the C++ programming language.

More information

C++ INTERVIEW QUESTIONS

C++ INTERVIEW QUESTIONS C++ INTERVIEW QUESTIONS http://www.tutorialspoint.com/cplusplus/cpp_interview_questions.htm Copyright tutorialspoint.com Dear readers, these C++ Interview Questions have been designed specially to get

More information

Moving from CS 61A Scheme to CS 61B Java

Moving from CS 61A Scheme to CS 61B Java Moving from CS 61A Scheme to CS 61B Java Introduction Java is an object-oriented language. This document describes some of the differences between object-oriented programming in Scheme (which we hope you

More information

,!7IA3C1-dcahfj!:t;K;k;K;k. Addison-Wesley s JavaScript Reference Card. Kathleen M. Goelz and Carol J. Schwartz, Rutgers University VARIABLES

,!7IA3C1-dcahfj!:t;K;k;K;k. Addison-Wesley s JavaScript Reference Card. Kathleen M. Goelz and Carol J. Schwartz, Rutgers University VARIABLES Addison-Wesley s JavaScript Reference Card Kathleen M. Goelz and Carol J. Schwartz, Rutgers University Javascript: A scripting language designed to be integrated into HTML code to produce enhanced, dynamic,

More information

The programming language C. sws1 1

The programming language C. sws1 1 The programming language C sws1 1 The programming language C invented by Dennis Ritchie in early 1970s who used it to write the first Hello World program C was used to write UNIX Standardised as K&C (Kernighan

More information

Department of Electrical and Computer Engineering Faculty of Engineering and Architecture American University of Beirut Course Information

Department of Electrical and Computer Engineering Faculty of Engineering and Architecture American University of Beirut Course Information Department of Electrical and Computer Engineering Faculty of Engineering and Architecture American University of Beirut Course Information Course title: Computer Organization Course number: EECE 321 Catalog

More information

Week 1 Introduction to Programming

Week 1 Introduction to Programming CME111 Programming Languages I Week 1 Introduction to Programming Assist. Prof. Dr. Caner ÖZCAN Introduction Course Web Site: www.canerozcan.net Office Hours: Tuesday 15:00-17:00 Thursday 13:00-15:00 or

More information

14 MAKING DECISIONS IN C

14 MAKING DECISIONS IN C 14 MAKING DECISIONS IN C 14.1 INTRODUCTION So far we have seen that in C programs the instructions are executed in the same order in which they appear in the program. Each instruction is executed once

More information

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore 560 100 Department of MCA COURSE INFORMATION SHEET 1. GENERAL INFORMATION: Problem Solving Using C (13MCA11) Academic Year:

More information

Objective Type Questions

Objective Type Questions Objective Type Questions Unit- Introduction to computer and programming: Sr.No. Multiple Choice Question Paper Marks Which of the following is a part of primary memory of computer a) PROM b) CD-ROM c)

More information

WEB MANAGEMENT CT211. Fall 2012 PACKET II

WEB MANAGEMENT CT211. Fall 2012 PACKET II Fall 2012 CT211 WEB MANAGEMENT PACKET II This packet includes the mandatory assignments for each Chapter that is covered in the required course textbooks. All assignments must be completed on the date

More information

PES Institute of Technology-BSC QUESTION BANK

PES Institute of Technology-BSC QUESTION BANK PES Institute of Technology-BSC Faculty: Mrs. R.Bharathi CS35: Data Structures Using C QUESTION BANK UNIT I -BASIC CONCEPTS 1. What is an ADT? Briefly explain the categories that classify the functions

More information

El Dorado Union High School District Educational Services

El Dorado Union High School District Educational Services El Dorado Union High School District Course of Study Information Page Course Title: ACE Computer Programming II (#495) Rationale: A continuum of courses, including advanced classes in technology is needed.

More information

COMPUTER PROGRAMMING THROUGH C LAB MANUAL

COMPUTER PROGRAMMING THROUGH C LAB MANUAL LAB MANUAL Name Roll No. Branch Section INDEX S. No Contents 1 Objectives of the lab 2 Requirements 3 Lab Syllabus Programs (JNTU) 4 Introduction About Lab 5 Solutions for Programs 6 Topics beyond the

More information

C What Happens INTRODUCTION PIC MICROCONTROLLER PRODUCT OVERVIEW SELECTING A DEVICE FOR EXPERIMENTS PIC16F818

C What Happens INTRODUCTION PIC MICROCONTROLLER PRODUCT OVERVIEW SELECTING A DEVICE FOR EXPERIMENTS PIC16F818 C What Happens INTRODUCTION PIC MICROCONTROLLER PRODUCT OVERVIEW SELECTING A DEVICE FOR EXPERIMENTS PIC16F818 Pins and functions Package Clock oscillator Reset Ports Special Features PIC microcontroller

More information

CSI 333 Lecture 2 Introduction to C: Part I 2 1 / 16

CSI 333 Lecture 2 Introduction to C: Part I 2 1 / 16 CSI 333 Lecture 2 Introduction to C: Part I 2 1 / 16 Basics of C Remark: Skim Chapters 1 through 6 of Deitel & Deitel. You will notice the following: C is (more or less) a subset of Java. (So, you are

More information

COMPUTER SCIENCE (5651) Test at a Glance

COMPUTER SCIENCE (5651) Test at a Glance COMPUTER SCIENCE (5651) Test at a Glance Test Name Computer Science Test Code 5651 Time Number of Questions Test Delivery 3 hours 100 selected-response questions Computer delivered Content Categories Approximate

More information