# PROGRAMMING IN C AND C++:

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 PROGRAMMING IN C AND C++: Week 1 1. Introductions 2. Using Dos commands, make a directory: C:\users\YearOfJoining\Sectionx\USERNAME\CS Getting started with Visual C Write a program to print a message Hello World Week 2 (Basic Techniques) 1. Write a program to print a message Hello World 2. Write a program to swap the contents of two variables. 3. Write a program to find the sum, difference, product, quotient and remainder of two input numbers. 1. Define identifier, variable, constant, keywords. 2. List few Keywords. 3. How do you declare a variable? 4. Write the syntax of printf() and scanf() functions. Week 3 (Arithmetic Operators) 1. Write a program to compute the area and circumference of a circle given its radius through keyboard.

2 2. Temperature of a city is input through the keyboard. Write a program to convert the temperature given in Fahrenheit degrees to Centigrade degrees. C = (5/9) x (F-32) 3. Given Principal Amount, Number of years and Interest rate, Calculate Simple interest and Compound interest. S.I = P * N * R / 100 C.I = P(1+(R/100)) n 4. Write a program to calculate the area and perimeter of a triangle given the length of three sides. (Area = square root of (s(s-a)(s-b)(s-c)), where s=(a+b+c)/2 and Perimeter = (a+b+c)) 5. If an integer number is input through the keyboard, write a program to extract its unit s digit. 6. Ramesh s basic salary is input through the keyboard. His dearness allowance is 40% of basic salary; house rent allowance is 20 % of basic salary. Write a program to calculate his gross salary. 7. Given a four digit number, write a program to print the number in reverse. 1. What are the different operators available in C? 2. What do you understand from unary and binary operators? 3. List any 5 mathematical functions available in C. Week 4 (Control Structures-if/else) 1. Any integer is input through the keyboard. Write a program to find out whether it is an odd or even number. 2. Write code for the flowchart given below. Assume that the variables x and y are integers and z is a float.

3 X > 0 X > 0 Y = X - 1 Y > 0 Z = 2 * X Z = Y Z = X Y = X + 1 Z = Z + 1 Print X, Y, Z 3. Given 3 integer numbers, write a program to find the greatest, smallest of them. (use if/else) 4. Write a program to find the greatest and smallest of three given numbers using conditional operator. 5. Write a program to find the given integer number is perfect square or not. 6. Write a program to compute the real roots of a quadratic equation ax²+bx+c=0 The roots are given by the equations X1 = -b + b²-4ac 2a X2 = -b - b²-4ac 2a The program should request for the values of the constants a,b and c and print the values of x1 and x2. Use the following rules: (a) No solution, if both a and b are zero

4 (b) There is only one root, if a=0(x=-c/b) (c) There are no real roots, if b2-4ac is negative (d) Otherwise there are two real roots (b²-4ac >= 0) Test your program with appropriate data so that all logical paths are working as per your design. Incorporate appropriate output messages. 7. Write a program to display whether the year is leap year or not. Given the year by the user.(we say that a year is a leap year if it is evenly divisible by 400 or if it is evenly divisible by 4 but not by 100). 1. What are the different control structures in C? 2. Explain the syntax of if statement. 3. Write the syntax of conditional operator. Week 5 (Switch, Looping techniques) 1. Write a program to accept a month number and display no. of days in the month Using switch. 2. Using switch statement, write a program to simulate a simple calculator which is used to carry basic operations like addition, subtraction, multiplication and division. The input will be given in infix form. i.e operand1 operator operand2. (eg: 4 + 5, 10-4, 12 * 4, 3 / 5) 3. Write a program to print the multiplication table of a number entered by the user. The table should be displayed in the following form: 14 x 1 = x 2 = *10= Write a program to find if the number given is a prime or not.

5 5.If a number is input through the keyboard, write a program to check if the given is palindrome or not. A number is said to be palindrome, if it and its reverse are the same. For example is a palindrome, as it is same when it is read from right to left as well as from left to right. 6.Write a program to print the following patterns 1 * * * * * 2 2 * * * * * * * * * * 1. Write the syntax of switch statement? 2. Explain the working of switch statement. 3. What is the use of break? 4. Explain the logical operators. 5. Explain the syntax of for, while, do while statements. Week 6 (Looping techniques: for, while, do-while) 1. Write a program to find whether a number is an Armstrong number or not. A number is said to be Armstrong number if the sum of the cubes of the digits of the number is equal to the number itself, eg. 153 = 1^3 + 5^3 + 3^3 = Write a program to convert a binary number to decimal number. 3. Write a program to convert a decimal number to binary number. 4. Write a program to print Fibonacci series up to n terms. 5. Write a program to print sinx values using series expansion given number of terms(n) and the angle in degrees(x)(verify the series expansion value with the library function sin(x) value). In the given series we observe that 1 st term=x, 2 nd term=-x³/3! Can be written as (-x²*x)/3! i.e.,(-x²*1 st term)/2*(2+1)...(n+1)th term can be written as (-x²*nth term)/2n(2n+1)

