MODEL QUESTION PAPER-1
|
|
- Dortha Jackson
- 7 years ago
- Views:
Transcription
1 MODEL QUESTION PAPER-1 Code No: R15A0501 MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY B.Tech. I Year - I Semester Examinations COMPUTER PROGRAMMING WITH C (Common to ECE, CSE, IT) Time: 3 hours Max. Marks: 75 Note: This question paper contains two parts A and B Part A is compulsory which carriers 25 marks and Answer all questions. Part B Consists of 5 SECTIONS (One SECTION for each UNIT). Answer FIVE Questions, Choosing ONE Question from each SECTION and each Question carries 10 marks. PART A (25 Marks) 1.a) what is the difference between while and do while loop? [2M] b) What is type conversion? Explain briefly about implicit and explicit type conversions? [3M] c) What do you mean recursion? [2M] d) Briefly Explain function categories. [3M] e) Define array? Explain how it is different from ordinary variable. [2M] f) Write a C program to find largest and smallest number in an array. [3M] g) What is void pointer? [2M] h) Briefly Explain pointers to pointers. [3M] i) Write the difference between structure and union? [2M] j) Write a C program to display the contents of a file. [3M] Part- B ( 50 MARKS) SECTION-I 2. Explain about various Computing Environments. [10M] 3. Explain different Decision control statements with programs. SECTION-II 4. What is a storage class? Explain different types of storage classes with programs. [10M] 5. Explain parameter passing techniques with programs. SECTION-III R15 6. Explain how two dimensional arrays are declared and initialized in C.write a C program [10M] to perform matrix multiplication using two dimensional arrays. 7. a)define string? Explain how strings are declared and initialized in C. b) Write a C program to count the number of lines, words and characters in a given text.
2 SECTION-IV 8. What is a pointer? Explain how the pointer variable is declared and initialized. Write a C program to swap two numbers using call by reference. [10M] 9.Explain the following a) pointers to functions b) array of pointers. SECTION-V 10. Explain the following concepts with programs. [10M] a) typedef b) enum c) bitfields 11. Explain file positioning functions with programs.
3 MODEL QUESTION PAPER-2 R15 Code No: R15A0501 MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY B.Tech. I Year - I Semester Examinations COMPUTER PROGRAMMING WITH C (Common to ECE, CSE, IT) Time: 3 hours Max. Marks: 75 Note: This question paper contains two parts A and B Part A is compulsory which carriers 25 marks and Answer all questions. Part B Consists of 5 SECTIONS (One SECTION for each UNIT). Answer FIVE Questions, Choosing ONE Question from each SECTION and each Question carries 10 marks. PART A (25 Marks) 1.a)What is a constant? What is the difference between single character constant and string constant?(2m) b) What is a ternary operator in C give an example?(3m) c)write a c program to find the factorial of a given number? (2M) d)what is meant by inter function communication? (3M) e)write a c program to find the maximum element in the given array? (2M) f) Define a string and Explain strcmp() function? (3M) g) Define a pointer? Write syntax for defining a pointer variable? (2M) h) Explain array of pointers concept with example? (3M) i) Define an array within a structure (2M) j). Write a program to copy upto 100 characters from a file to an output array. (3M) PART-B (50 marks) SECTION-I 2) Define Type Conversion?Explain briefly about implicit and explicit type conversions? 3) Write a C program with Exclusive operation between the two integers and display the result? SECTION-II 4)Define recursion? write a c program to find the GCD of a given number using recursion? 5) Explain different storage classes in c? SECTION-III 6) Define array?explain different types of arrays with examples? 7) Write a c program that reads a string and prints if it is a palindrome or not? SECTION-IV 8) Explain pointers to functions concept with a neat example? 9) Write a c program using pointers to read an array of integers and print the elements in reverse order? SECTION-V
4 10). Develop a c program that reads two complex numbers calls a function for adding these two complex numbers and displays the result. represent the complex number using a structure in C? 11). Elaborate file handling functions in C with the help of sample code?
5 MODEL QUESTION PAPER-3 R15 Code No: R15A0501 MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY B.Tech. I Year - I Semester Examinations COMPUTER PROGRAMMING WITH C (Common to ECE, CSE, IT) Time: 3 hours Max. Marks: 75 Note: This question paper contains two parts A and B Part A is compulsory which carriers 25 marks and Answer all questions. Part B Consists of 5 SECTIONS (One SECTION for each UNIT). Answer FIVE Questions, Choosing ONE Question from each SECTION and each Question carries 10 marks. PART A (25 Marks) 1.a) Write about ROM and RAM. [2M] b) What are the different data types in C? [3M] c) Distinguish between static and automatic variables. [2M] d) What is the main () in c? Why it is necessary in each program? What are the advantages of using functions. [3M] e) What advantage is there in defining an array size in terms of a symbolic constant rather than a fixed integer quantity. [2M] f) Write a c program to count no. of characters, no. of words, no. of special characters in a given string. [3M] g) Explain the effects of the following statements: i) int a,*b=&a ii) int p,*p; [2M] h) Write a c program to find factorial of a given number using pointers. [3M] i) Explain the advantages of structure type over the array type variable. [2M] j) Explain command line arguments. [3M] PART- B SECTION-I ( 50 MARKS) 2. What is an operator? Explain different operators in C language. [10M] 3. Explain different control structures in C with program examples. SECTION-II 4. a) Distinguish between the following: [10M] i) Actual and formal arguments ii) Global and local variables iii) Automatic and static variables. b) Explain the concept of recursion.
6 5. Explain parameter passing techniques with examples. SECTION-III 6. a) Write a c program to find the maximum and minimum from a given set of numbers. [10M] b) What conditions must be satisfied by the entire elements of any given array. 7. Discuss the operations on strings and how they are implemented. SECTION-IV 8. Why are pointers to structure as functions parameters preferred instead of structures themselves as parameters? [10M] 9. Write a c program to find matrix multiplication of two matrices without using arrays. SECTION-V 10. Explain: i) structures and functions [10M] ii) Type def iii) bit field 11. Explain file concept using one program.
7 MODEL QUESTION PAPER-4 Code No: R15A0501 MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY B.Tech. I Year - I Semester Examinations COMPUTER PROGRAMMING WITH C (Common to ECE, CSE, IT) Time: 3 hours Max. Marks: 75 Note: This question paper contains two parts A and B Part A is compulsory which carriers 25 marks and Answer all questions. Part B Consists of 5 SECTIONS (One SECTION for each UNIT). Answer FIVE Questions, Choosing ONE Question from each SECTION and each Question carries 10 marks. PART A (25 Marks) 1 a)what is a ternary operator in C? [2M] b) What is the difference between break and continue? [3M] c)what are the limitations of recursion? [2M] d)explain preprocessor commands? [3M] e) Explain how two dimensional arrays are declared and initialized in C? [2M] f) Briefly explain array of strings. [3M] g) what is pointer? [2M] h) Explain pointer increments and scale factor with example? [3M] i) What are the advantages of structures over arrays. [2M] j) Explain Enumerated Data Types with an example. [3M] PART-B(50 marks) R15 SECTION-I 2)Define flow chart?draw a flow chart for finding roots of a quadratic equation with all cases?[10m] 3) Explain and specify the interactions between various components that support the basic functionality of a computer? SECTION-II 4) What is a storage class? Explain different types with examples [10M] 5) write a C program to find the factorial of a given number using recursion. SECTION-III 6)Write a c program for multiplication of two matrices. [10M] 7) Explain various string handling or string manipulating functions.
8 SECTION-IV 8) Write a c program using pointers to read an array of integers and print the elements in reverse order? [10M] 9) Write a C program to swap two numbers using call by pointers method. SECTION-V 10) What are Bit fields. Write a C program to store the information of vehicles. Use bit fields to store the status information. Assume the vehicle object consists of type, fuel and model [10M] member fields. Assume appropriate number of bits for each field. 11) Explain different modes that can be provided as a parameter to the fopen() function
9 MODEL QUESTION PAPER-5 R15 Code No: R15A0501 MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY B.Tech. I Year - I Semester Examinations COMPUTER PROGRAMMING WITH C (Common to ECE, CSE, IT) Time: 3 hours Max. Marks: 75 Note: This question paper contains two parts A and B Part A is compulsory which carriers 25 marks and Answer all questions. Part B Consists of 5 SECTIONS (One SECTION for each UNIT). Answer FIVE Questions, Choosing ONE Question from each SECTION and each Question carries 10 marks. PART A (25 Marks) 1. a. Define Flowchart? Write the advantages and disadvantages of flowchart? (2M) b. Briefly explain about break, continue and goto statements in C language? (3M) c. Write a small note on Type qualifiers? (2M) d. Explain about function definition with program construct? (3M) e. Write a C construct for reading one dimensional array elements? (2M) f. Explain String I/O functions? (3M) g. Define a pointer? Write about NULL pointer? (2M) h. Explain about pointer arithmetic with example? (3M) i. What is the difference between structure and Union? (2M) j. Write about file I/O functions? (3M) PART-B (50 Marks) SECTION-I 2. Explain all forms of IF statement with examples? (10M) 3. Write about F loop? Write a C program to generate all prime numbers between 1 and N? (10M) SECTION-II 4. a. Explain about inter function communication? (5M) b. What are the different categories of functions and explain them with program constructs? (5M) 5. Explain different parameter passing techniques with example programs? (10M) SECTION-III 6. Write a C program to Multiply two matrices? (10M) 7. Explain Strlen(), Strncmp(), Strrev(), Strncat(), Strechr() with examples? (10M) SECTION-IV
10 8. What is Dynamic Memory Management? Explain malloc() and calloc() functions with examples? (10M) 9. Describe features of pointer and explain Array of pointers concept with examples? (10M) SECTION-V 10. Write a structure for the College data. College contains the following fields: (10M) a. College code (2characters), b. College Name, c. year of establishment, number of courses and courses. A College can offer 1 to 50 courses. Each course is associated with course name (String), duration, number of students. The number of students in the college is sum of number of students in all the courses in the college. 11. Write a C program to read a text file and to count (10M) (a) Number of characters, (b) Number of words and
11 MODEL QUESTION PAPER-6 R15 Code No: R15A0501 MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY B.Tech. I Year - I Semester Examinations COMPUTER PROGRAMMING WITH C (Common to ECE, CSE, IT) Time: 3 hours Max. Marks: 75 Note: This question paper contains two parts A and B Part A is compulsory which carriers 25 marks and Answer all questions. Part B Consists of 5 SECTIONS (One SECTION for each UNIT). Answer FIVE Questions, Choosing ONE Question from each SECTION and each Question carries 10 marks. PART A (25 Marks) 1.a) Differentiate algorithm and flowchart. [2m] b) Write brief notes on type conversion. [3m] c) Differentiate break and continue. [2m] d) Discuss call-by-reference mechanism [3m] e) What is inter-function communication. [2m] f) Describe arrays of strings. [3m] g) Write a note on void pointer [2m] h)differentiate the memory allocation techniques [3m] i) Write brief notes on unions. [2m] j) What is meant by a structure pointer [3m] PART-B (50Marks) SECTION-I 2. State and explain the Operator precedence & Associativity in expression evaluation with a suitable example. 3. Write a short note on the different computing environments. Discuss the basic characteristics of flowchart and algorithm. SECTION-II 4. Explain with a sample program about entry-controlled, exit-controlled and multiway-selection statements in C programming. 5. Explain the storage classes in detail. SECTION-III 6. Discuss with a suitable example how to pass an array to a function. Write a C program to perform multiplication of matrices. 7. State and explain with a sample program various string manipulation functions. SECTION-IV 8. Write a program and explain the working of dynamic memory allocation functions
12 9. Write a C program to read a text file and count number of characters, words and lines given. SECTION-V 10. Explain about declaration, initialization and accessing of structures. And also discuss about complex structures. 11. What are file streams? Discuss about state of file, opening and closing file with a sample C program. Define command line arguments. ***********
13 MODEL QUESTION PAPER-7 R15 Code No: R15A0501 MALLA REDDY COLLEGE OF ENGINEERING AND TECHNOLOGY B.Tech. I Year - I Semester Examinations COMPUTER PROGRAMMING WITH C (Common to ECE, CSE, IT) Time: 3 hours Max. Marks: 75 Note: This question paper contains two parts A and B Part A is compulsory which carriers 25 marks and Answer all questions. Part B Consists of 5 SECTIONS (One SECTION for each UNIT). Answer FIVE Questions, Choosing ONE Question from each SECTION and each Question carries 10 marks. PART A (25 Marks) 1. a) What is bit field? b)write difference between structure and union? c) Distinguish between a text file and a binary file. d)what is a void pointer? e) W hat are various functions to compare strings? f) Define array? Explain how it is different from ordinary variable? g) Write any two dynamic memory allocation functions? h) What is inter function communication? i) Discuss briefly about goto statement? j) Explain briefly about Ternary operator with one example? PART-B (50Marks) SECTION-I 2 a) Explain with sample c program about while,do-while,for statements in c? 3 Explain Software Development Life Cycle with one case study? SECTION-II 4 a) Define Recursion? Write a c program to find GCD of two numbers using recursion? b) Write the difference between call by value and call by reference? 5 Explain different storage classes in cwith example? SECTION-III 6 a) Explain different Types of Qualifiers in C? b )Write a c program to multiply two matrices using two dimensional arrays? 7 Explain different type of string handling functions with example SECTION-IV 8 Explain the following
14 i)malloc() ii)calloc() iii)realloc() iv)free() 9 Define pointer to pointer? Explain pointer arithmetic with neat examples? SECTION-V 10.a) What is a structure? Give its advantage b )Write a structure for the College data. College contains the following fields: a. College code (2characters), b. College Name, c. year of establishment, Number of courses and courses. A College can offer 1 to 50 courses. Each course is associated with course name (String), duration, number of students. The number of students in the college is sum of number of students in all the courses in the college. 11. What are file Streams?Discuss about fopen(),ftell(),fseeek(),fscanf(),fread(),fwrite() *****WISH U ALL THE BEST*****
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 information10CS35: 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 informationI 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 informationSECTION 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 informationKITES 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 informationB.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 informationPES 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 informationC++ 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 informationThe 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 informationChapter 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 informationChapter 2: Elements of Java
Chapter 2: Elements of Java Basic components of a Java program Primitive data types Arithmetic expressions Type casting. The String type (introduction) Basic I/O statements Importing packages. 1 Introduction
More informationSources: 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 informationGUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT COURSE CURRICULUM. Course Title: Advanced Computer Programming (Code: 3320702)
GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT COURSE CURRICULUM Course Title: Advanced Computer Programming (Code: 3320702) Diploma Programmes in which this course is offered Computer Engineering,
More informationBangalore 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 informationALLIED 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 informationDEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC6504 - Microprocessor & Microcontroller Year/Sem : II/IV UNIT I THE 8086 MICROPROCESSOR 1. What is the purpose of segment registers
More informationC 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 informationEmbedded C Programming, Linux, and Vxworks. Synopsis
Embedded C Programming, Linux, and Vxworks. Synopsis This course is extensive and contains many advanced concepts. The range of modules covers a full introduction to C, real-time and embedded systems concepts
More informationProgramming in C# with Microsoft Visual Studio 2010
Course 10266A: Programming in C# with Microsoft Visual Studio 2010 Course Details Course Outline Module 1: Introducing C# and the.net Framework This module explains the.net Framework, and using C# and
More informationData Structure [Question Bank]
Unit I (Analysis of Algorithms) 1. What are algorithms and how they are useful? 2. Describe the factor on best algorithms depends on? 3. Differentiate: Correct & Incorrect Algorithms? 4. Write short note:
More informationStacks. Linear data structures
Stacks Linear data structures Collection of components that can be arranged as a straight line Data structure grows or shrinks as we add or remove objects ADTs provide an abstract layer for various operations
More informationSyllabus for Computer Science. Proposed scheme for B.Sc Programme under Choice Based Credit System
Syllabus for Computer Science Proposed scheme for B.Sc Programme under Choice Based Credit System SEMESTER - I Code Course Title Course Type HPW Credits BS106 SEMESTER -I I BS 206 SEMESTER -III BS 301
More informationCSE373: Data Structures and Algorithms Lecture 3: Math Review; Algorithm Analysis. Linda Shapiro Winter 2015
CSE373: Data Structures and Algorithms Lecture 3: Math Review; Algorithm Analysis Linda Shapiro Today Registration should be done. Homework 1 due 11:59 pm next Wednesday, January 14 Review math essential
More information9 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 informationASCII Encoding. The char Type. Manipulating Characters. Manipulating Characters
The char Type ASCII Encoding The C char type stores small integers. It is usually 8 bits. char variables guaranteed to be able to hold integers 0.. +127. char variables mostly used to store characters
More informationEl 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 informationMultichoice Quetions 1. Atributes a. are listed in the second part of the class box b. its time is preceded by a colon. c. its default value is
Multichoice Quetions 1. Atributes a. are listed in the second part of the class box b. its time is preceded by a colon. c. its default value is preceded by an equal sign d. its name has undereline 2. Associations
More informationIllustration 1: Diagram of program function and data flow
The contract called for creation of a random access database of plumbing shops within the near perimeter of FIU Engineering school. The database features a rating number from 1-10 to offer a guideline
More informationBSc (Hons) Business Information Systems, BSc (Hons) Computer Science with Network Security. & BSc. (Hons.) Software Engineering
BSc (Hons) Business Information Systems, BSc (Hons) Computer Science with Network Security & BSc. (Hons.) Software Engineering Cohort: BIS/05/FT BCNS/05/FT BSE/05/FT Examinations for 2005-2006 / Semester
More informationLecture 11 Doubly Linked Lists & Array of Linked Lists. Doubly Linked Lists
Lecture 11 Doubly Linked Lists & Array of Linked Lists In this lecture Doubly linked lists Array of Linked Lists Creating an Array of Linked Lists Representing a Sparse Matrix Defining a Node for a Sparse
More informationUnit 1. 5. Write iterative and recursive C functions to find the greatest common divisor of two integers. [6]
Unit 1 1. Write the following statements in C : [4] Print the address of a float variable P. Declare and initialize an array to four characters a,b,c,d. 2. Declare a pointer to a function f which accepts
More informationMoving 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 informationBCS2B02: OOP Concepts and Data Structures Using C++
SECOND SEMESTER BCS2B02: OOP Concepts and Data Structures Using C++ Course Number: 10 Contact Hours per Week: 4 (2T + 2P) Number of Credits: 2 Number of Contact Hours: 30 Hrs. Course Evaluation: Internal
More informationWESTMORELAND COUNTY PUBLIC SCHOOLS 2011 2012 Integrated Instructional Pacing Guide and Checklist Computer Math
Textbook Correlation WESTMORELAND COUNTY PUBLIC SCHOOLS 2011 2012 Integrated Instructional Pacing Guide and Checklist Computer Math Following Directions Unit FIRST QUARTER AND SECOND QUARTER Logic Unit
More informationCOMPUTER SCIENCE. Paper 1 (THEORY)
COMPUTER SCIENCE Paper 1 (THEORY) (Three hours) Maximum Marks: 70 (Candidates are allowed additional 15 minutes for only reading the paper. They must NOT start writing during this time) -----------------------------------------------------------------------------------------------------------------------
More informationChapter 7: Additional Topics
Chapter 7: Additional Topics In this chapter we ll briefly cover selected advanced topics in fortran programming. All the topics come in handy to add extra functionality to programs, but the feature you
More information8051 MICROCONTROLLER COURSE
8051 MICROCONTROLLER COURSE Objective: 1. Familiarization with different types of Microcontroller 2. To know 8051 microcontroller in detail 3. Programming and Interfacing 8051 microcontroller Prerequisites:
More informationPROGRAMMING 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 informationOracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: +966 12 739 894 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training is designed to
More informationC++ 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 information1 Abstract Data Types Information Hiding
1 1 Abstract Data Types Information Hiding 1.1 Data Types Data types are an integral part of every programming language. ANSI-C has int, double and char to name just a few. Programmers are rarely content
More informationHow To Port A Program To Dynamic C (C) (C-Based) (Program) (For A Non Portable Program) (Un Portable) (Permanent) (Non Portable) C-Based (Programs) (Powerpoint)
TN203 Porting a Program to Dynamic C Introduction Dynamic C has a number of improvements and differences compared to many other C compiler systems. This application note gives instructions and suggestions
More informationC Interview Questions
http://techpreparation.com C Interview Questions And Answers 2008 V i s i t T e c h P r e p a r a t i o n. c o m f o r m o r e i n t e r v i e w q u e s t i o n s a n d a n s w e r s C Interview Questions
More informationCurriculum Map. Discipline: Computer Science Course: C++
Curriculum Map Discipline: Computer Science Course: C++ August/September: How can computer programs make problem solving easier and more efficient? In what order does a computer execute the lines of code
More informationCourse Title: Software Development
Course Title: Software Development Unit: Customer Service Content Standard(s) and Depth of 1. Analyze customer software needs and system requirements to design an information technology-based project plan.
More information5 Arrays and Pointers
5 Arrays and Pointers 5.1 One-dimensional arrays Arrays offer a convenient way to store and access blocks of data. Think of arrays as a sequential list that offers indexed access. For example, a list of
More informationFunctions Recursion. C++ functions. Declare/prototype. Define. Call. int myfunction (int ); int myfunction (int x){ int y = x*x; return y; }
Functions Recursion C++ functions Declare/prototype int myfunction (int ); Define int myfunction (int x){ int y = x*x; return y; Call int a; a = myfunction (7); function call flow types type of function
More informationKeywords 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 informationADVANCED SCHOOL OF SYSTEMS AND DATA STUDIES (ASSDAS) PROGRAM: CTech in Computer Science
ADVANCED SCHOOL OF SYSTEMS AND DATA STUDIES (ASSDAS) PROGRAM: CTech in Computer Science Program Schedule CTech Computer Science Credits CS101 Computer Science I 3 MATH100 Foundations of Mathematics and
More informationDATA STRUCTURES USING C
DATA STRUCTURES USING C QUESTION BANK UNIT I 1. Define data. 2. Define Entity. 3. Define information. 4. Define Array. 5. Define data structure. 6. Give any two applications of data structures. 7. Give
More informationScoping (Readings 7.1,7.4,7.6) Parameter passing methods (7.5) Building symbol tables (7.6)
Semantic Analysis Scoping (Readings 7.1,7.4,7.6) Static Dynamic Parameter passing methods (7.5) Building symbol tables (7.6) How to use them to find multiply-declared and undeclared variables Type checking
More informationPROBLEM SOLVING SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON
PROBLEM SOLVING WITH SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON Addison Wesley Boston San Francisco New York London
More informationML for the Working Programmer
ML for the Working Programmer 2nd edition Lawrence C. Paulson University of Cambridge CAMBRIDGE UNIVERSITY PRESS CONTENTS Preface to the Second Edition Preface xiii xv 1 Standard ML 1 Functional Programming
More informationCourse Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies)
Course Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies) Duration of Course: 6 Months Fees: Rs. 25,000/- (including Service Tax) Eligibility: B.E./B.Tech., M.Sc.(IT/ computer
More informationOracle SQL. Course Summary. Duration. Objectives
Oracle SQL Course Summary Identify the major structural components of the Oracle Database 11g Create reports of aggregated data Write SELECT statements that include queries Retrieve row and column data
More informationMISRA-C:2012 Standards Model Summary for C / C++
MISRA-C:2012 Standards Model Summary for C / C++ The LDRA tool suite is developed and certified to BS EN ISO 9001:2000. This information is applicable to version 9.4.2 of the LDRA tool suite. It is correct
More informationChapter 5 Names, Bindings, Type Checking, and Scopes
Chapter 5 Names, Bindings, Type Checking, and Scopes Chapter 5 Topics Introduction Names Variables The Concept of Binding Type Checking Strong Typing Scope Scope and Lifetime Referencing Environments Named
More informationSubject Name: Object Oriented Programming in C++ Subject Code: 2140705
Faculties: L.J. Institute of Engineering & Technology Semester: IV (2016) Subject Name: Object Oriented Programming in C++ Subject Code: 21405 Sr No UNIT - 1 : CONCEPTS OF OOCP Topics -Introduction OOCP,
More information3 length + 23 size = 2
This pledged exam is closed textbook, open class web site, and two pieces of paper with notes. You may not access any other code or websites including your own. Write your email id and name on every page
More informationOracle Database: SQL and PL/SQL Fundamentals
Oracle University Contact Us: 1.800.529.0165 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This course is designed to deliver the fundamentals of SQL and PL/SQL along
More informationA binary search tree or BST is a binary tree that is either empty or in which the data element of each node has a key, and:
Binary Search Trees 1 The general binary tree shown in the previous chapter is not terribly useful in practice. The chief use of binary trees is for providing rapid access to data (indexing, if you will)
More informationObject Oriented Software Design
Object Oriented Software Design Introduction to Java - II Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa October 28, 2010 G. Lipari (Scuola Superiore Sant Anna) Introduction
More informationName: 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 informationAQA GCSE in Computer Science Computer Science Microsoft IT Academy Mapping
AQA GCSE in Computer Science Computer Science Microsoft IT Academy Mapping 3.1.1 Constants, variables and data types Understand what is mean by terms data and information Be able to describe the difference
More information1. Define: (a) Variable, (b) Constant, (c) Type, (d) Enumerated Type, (e) Identifier.
Study Group 1 Variables and Types 1. Define: (a) Variable, (b) Constant, (c) Type, (d) Enumerated Type, (e) Identifier. 2. What does the byte 00100110 represent? 3. What is the purpose of the declarations
More informationMAX = 5 Current = 0 'This will declare an array with 5 elements. Inserting a Value onto the Stack (Push) -----------------------------------------
=============================================================================================================================== DATA STRUCTURE PSEUDO-CODE EXAMPLES (c) Mubashir N. Mir - www.mubashirnabi.com
More informationEmbedded 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 informationCalculator. Introduction. Requirements. Design. The calculator control system. F. Wagner August 2009
F. Wagner August 2009 Calculator Introduction This case study is an introduction to making a specification with StateWORKS Studio that will be executed by an RTDB based application. The calculator known
More informationObject Oriented Software Design
Object Oriented Software Design Introduction to Java - II Giuseppe Lipari http://retis.sssup.it/~lipari Scuola Superiore Sant Anna Pisa September 14, 2011 G. Lipari (Scuola Superiore Sant Anna) Introduction
More informationObject Oriented Programming With C++(10CS36) Question Bank. UNIT 1: Introduction to C++
Question Bank UNIT 1: Introduction to C++ 1. What is Procedure-oriented Programming System? Dec 2005 2. What is Object-oriented Programming System? June 2006 3. Explain the console I/O functions supported
More informationSymbol Tables. Introduction
Symbol Tables Introduction A compiler needs to collect and use information about the names appearing in the source program. This information is entered into a data structure called a symbol table. The
More informationAP Computer Science Java Mr. Clausen Program 9A, 9B
AP Computer Science Java Mr. Clausen Program 9A, 9B PROGRAM 9A I m_sort_of_searching (20 points now, 60 points when all parts are finished) The purpose of this project is to set up a program that will
More informationPGR Computing Programming Skills
PGR Computing Programming Skills Dr. I. Hawke 2008 1 Introduction The purpose of computing is to do something faster, more efficiently and more reliably than you could as a human do it. One obvious point
More informationJava Application Developer Certificate Program Competencies
Java Application Developer Certificate Program Competencies After completing the following units, you will be able to: Basic Programming Logic Explain the steps involved in the program development cycle
More information1) The postfix expression for the infix expression A+B*(C+D)/F+D*E is ABCD+*F/DE*++
Answer the following 1) The postfix expression for the infix expression A+B*(C+D)/F+D*E is ABCD+*F/DE*++ 2) Which data structure is needed to convert infix notations to postfix notations? Stack 3) The
More informationTwo-way selection. Branching and Looping
Control Structures: are those statements that decide the order in which individual statements or instructions of a program are executed or evaluated. Control Structures are broadly classified into: 1.
More informationOracle Database: SQL and PL/SQL Fundamentals NEW
Oracle University Contact Us: + 38516306373 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the
More informationIntroduction to Python
Caltech/LEAD Summer 2012 Computer Science Lecture 2: July 10, 2012 Introduction to Python The Python shell Outline Python as a calculator Arithmetic expressions Operator precedence Variables and assignment
More informationModule 2 Stacks and Queues: Abstract Data Types
Module 2 Stacks and Queues: Abstract Data Types A stack is one of the most important and useful non-primitive linear data structure in computer science. It is an ordered collection of items into which
More information1. Relational database accesses data in a sequential form. (Figures 7.1, 7.2)
Chapter 7 Data Structures for Computer Graphics (This chapter was written for programmers - option in lecture course) Any computer model of an Object must comprise three different types of entities: 1.
More information1 Classical Universal Computer 3
Chapter 6: Machine Language and Assembler Christian Jacob 1 Classical Universal Computer 3 1.1 Von Neumann Architecture 3 1.2 CPU and RAM 5 1.3 Arithmetic Logical Unit (ALU) 6 1.4 Arithmetic Logical Unit
More informationDEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING LESSON PLAN
ERODE SENGUNTHAR ENGINEERING COLLEGE (Approved by AICTE, New Delhi, Permanently Affiliated to Anna University - Chennai & Accredited by NAAC & National Board of Accreditation (NBA), New Delhi, Accredited
More informationASSEMBLY PROGRAMMING ON A VIRTUAL COMPUTER
ASSEMBLY PROGRAMMING ON A VIRTUAL COMPUTER Pierre A. von Kaenel Mathematics and Computer Science Department Skidmore College Saratoga Springs, NY 12866 (518) 580-5292 pvonk@skidmore.edu ABSTRACT This paper
More informationWe will learn the Python programming language. Why? Because it is easy to learn and many people write programs in Python so we can share.
LING115 Lecture Note Session #4 Python (1) 1. Introduction As we have seen in previous sessions, we can use Linux shell commands to do simple text processing. We now know, for example, how to count words.
More informationCOWLEY COLLEGE & Area Vocational Technical School
COWLEY COLLEGE & Area Vocational Technical School COURSE PROCEDURE FOR COBOL PROGRAMMING CIS1866 3 Credit Hours Student Level: This course is open to students on the college level in either Freshman or
More informationThomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation
Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science updated 03/08/2012 Unit 1: JKarel 8 weeks http://www.fcps.edu/is/pos/documents/hs/compsci.htm
More informationDuration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff
D80198GC10 Oracle Database 12c SQL and Fundamentals Summary Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff Level Professional Delivery Method Instructor-led
More informationCourse Objectives Course Requirements Methods of Grading S/N Type of Grading Score (%) Course Delivery Strategies Practical Schedule LECTURE CONTENT
Course: CSC 112 Introduction to Computer Science II (3 credits - Compulsory) Course Duration: Three hours per week for 15weeks (30h (T) and 45h (P)), as taught in 2011/2012 academic session. Lecturers:
More informationTopics. Introduction. Java History CS 146. Introduction to Programming and Algorithms Module 1. Module Objectives
Introduction to Programming and Algorithms Module 1 CS 146 Sam Houston State University Dr. Tim McGuire Module Objectives To understand: the necessity of programming, differences between hardware and software,
More informationInstruction Set Architecture (ISA)
Instruction Set Architecture (ISA) * Instruction set architecture of a machine fills the semantic gap between the user and the machine. * ISA serves as the starting point for the design of a new machine
More informationPseudo code Tutorial and Exercises Teacher s Version
Pseudo code Tutorial and Exercises Teacher s Version Pseudo-code is an informal way to express the design of a computer program or an algorithm in 1.45. The aim is to get the idea quickly and also easy
More informationSimple C++ Programs. Engineering Problem Solving with C++, Etter/Ingber. Dev-C++ Dev-C++ Windows Friendly Exit. The C++ Programming Language
Simple C++ Programs Engineering Problem Solving with C++, Etter/Ingber Chapter 2 Simple C++ Programs Program Structure Constants and Variables C++ Operators Standard Input and Output Basic Functions from
More informationFigure 1: Graphical example of a mergesort 1.
CSE 30321 Computer Architecture I Fall 2011 Lab 02: Procedure Calls in MIPS Assembly Programming and Performance Total Points: 100 points due to its complexity, this lab will weight more heavily in your
More informationPROG0101 Fundamentals of Programming PROG0101 FUNDAMENTALS OF PROGRAMMING. Chapter 3 Algorithms
PROG0101 FUNDAMENTALS OF PROGRAMMING Chapter 3 1 Introduction to A sequence of instructions. A procedure or formula for solving a problem. It was created mathematician, Mohammed ibn-musa al-khwarizmi.
More informationComputer Programming I
Computer Programming I COP 2210 Syllabus Spring Semester 2012 Instructor: Greg Shaw Office: ECS 313 (Engineering and Computer Science Bldg) Office Hours: Tuesday: 2:50 4:50, 7:45 8:30 Thursday: 2:50 4:50,
More informationTutorial on C Language Programming
Tutorial on C Language Programming Teodor Rus rus@cs.uiowa.edu The University of Iowa, Department of Computer Science Introduction to System Software p.1/64 Tutorial on C programming C program structure:
More informationAn Introduction to Assembly Programming with the ARM 32-bit Processor Family
An Introduction to Assembly Programming with the ARM 32-bit Processor Family G. Agosta Politecnico di Milano December 3, 2011 Contents 1 Introduction 1 1.1 Prerequisites............................. 2
More informationPRI-(BASIC2) Preliminary Reference Information Mod date 3. Jun. 2015
PRI-(BASIC2) Table of content Introduction...2 New Comment...2 Long variable...2 Function definition...3 Function declaration...3 Function return value...3 Keyword return inside functions...4 Function
More informationA single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc
Other architectures Example. Accumulator-based machines A single register, called the accumulator, stores the operand before the operation, and stores the result after the operation. Load x # into acc
More information