6 6. Write a program to print Cosx values using series expansion given number of terms(n) and the angle in degrees(x)(verify the series expansion value with the library function cos(x) value). In the given series we observe that 1 st term=1, 2 nd term=-x²/2! Can be written as (-x²*1)/2! i.e.,(-x²*1 st term)/2*(2-1)...(n+1)th term can be written as (-x²*nth term)/2n(2n-1) 7. Write a program to count the occurrence of characters and special characters like \n, \t, white spaces in the given text input. 1. Write the syntax of for, do-while and while and explain the working of each one. 2. What is iteration? 3. What do you mean by looping? 4. What is the difference between break and continue? 5. What is the need of continue? Week 7 (Functions) 1. Write a program that reads three integers and then prints them in order read and reversed. Use three functions, one to read the data, one to print them in the order read and one to print them in the reverse order. (void functions and no arguments)

7 Write a program to find if the number given is a prime or not. 2. Write a program that creates the following pattern, given the height (no. of rows): If height = 6: * *** ***** ******* ********* *********** (Void function with argument) 3. Write two functions a. To count the number of digits in a given integer and returns the count to the main function. (eg: The integer 376 has 3 digits) b. Write a function to find the sum of all the digits in a given integer and return the sum to the main function. eg:(376 = = 16) (function returning a value and taking argument) 4. Write a program to calculate npr = n! / (n-r)! Use factorial function to calculate n! and (n-r)! 1. What is a function? What is the use of function? Give its syntax. 2. What are the different types of functions? 3. List few header files. 4. What is function prototype? 5. What are the different parameter passing techniques? 6. What is the difference between library function & user defined function?

8 Week 8 (Functions: Recursion) 1. Write a recursive function to find the factorial of a given number. 2. Write a recursive function to print the given Fibonacci term. (Eg: 3 rd term is 2, 5 th term = 3, 8 th term = 21) 3. Write a recursive function to count the number of digits in a given integer. 4. Write a recursive function to find the sum of digits in a given integer. 5. Write a recursive function to find the GCD/HCF of 2 given integers. 6. Write a program to demonstrate different storage classes. (auto, register, static, global, local) 1. List all the storage classes. 2. Difference between local variable and global variable. 3. Difference between static and auto variable. 4. What is recursive function? 5. What is the difference between recursion and iteration? Week 9 (Arrays) 1. Given n integers, write a program to accept the numbers into array, i. Print the numbers in the given order. ii. Print them in the reverse order. iii. Find their sum and average of all the elements and display them. iv. Print the largest element in the array. v. Print the smallest element in the array. 2. Write a program to sort n numbers in an array in ascending order using Selection sort algorithm. 3. Write a program to sort n numbers in an array in ascending order using Bubble sort algorithm.

9 4. Write a program to search a given element in a given list of integer elements using Linear Search algorithm. 1. What is an array? Declare an array of 20 float values. 2. Declare and initialise all the elements in an integer array to zeros. 3. Explain Selection sort and Bubble sort algorithms. 4. Explain Linear Search algorithm. Week 10 (Arrays) 1. Write a program to search a given element in a given list of integer elements using Binary Search algorithm. 2. Write a program to read in a given matrix and to print out the same. 3. Using functions write a program to (i) to read (ii) write (iii) add (iv) multiply two given matrices. 1. Explain Binary Search algorithm. 2. How do you pass an array to function? 3. How do you store a matrix of order 3 x 4? 4. How do you declare a string to store 30 characters? 5. What is a multi-dimensional array? Declare a 3-d array. 6. How many elements are there in array arr: int arr [2] [3] [4]; 7. In an array of n integers, Array index starts with and ends with.

10 Week 11 (String Manipulations) 1. Write a program to find the length of a given string (Do not use strlen function) 2. Write a program to copy the contents of a given string into another string (Do not use strcpy function) 3. Write a program to reverse a given string and check whether a given string is a palindrome. Week 12 (Pointers) 1. Using function and pointers write a program to swap two integer variables. 2. Using function and pointers write a program to find the sum of all the elements of an array. 3. Using Functions and Pointers, write a program to (i) to read (ii) write (iii) add (iv) multiply two given matrices. 1. What is a pointer? 2. What are pointer operators? 3. What are the arithmetic operations that are allowed and not allowed on pointer variables? 4. What is the relationship between a 1D-array & a pointer? 5. What is the relationship between a 2D-array & a pointer? 6. Using pointer notation how is the element a[3][4] in int a[5][5] accessed?

11 Week 13 (Structures) 1. Write a program to generate address labels using structures. 2. A complex number is of the form a+ib, where a is the real part and b is the imaginary part. Define a structure with real part and imaginary part of a complex no as its member data. Write a program to perform the following operations over two complex numbers. a. Addition b. Subtraction 1. What is a structure? Give the syntax. 2. What is the difference between an array & a structure? 3. What is the difference between a structure & a union? 4. Declare a structure for i) rational number ii) employee record. 5. How do you pass a structure to a function? Week 14(File operations) 1. Write a program to i. Create a file with student details ii. Read and Display its contents. 2. Write a program to i. Create a text file ii. Copy the created file into another file. iii. Compare the contents of both the files. 1. What are the different file operations in C? 2. Explain the syntax of fopen, fprintf, fscanf functions. 3. What are command line arguments? 4. What are pre-processor commands?

13 WEEK-16(CLASSES): 1. Write a program to create a student class to store the details of the student (Name, Roll no, Marks in 5 subjects) Data members: (a) Name (b) Roll no (c) Marks in 5 subjects Member functions: (a) To enter the information. (b) To display the information. (c) To calculate the total marks obtained by the student and display it. (d) To calculate the percentage and display it. (e) Destructor. 2. Write a program to implement a matrix class to store the elements of a matrix and to add and multiply the matrices. Data members: (a) Rows. (b) Columns. (c) A 2D matrix. Member functions: (a) To read matrix. (b) To print the matrix. (c) To add two matrices and return the sum as an object. (d) To multiply the matrices and return the product as an object. Week 17 Class Bank Account - Demonstrates the use of static data member.

14 Create a class BankAccount with 1) account number, name, balance as data members. 2) Use a static data member interestrate to store the interest rate for each saver. 3) Provide the following member functions: 1. Constructor that initializes the data members. 2. Showbalance that displays the current balance of the saver. 3. Deposit function to deposit the amount entered by the user and update the balance. 4. Withdraw function to withdraw the amount entered by the user and update the balance. 5. Interest function to calculate the interest. (InterestAmount = balance * interestrate) 6. Modify intrest rate function to modify the interestrate. Instantiate two different objects (Ramu and Ravi) of class BankAccount with balances of Rs.3000 and Rs.5000 respectively. Initialize the interest rate to 8 percent. Then calculate monthly interest and print the new balances for each saver. Now modify the interest rate to 9 percent, calculate the monthly interest again and print the new balances for each saver. 1. What is a static data member? How is it different from a normal data member? Week 18(operator overloading): 1. Implement a complex class with the following: Member functions: (a) Constructor to initialize the real and imaginary parts of the complex number. (b) Display the complex number. (c) Overload operator +

15 Extra credit: (d) Using friend function Overload operator Using friend function overload operator << 1. What is a friend? 2. What are the advantages of friend function? 3. What is operator overloading? 4. What are the operators that cannot be overloaded? 5. Can operator overloading be implemented using friend function? 6. What is this pointer? 7. What is dynamic binding? 8. What are new and delete operators? WEEK-19(INHERITANCE AND FUNCTION TEMPLATE): 1. Implement the shape hierarchy based on the figure. Shape Rectangle Triangle Cuboid 2. Write a program to find the maximum and minimum numbers in a given list of 3 numbers using template function.

16 Viva Questions 1. What is polymorphism? 2. What is an abstract class? 3. What is a virtual function? 4. What is a pure virtual function? 5. Can a constructor be virtual? Can a destructor be virtual? 6. What is a function template? Give the syntax. 7. What is a class template? Give the syntax. 8. What is dynamic binding? 3. Write a program to count the number of words in the given text.

### Subject: Computer Science

Subject: Computer Science Topic: Data Types, Variables & Operators 1 Write a program to print HELLO WORLD on screen. 2 Write a program to display output using a single cout statement. 3 Write a program

### VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR 603 203 FIRST SEMESTER B.E / B.Tech., (Common to all Branches) QUESTION BANK - GE 6151 COMPUTER PROGRAMMING UNIT I - INTRODUCTION Generation and

### VARIABLE, OPERATOR AND EXPRESSION [SET 1]

VARIABLE, OPERATOR AND EXPRESSION Question 1 Write a program to print HELLO WORLD on screen. Write a program to display the following output using a single cout statement. Subject Marks Mathematics 90

### VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 603 203 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK B.E. - Electrical and Electronics Engineering IV SEMESTER CS6456 - OBJECT ORIENTED

### CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE

CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE PART A UNIT I 1. Differentiate object oriented programming from procedure oriented programming. 2. Define abstraction and encapsulation. 3. Differentiate

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

UNIT I - INTRODUCTION Generation and Classification of Computers- Basic Organization of a Computer Number System Binary Decimal Conversion Problems. Need for logical analysis and thinking Algorithm Pseudo

### END TERM EXAMINATION

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

CLASS 11 COMPUTER SCIENCE (83) PRACTICAL LIST 1. Write a C++ Program to find area & circumference of circle. 2. Write a C++ Program to display ASCII character & vice versa. 3. Write a C++ Program to find

### Tribhuvan University Institute of Science and Technology 2065

1CSc.102-2065 2065 Candidates are required to give their answers in their own words as for as practicable. 1. Draw the flow chart for finding largest of three numbers and write an algorithm and explain

### Scheme G. Sample Test Paper-I. Course Name : Computer Engineering Group Course Code : CO/CD/CM/CW/IF Semester : Second Subject Tile : Programming in C

Sample Test Paper-I Marks : 25 Time:1 Hrs. Q1. Attempt any THREE 09 Marks a) State four relational operators with meaning. b) State the use of break statement. c) What is constant? Give any two examples.

### VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK Degree & Branch : B.E E.C.E. Year & Semester : II / IV Section : ECE 1, 2 &

### Babaria Institute of Technology Computer Science and Engineering Department Practical List of Object Oriented Programming with C

Practical -1 Babaria Institute of Technology LEARN CONCEPTS OF OOP 1. Explain Object Oriented Paradigm with figure. 2. Explain basic Concepts of OOP with example a. Class b. Object c. Data Encapsulation

### Computer Programming C++ (wg) CCOs

Computer Programming C++ (wg) CCOs I. The student will analyze the different systems, and languages of the computer. (SM 1.4, 3.1, 3.4, 3.6) II. The student will write, compile, link and run a simple C++

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

wss Reg. No. : Question Paper Code : 37007 B.E./B.Tech. DEGREE EXAMINATION, JANUARY 2014. First Semester Civil Engineering GE 6151 COMPUTER PROGRAMMING (Common to all branches) (Regulation 2013) Time :

### C PROGRAMMING LAB MANUAL

C PROGRAMMING LAB MANUAL For BEX/BCT/B.Sc.CSIT/BIM/BCA BY BABU RAM DAWADI RAM DATTA BHATTA 448/ From the Book: Capsules of C Programming Appendix - B C PROGRAMMING LAB SHEETS Dear Students, Welcome to

### PROGRAMS. EXCELLENT ACADEMY OF ENGINEERING. Telephone: / NORMAL PROGRAM

PROGRAMS NORMAL PROGRAM 1. Wap to display months in words where month in number is input. 2. Wap to print Fibonacci series till n elements. 3. Wap to reverse 4 digit numbers. 4. Wap to accept a number

### List of Practical for Class XII Computer Science

List of Practical for Class XII Computer Science P.01. Write a complete C++ program to define class Garment with following description: Private members: Code - type string Type - type string Size - type

### Florida Math 0018 Correlation of the ALEKS course Florida Math 0018 to the Florida Mathematics Competencies - Lower

Florida Math 0018 Correlation of the ALEKS course Florida Math 0018 to the Florida Mathematics Competencies - Lower Whole Numbers MDECL1: Perform operations on whole numbers (with applications, including

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

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

### LIST OF EXPERIMENTS. (1) (Office Automation)

LIST OF EXPERIMENTS (1) 310042 (Office Automation) 1 Computer Fundamentals 2 DOS Command 3 Execute DOS Command using examples. 4 Introduction to windows & familarity with controls. 5 Introduction of Ms-Office

### Object Oriented Programming with c++ Question Bank

Object Oriented Programming with c++ Question Bank UNIT-1: Introduction to C++ 1. Describe the following characteristics of OOP. i Encapsulation ii Polymorphism, iii Inheritance 2. Discuss function prototyping,

### Multiple Choice Questions ( 1 mark)

Multiple Choice Questions ( 1 mark) Unit-1 1. is a step by step approach to solve any problem.. a) Process b) Programming Language c) Algorithm d) Compiler 2. The process of walking through a program s

### Reg. No. : Question Paper Code : 27157

WK 3 Reg. No. : Question Paper Code : 27157 B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER 2015. Time : Three hours Second Semester Computer Science and Engineering CS 6202 PROGRAMMING AND DATA STRUCTURES

### Week 0. Net Salary =Earnings- deductions; Read the employee number, Basic Print employee Number, Earnings,Deductions and Net salary.

Week 0. 1. Write a C program that evaluate the following expressions. Assume suitable values for various variables and print the left hand side variable. a) D=ut+1/2 ut 2 b) B=a*e kt c) P=RT/v d) Val=ax

### ENGINEERING PROBLEM SOLVING WITH C++

ENGINEERING PROBLEM SOLVING WITH C++ Second Edition Delores M. Etter Electrical Engineering Department United States Naval Academy Jeanine A. Ingber Training Consultant Sandia National Laboratories Upper

### Math Content

2013-2014 Math Content PATHWAY TO ALGEBRA I Hundreds and Tens Tens and Ones Comparing Whole Numbers Adding and Subtracting 10 and 100 Ten More, Ten Less Adding with Tens and Ones Subtracting with Tens

### SAURASHTRA UNIVERSITY

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

### H192 Midterm 1 Review. Tom Zajdel

H192 Midterm 1 Review Tom Zajdel Declaring variables Need to specify a type when declaring a variable. Can declare multiple variables in one line. int x, y, z; float a, b, c; Can also initialize in same

### Time: 3 HOURS Maximum Marks: 100

ANNA UNIVERSITY:CHENNAI 600 025 M.E/M.Tech. DEGREE EXAMINATIONS, NOV./DEC. 2014 Regulations 2013 Third Semester B.E. Computer Science and Engineering CS6311: PROGRAMMING AND DATA STRUCTURES LABORATORY

### Name: Teacher: Form: LEARNER JOURNAL. Set: Mathematics. Module 2 END OF YEAR TARGET: GCSE TARGET:

Name: Teacher: Form: Set: LEARNER JOURNAL Mathematics Module 2 END OF YEAR TARGET: GCSE TARGET: MODULE 2 use a number line to represent negative numbers use inequalities with negative numbers compare and

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

Unit 1 Programming Language and Overview of C 1. State whether the following statements are true or false. a. Every line in a C program should end with a semicolon. b. In C language lowercase letters are

### OBJECT ORIENTED PROGRAMMING USING C++ CSCI Object Oriented Analysis and Design By Manali Torpe

OBJECT ORIENTED PROGRAMMING USING C++ CSCI 5448- Object Oriented Analysis and Design By Manali Torpe Fundamentals of OOP Class Object Encapsulation Abstraction Inheritance Polymorphism Reusability C++

### Hegarty Maths Clip Numbers List

Hegarty Maths Clip Numbers List Strand Topic Skill Number Arithmetic with positive integers Simple addition & its meaning 1 Number Arithmetic with positive integers Simple subtraction & its meaning 2 Number

### CHAPTER 1 Introduction to Computers and Programming CHAPTER 2 Introduction to C++ ( Hexadecimal 0xF4 and Octal literals 031) cout Object

CHAPTER 1 Introduction to Computers and Programming 1 1.1 Why Program? 1 1.2 Computer Systems: Hardware and Software 2 1.3 Programs and Programming Languages 8 1.4 What is a Program Made of? 14 1.5 Input,

### Year Nine Scheme of Work. Overview

Year Nine Scheme of Work Overview Unit Topic 1 Angles 2 Manipulating Algebra and Rules of Negatives 3 Place Value and Decimals 4 Sequences 5 Data 6 Fractions 7 Perimeter and Area of Polygons and Circles

### Arithmetic Sequence

Arithmetic Sequence 1) Write an arithmetic sequence with common difference 7 Write it s algebraic form Can 150 is a term of this sequence Can the difference between any two terms of this sequence be 75?

### Confidence Level Red Amber Green

Maths Topic Foundation/ 1 Place Value 2 Ordering Integers 3 Ordering Decimals 4 Reading Scales 5 Simple Mathematical Notation 6a Interpreting Real-Life Tables Time 6b Interpreting Real-Life Tables Timetables

CHAPTER 4 FUNCTIONS Dr. Shady Yehia Elmashad Outline 1. Introduction 2. Program Components in C++ 3. Math Library Functions 4. Functions 5. Function Definitions 6. Function Prototypes 7. Header Files 8.

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

Detailed Syllabus : Course Title: C Programming Full Marks: 60+20+20 Course no: CSC110 Pass Marks: 24+8+8 Nature of course: Theory + Lab Credit hours: 3 Course Description: This course covers the concepts

### Mathematics. Year 7. Autumn Term

Mathematics Year 7 Autumn Term Decimals o Use place value with decimals o Add and subtract, multiply and divide decimal numbers Basic Arithmetic o Multiply by a two or three digit number o Divide by a

### 5th Grade Mathematics Essential Standards

Standard 1 Number Sense (10-20% of ISTEP/Acuity) Students compute with whole numbers*, decimals, and fractions and understand the relationship among decimals, fractions, and percents. They understand the

### Lab ACN : C++ Programming Exercises

Lab ACN : C++ Programming Exercises ------------------------------------------------------------------------------------------------------------------- Exercise 1 Write a temperature conversion program

### VALLIAMMAI ENGINEERING COLLEGE

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 60 20 DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK B.E I SEMESTER GE85- Problem Solving and Python Programming Regulation 207 Academic

### Sample Paper of Computer for Class 10

General Instructions: Sample Paper of Computer for Class 10 1. Answers to this Paper must be written on the paper provided separately. 2. You will not be allowed to write during the first 15 minutes. 3.

### A Framework for Achieving the Essential Academic Learning. Requirements in Mathematics Grades 8-10 Glossary

A Framework for Achieving the Essential Academic Learning Requirements in Mathematics Grades 8-10 Glossary absolute value the numerical value of a number without regard to its sign; the distance of the

### Archdiocese of Washington Catholic Schools Academic Standards Mathematics

5 th GRADE Archdiocese of Washington Catholic Schools Standard 1 - Number Sense Students compute with whole numbers*, decimals, and fractions and understand the relationship among decimals, fractions,

### Chapter 3 Problem Solving and the Computer

Chapter 3 Problem Solving and the Computer An algorithm is a step-by-step operations that the CPU must execute in order to solve a problem, or to perform that task. A program is the specification of an

### 19 Much that I bound, I could not free; Much that I freed returned to me. Lee Wilson Dodd

19 Much that I bound, I could not free; Much that I freed returned to me. Lee Wilson Dodd Will you walk a little faster? said a whiting to a snail, There s a porpoise close behind us, and he s treading

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

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

### Number Sense and Operations Curriculum Framework Learning Standard

Grade 5 Expectations in Mathematics Learning Standards from the MA Mathematics Curriculum Framework for the end of Grade 6 are numbered and printed in bold. The Franklin Public School System s grade level

### MATH DICTIONARY. Number Sense. Number Families. Operations. Counting (Natural) Numbers The numbers we say when we count. Example: {0, 1, 2, 3, 4 }

Number Sense Number Families MATH DICTIONARY Counting (Natural) Numbers The numbers we say when we count Example: {1, 2, 3, 4 } Whole Numbers The counting numbers plus zero Example: {0, 1, 2, 3, 4 } Positive

### WARM UP LESSONS BARE BASICS

WARM UP LESSONS BARE BASICS CONTENTS Common primitive data types for variables... 2 About standard input / output... 2 More on standard output in C standard... 3 Practice Exercise... 6 About Math Expressions

### Number Pyramids Guidance These activities should be completed before beginning the rest of Module 1 (Not in place of it!).

Number Pyramids Guidance These activities should be completed before beginning the rest of Module 1 (Not in place of it!). Click here for Resources: Provide resource sheet per student Number Pyramids resource

### Key Vocabulary Index. Key Vocabulary Index

Key Vocabulary Index Mathematical terms are best understood when you see them used and defined in context. This index lists where you will find key vocabulary. A full glossary is available in your Record

### Mathematics LV 5 (with QuickTables)

Mathematics LV 5 (with QuickTables) This course covers the topics shown below. Students navigate learning paths based on their level of readiness. Institutional users may customize the scope and sequence

### LAB 1 Binary Numbers/ Introduction to C. Rajesh Rajamani. ME 4231 Department of Mechanical Engineering University Of Minnesota

LAB 1 Binary Numbers/ Introduction to C Rajesh Rajamani ME 431 Department of Mechanical Engineering University Of Minnesota OVERVIEW What is feedback control? Binary and Hexadecimal Numbers Working with

### CURRICULUM UNIT MAP 1 ST QUARTER

1 ST QUARTER Unit 1: Pre- Algebra Basics I WEEK 1-2 OBJECTIVES Apply properties for operations to positive rational numbers and integers Write products of like bases in exponential form Identify and use

### Mathematics 700 Unit Lesson Title Lesson Objectives 1 - INTEGERS Represent positive and negative values. Locate integers on the number line.

Mathematics 700 Unit Lesson Title Lesson Objectives 1 - INTEGERS Integers on the Number Line Comparing and Ordering Integers Absolute Value Adding Integers with the Same Sign Adding Integers with Different

### 6.096 Introduction to C++

MIT OpenCourseWare http://ocw.mit.edu 6.096 Introduction to C++ January (IAP) 2009 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. MASSACHUSETTS INSTITUTE

### Maths Assessment Framework Year 8

Success Criteria for all assessments: Higher Tier Foundation Tier 90% 9 80% 6 80% 8 70% 7 60% 5 60% 6 50% 5 40% 4 Please note the GCSE Mathematics is one of the first GCSEs which will be graded by number

### Iosif Ignat, Marius Joldoș Laboratory Guide 4. Statements. STATEMENTS in C

STATEMENTS in C 1. Overview The learning objective of this lab is: To understand and proper use statements of C/C++ language, both the simple and structured ones: the expression statement, the empty statement,

### Seventh Grade Mathematics Content Standards and Objectives

Seventh Grade Mathematics Content Standards and Objectives Standard 1: Number and Operations beyond the field of mathematics, students will M.S.7.1 demonstrate understanding of numbers, ways of representing

### 9-1 GCSE Maths. GCSE Mathematics has a Foundation tier (Grades 1 5) and a Higher tier (Grades 4 9).

9-1 GCSE Maths GCSE Mathematics has a Foundation tier (Grades 1 5) and a Higher tier (Grades 4 9). In each tier, there are three exams taken at the end of Year 11. Any topic may be assessed on each of

### LOOPS. 1- Write a program that prompts user to enter an integer N and determines and prints the sum of cubes from 5 to N (i.e. sum of 5 3 to N 3 ).

LOOPS 1- Write a program that prompts user to enter an integer N and determines and prints the sum of cubes from 5 to N (i.e. sum of 5 3 to N 3 ). 2-Give the result of the following program: #include

### Year 7 Curriculum Map

Year 7 Curriculum Map Solve word problems (add and subtract) Explain and investigate (multiply and divide) Geometry Fractions Applications of algebra Percentages and statistics Place value (including decimals)

### COMPUTER SCIENCE Paper 1

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

### PRACTICAL LIST FOR ODD SEMESTERS Session (PGDCA/MCA/MSC (CS))

GURU JAMBHESHWAR UNIVERSITY OF SCIENCE & TECHNOLOGY, HISAR DIRECTORATE OF DISTANCE EDUCATION PRACTICAL LIST FOR ODD SEMESTERS Session 2015-16 (PGDCA/MCA/MSC (CS)) SEMSTER 1 st Programme: PGDCA/MCA/MSC

### Flow Chart. The diagrammatic representation shows a solution to a given problem.

low Charts low Chart A flowchart is a type of diagram that represents an algorithm or process, showing the steps as various symbols, and their order by connecting them with arrows. he diagrammatic representation

### Common Core Vocabulary and Representations

Vocabulary Description Representation 2-Column Table A two-column table shows the relationship between two values. 5 Group Columns 5 group columns represent 5 more or 5 less. a ten represented as a 5-group

### A triangle that has three acute angles Example:

1. acute angle : An angle that measures less than a right angle (90 ). 2. acute triangle : A triangle that has three acute angles 3. angle : A figure formed by two rays that meet at a common endpoint 4.

### UNIVERSITY OF MUMBAI T.Y.B.Sc.( INFORMATION TECHNOLOGY) (Semester V) (Practical) EXAMINATION OCTOBER ASP.NET with C# Seat No. : Max.

1. Write an application that receives the following information from a set of students: Student Id: Student Name: Course Name: Date of Birth: The application should also display the information of all

### Carnegie Learning Math Series Course 1, A Florida Standards Program. Chapter 1: Factors, Multiples, Primes, and Composites

. Factors and Multiples Carnegie Learning Math Series Course, Chapter : Factors, Multiples, Primes, and Composites This chapter reviews factors, multiples, primes, composites, and divisibility rules. List

### Short Notes of CS201

#includes: Short Notes of CS201 The #include directive instructs the preprocessor to read and include a file into a source code file. The file name is typically enclosed with < and > if the file is a system

### Maths Year 11 Mock Revision list

Maths Year 11 Mock Revision list F = Foundation Tier = Foundation and igher Tier = igher Tier Number Tier Topic know and use the word integer and the equality and inequality symbols use fractions, decimals

### Texas High School Geometry

Texas High School Geometry This course covers the topics shown below. Students navigate learning paths based on their level of readiness. Institutional users may customize the scope and sequence to meet

### P.E.S. INSTITUTE OF TECHNOLOGY BANGALORE SOUTH CAMPUS 1 ST INTERNAL ASSESMENT TEST (SCEME AND SOLUTIONS)

FACULTY: Ms. Saritha P.E.S. INSTITUTE OF TECHNOLOGY BANGALORE SOUTH CAMPUS 1 ST INTERNAL ASSESMENT TEST (SCEME AND SOLUTIONS) SUBJECT / CODE: Programming in C and Data Structures- 15PCD13 What is token?

### Central Valley School District Math Curriculum Map Grade 8. August - September

August - September Decimals Add, subtract, multiply and/or divide decimals without a calculator (straight computation or word problems) Convert between fractions and decimals ( terminating or repeating

### Review Guide for Term Paper (Teza)

Review Guide for Term Paper (Teza) We will soon have a term paper over the material covered in Chapters 1, 2, 8, 9, 15, 22, 23, 16 and 3. In Chapter 1 we covered: Place value, multiplying and dividing

### Year 6.1- Number and Place Value 2 weeks- Autumn 1 Read, write, order and compare numbers up to and determine the value of each digit.

Year 6.1- Number and Place Value 2 weeks- Autumn 1 Read, write, order and compare numbers up to 10 000 000 and determine the value of each digit. Round any whole number to a required degree of accuracy.

### CS201 - Introduction to Programming Glossary By

CS201 - Introduction to Programming Glossary By #include : The #include directive instructs the preprocessor to read and include a file into a source code file. The file name is typically enclosed with

### Class 8 Math s Formula. CBSE Class 8 Math s Summary

Class 8 Math s Formula CBSE Class 8 Math s Summary This pdf lists all the Class 8 CBSE math s formula in a concise manner to help the students in revision and examination as per NCERT syllabus 1 Rational

### CLASS 8 (Mathematics) -EM

1 CLASS 8 (Mathematics) -EM 1.RATIONAL NUMBER - Natural, Whole, Integers (positive and negative), rational numbers. Properties of Rational Numbers- Closure, Commutativity, Associativity with example The

### Matija Gubec International School Zagreb MYP 0. Mathematics

Matija Gubec International School Zagreb MYP 0 Mathematics 1 MYP0: Mathematics Unit 1: Natural numbers Through the activities students will do their own research on history of Natural numbers. Students

### Data Structures Through C. Student Workbook

Data Structures Through C Student Workbook Contents Lecture 1: C Revision I 01 Importance of data structures Data types in C Instructions and its types The decision control instruction Working of logical

### Fractions, Decimals, Ratio and Percentages (FDRP) Measures (MEA)

Termly assessment Number and Place Value (NPV) Addition and Subtraction (AS) Multiplication and Division (MD) Fractions, Decimals, Ratio and Percentages (FDRP) Measures (MEA) Geometry (GEO) Statistics

### Mathematics. Foundation, term by term schedule Year 7 E1 E2 E3 Year 8 E4 I1 I2 Year 9 I3 I4 A1

Mathematics KS3 at Brighouse High School Year 7 and 8 Foundation Curriculum Overview Foundation, term by term schedule Year 7 E1 E2 E3 Year 8 E4 I1 I2 Year 9 I3 I4 A1 E1.1 Multiply and divide by 10, 100

### Illinois Math Assessment Framework, Grade 7. correlated to

Illinois Math Assessment Framework, Grade 7 correlated to Grade 7 correlated to Chapter 1 Variables, Expressions, and Integers (pp. 1 61) Lesson 1.1 (pp. 5 9) Expressions and Variables Evaluate and write

### Industrial Programming

Industrial Programming Lecture 4: C# Objects & Classes Industrial Programming 1 What is an Object Central to the object-oriented programming paradigm is the notion of an object. Objects are the nouns a

### Introduction to Computer Science Midterm 3 Fall, Points

Introduction to Computer Science Fall, 2001 100 Points Notes 1. Tear off this sheet and use it to keep your answers covered at all times. 2. Turn the exam over and write your name next to the staple. Do

### More C++ : Vectors, Classes, Inheritance, Templates

Vectors More C++ : Vectors,, Inheritance, Templates vectors in C++ basically arrays with enhancements indexed similarly contiguous memory some changes defined differently can be resized without explicit

### Prime Time (Factors and Multiples)

CONFIDENCE LEVEL: Prime Time Knowledge Map for 6 th Grade Math Prime Time (Factors and Multiples). A factor is a whole numbers that is multiplied by another whole number to get a product. (Ex: x 5 = ;

### - number of elements - complement linear, simple quadratic and cubic sequences - exponential sequences and - simple combinations of these

IGCSE Mathematics Revision checklist 2016. Syllabus 1 Numbers, set notation and language 1 Identify and use: - natural s - prime s - square s - common factors (HCF) - common multiples (LCM) - rational

### MATHEMATICS Key Stage 2 Year 6

MATHEMATICS Key Stage 2 Year 6 Key Stage Strand Objective Child Speak Target Greater Depth Target [EXS] [KEY] Read, write, order and compare numbers up to 10 000 000 and determine the value of each digit.

### APCS Semester #1 Final Exam Practice Problems

Name: Date: Per: AP Computer Science, Mr. Ferraro APCS Semester #1 Final Exam Practice Problems The problems here are to get you thinking about topics we ve visited thus far in preparation for the semester

### Examples for Algorithm,Pseduocode,Flowchart

1 Examples for,pseduocode,flowchart Example: Finding the area of a circle Step2: Read the value of r Step3: Calculate area = 3.14*r*r Step4: Print area Step5: Stop Set area READ the r COMPUTE area=3.14*r*r

### [Page 177 (continued)] a. if ( age >= 65 ); cout << "Age is greater than or equal to 65" << endl; else cout << "Age is less than 65 << endl";

Page 1 of 10 [Page 177 (continued)] Exercises 4.11 Identify and correct the error(s) in each of the following: a. if ( age >= 65 ); cout

### ANSI C Programming Simple Programs

ANSI C Programming Simple Programs /* This program computes the distance between two points */ #include #include #include main() { /* Declare and initialize variables */ double

### STANDARDS FOR SECONDARY EDUCATION. mathematics

STANDARDS FOR SECONDARY EDUCATION mathematics Quality Assurance and Development Services Ministry of Education, Youth and Sports 2004 MATHEMATICS Content Standard No. 1 Understand thoroughly the classification