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

Size: px
Start display at page:

Download "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 )."

Transcription

1 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<stdio.h> main() { int p, n; n = 0; while (n <= 5) n++; printf( A: n = %d \n, n); n = p = 0; while (n <= 8) n += p++; printf( B: n = %d \n, n); n = p = 0; while (n <= 8) n += ++ p; printf( C: n = %d \n, n); } 3- Write an algorithm that prints on the screen all the integers from 8 to Write an algorithm that reads 10 integers and then prints on the screen their summation. 5-Write an algorithm that reads two integers x and y and then prints on the screen their product. The algorithm should only use the + operator (the product operator * can t be used). 6- Write an algorithm that reads two integers x and y and prints all the odd numbers ranging between x and y. 7- A college has a list of test results (each test result is a number either 1 or 2: 1 = pass, 2 = fail) for 10 students. Write an algorithm that analyzes the results: if more than 8 students pass, prints "Raise Tuition". 8- Give the result of the following program if n = 10. #include<stdio.h> main() { int i, n, s ; printf("give an integer\n"); scanf("%d", &n); for(i = 1, x = 0, s = 0 ; x < n ; ++i) { x = 2 * i ; s += x; 1

2 } printf("the value of s is : %d \n",s); } 9- Write a program that prompts user to enter an integer n and determines and prints the sum of 1 + (2 3) 2 + (3 4) 3 + (4 5) ((n 1) n) n 1 10-Write a program that reads two integers x and y and prints all the even numbers ranging between x and y. 11- Write a program that reads an integer N and prints N! 12- Write a program that prompts the user to enter the number of students, each student s score, and finally displays the highest score. 13- Write a program that reads an integer between 0 and 1000 and adds all the digits in the integer. For example, if an integer is 932, the sum of all its digits is 14 (i.e = 14). 14- Write a program that receives an ASCII code (an integer between 0 and 128) and displays its character. For example, if the user enters 97, the program displays character a. 15- Write a program that reads an integer between 0 and 1000 and adds all the digits in the integer. 16- Write a program that receives an ASCII code (an integer between 0 and 128) and displays its character. 17- Write a program that prompts user to enter an integer number, and displays on the screen the ten following numbers. For example, if the user enters the number 17, then the program should display the numbers from 18 to Write an algorithm that prints on the screen all the integers from 8 to Write an algorithm that prints all then even numbers ranging between 5 and Write an algorithm that reads an integer n and prints n! 21- Write an algorithm that prompts user to enter an integer n and determines and prints the sum of n n 22- Rewrite the following program by using instead of the for loop a do while loop. #include<stdio.h> main() { int i,n, s = 0; for (i= 0; i < 4; i++) { 2

3 printf( give an integer : ); scanf( %d,&n); s += n ; } printf( sum is = %d, s); } 23- Write a program that prompts user to give an integer x and prints the following menu: 1. Add 1 2. Multiply by 2 3. Subtract 4 4. Exit The program prompts user to give a number c. If c is between 1 and 3, the program prints the result of the operation on x. The program prints again the menu and asks the user what he wants to do (which operation), until the user choose to exit from program. 24- Write a program that reads a positive integer x and prints on the screen the number of digits in x. 25- Write an algorithm that prompts user to give some positive numbers and prints the square of each of these numbers. The program stops reading numbers when user gives 0 (a number equal 0). 26- Write an algorithm that reads a set of integers ended by 1 and prints on the screen the maximum value, the minimum value, the number of times the maximum appears in the set and the number of times the minimum appears in the set. Example: Enter an integer (-1 to terminate): 12 Enter an integer (-1 to terminate): 8 Enter an integer (-1 to terminate): 13 Enter an integer (-1 to terminate): 7 Enter an integer (-1 to terminate): 12 Enter an integer (-1 to terminate): 7 Enter an integer (-1 to terminate): 9 Enter an integer (-1 to terminate): Write a program that reads an integer x and prints on the screen all the divisors of x. 28- Write a program that reads two integers x and y and find their GCD (Greatest common divisor). 29- Write a program that reads a set of integers ended by 1 and prints on the screen the maximum value, the minimum value, the number of times the maximum appears in the set and the number of times the minimum appears in the set. Example: 3

4 Enter an integer (-1 to terminate) : 12 Enter an integer (-1 to terminae) : 8 Enter an integer (-1 to terminate) : 13 Enter an integer (-1 to terminate) : 7 Enter an integer (-1 to terminate) : 11 Enter an integer (-1 to terminate) : 12 Enter an integer (-1 to terminate) : 7 Enter an integer (-1 to terminate) : 9 Enter an integer (-1 to terminate) : -1 Maximum value is: 13, this maximum appears 1 times in the set Minimum value is: 7, this minimum appears 2 times in the set 30- Write a program that reads two integers x and y and then prints on the screen a rectangle of x*y stars. If we consider x=3 and y=6, the program must display: * * * * * * * * * * * * * * * * * * 31- Write a program that reads an integer x and then prints on the screen a triangle of x lines of stars. If we consider x=7, the program must display: * * * * * * * * * * * * * * * ***** * * * * **** * * * * * * *** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 32- The Syracuse sequence is a sequence of positive integers that begins by a positive integer n and ends by 1. Each Syracuse number is calculated in function of its previous number, according to the following rules: Ui=Ui-1/2 if Ui-1 is even Ui=Ui-1*3+1 if Ui-1 is odd 33- Write a program that reads an integer n and then prints on the screen the Syracuse sequence that begins by n. For example, if the user enters 22; the program prints on the screen:

5 34- Write a program that reads a set of characters until the user enters the EOF character and then prints on the screen the number of enters, the number of spaces, the number of lower-case letters and the number of upper-case letters entered by the user. 35- Write a program that reads an integer n and determines if n is prime. 36- Write a program that reads an integer n and prints on the screen all the prime divisors of n. 37- Write a program which calculates expression N^N where N is an integer value filled by the user. 38- Write a program which reads a sequence of real values filled by the user and stops by displaying "FINISHED" when the sum of these values exceeds Write a program which reads a sequence of positive integer values and shows their multiplication and their sum when the user fills a negative number. 40- Write a program which reads a positive integer value and shows its divisors. 41- Write a program which reads a positive integer value N and indicates if N is a perfect number or not (N is a perfect number if N = the sum of its divisors without the number itself). 42- Write a program which reads a positive integer value N, calculates and shows the result of the expression: N 43- Write a program which reads a positive integer value N, calculates and shows the sum of the even numbers < = N. 44- Write a program which reads a positive integer value N, calculates and shows the sum of the odd numbers < = N. 45- Write a program which reads a positive integer value n, calculates and shows the result of the expression: 46- Write a program which reads a positive integer number n, calculates and shows the following: 1 + 1/2 + 1/3 + 1/ /n if n is divisible by 7 N + n/2 + n/3 + n/ n/(n-1) + 1 else 5

6 47- Write a program which indicates if a positive number N, filled by the user, is prime or not (N is a prime number if its only divisors are 1 and N). 48- Write a program which reads 10 real numbers. The program must then show the maximum and the minimum of these numbers. 49- Write a program which reads a sequence of positive real numbers. The program stops when the user fills a negative value and show the maximum of these numbers. 50- Write a program which reads 20 real numbers and shows their sum and their multiplication. 51- Write a program which reads two positive integer values and shows their GCD (Greatest Common Divisor) and their LCM (Least Common Multiple). 52- Write a program that reads a positive integer N and displays: NNNN.N 53- o Write a program that takes an integer n and displays the value of Un respecting: U0=1 ; Un = n 1 ( Ui ) i=0 (i 1)! 6 for n>=1 ; o Write a program that asks the user to enter an integer a and then prints the series elements from U0 to Ua. 54- An integer number is divisible by 9 if the sum of its digits is divisible by 9. Write a program that reads a positive integer, finds the number of digits of this integer and using the criteria above, discovers if it is divisible by 9 and then prints out the results. Example: if the user enters The program display : has 5 digits. The sum of digits is : 31

7 It is not divisible by 9 Write a program that uses the criteria above to display all the positive integers between 100 and 1000 that are divisible by Write a C program that asks the user to enter a positive integer N, and a real value R representing the radius of a circle C of center O(0,0). The program should then prompt the user to enter a sequence of points coordinates (x and y) until the number of points inside C is equal to N. Then the program should display the coordinates of the farthest point from the center O(0,0) (among the entered points). Note that: The distance between a point M(x,y) and the point O(0,0) is calculated using the formula sqrt(t) of the library math.h gives the value of y R O(0,0) x 56- We would like to write a program for a supermarket that offers a discount for his clients. The discount is valid only if at least 4 products are bought, and the total price of the bought products is at least L.L. This discount consists on a reduction of 10% on the most expensive product and 50% on the cheapest product among the list of bought products. Write a C program that prompts the user to enter a sequence of products price until a negative value or zero is entered. The program should calculate and display the number of bought products, their total price, and -if the discount is valid - the amount of reductions on the most expensive product and the cheapest product, and the total sum to be paid after reductions. Example of execution: Enter a product price: Enter a product price: Enter a product price: Enter a product price: Enter a product price: Enter a product price: Enter a product price: 0 You have bought 6 products. The total price is L.L. Reduction 10% : 0 L.L. Reduction 50% : 0 L.L. Total to be paid (after reduction): L.L. Another example of execution Enter a product price: Enter a product price:

8 Enter a product price: Enter a product price: Enter a product price: Enter a product price: -12 You have bought 5 products. The total price is L.L. Reduction 10% : L.L. Reduction 50% : 5000 L.L. Total to be paid (after reduction): L.L. 57- Write a program that reads an integer N, asks the user to enter N characters, calculate the length of the longest ascending sequence of characters and the position of its first character. Example of execution: Enter a positive integer: 11 Enter 11 characters: A e c D k l n p a c D The longest sequence is of 5 characters, it begins at the position Write an independent program for each of the following three parts: 1- Write a program that checks if a number is prime or not. 2- A number is said to be "special", if all its divisors are prime numbers (excluding 1 and the number itself) Example: 14, 21, 22.. are special numbers. Considering exercise (1), Write a program that reads a positive number and checks if it is special or not. 3- Considering exercise (2), write a program that prints the first 100 "special" numbers. 59- A company pays its employees according to the principle of a basic hourly rate for which we apply a coefficient K as follows: For the first 39 working hours per week, K = 1. From the 40 th to the 44 th hour per week, K = 1.5. After the 44 th hour, K = 2. Write a C program that asks the user to enter the basic hourly rate and the number of working hours for an employee, then calculates and displays his weekly wage. Execution example: Give the basic hourly rate: 6 Give the number of hours worked per week: 47 The salary corresponding to 47 hours is $ 315 Explication: (39*1*6) + (5*1.5*6) + (3*2*6) = Write a program that asks the user to enter an integer making sure it is a positive number (a negative integer should not be accepted), and checks if this number is ABUNDANT. A number n 8

9 is said to be abundant when the sum of its divisors (including the number itself) is greater than its double (2n). Example: 12 is abundant ( > 24) 61- The country A has 50 Million inhabitants, and its population grows 3% per year. The country B has 70 Million and its population grows 2% per year. Write a program that tells in how many years A will surpass B. Output: After 35 years the population of A will be , and the population of B will be

Loops / Repetition Statements

Loops / Repetition Statements Loops / Repetition Statements Repetition statements allow us to execute a statement multiple times Often they are referred to as loops C has three kinds of repetition statements: the while loop the for

More information

Subject: Computer Science

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

More information

VARIABLE, OPERATOR AND EXPRESSION [SET 1]

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

More information

PROGRAMMING IN C LAB MANUAL FOR DIPLOMA IN ECE/EEE

PROGRAMMING IN C LAB MANUAL FOR DIPLOMA IN ECE/EEE PROGRAMMING IN C LAB MANUAL FOR DIPLOMA IN ECE/EEE 1. Write a C program to perform addition, subtraction, multiplication and division of two numbers. # include # include int a, b,sum,

More information

Section A Arithmetic ( 5) Exercise A

Section A Arithmetic ( 5) Exercise A Section A Arithmetic In the non-calculator section of the examination there might be times when you need to work with quite awkward numbers quickly and accurately. In particular you must be very familiar

More information

Mental Maths Competition Topics Included. (1) Q. No. 1 to 50 are based on basic. Calculation questions related to Addition,

Mental Maths Competition Topics Included. (1) Q. No. 1 to 50 are based on basic. Calculation questions related to Addition, Topics Included. () Q. No. to 0 are based on basic. Calculation questions related to Addition, Subtraction, Multiplication and Division, doubling and halving. () Student should know multiplication tables

More information

Module 7 Highlights. Mastered Reviewed. Sections ,

Module 7 Highlights. Mastered Reviewed. Sections , Sections 5.3 5.6, 6.1 6.6 Module 7 Highlights Andrea Hendricks Math 0098 Pre-college Algebra Topics Degree & leading coeff. of a univariate polynomial (5.3, Obj. 1) Simplifying a sum/diff. of two univariate

More information

Lab 2: Structured Program Development in C

Lab 2: Structured Program Development in C Lab 2: Structured Program Development in C (Part A: Your first C programs - integers, arithmetic, decision making, Part B: basic problem-solving techniques, formulating algorithms) Learning Objectives

More information

MA 511: Computer Programming Lecture 2: Partha Sarathi Mandal

MA 511: Computer Programming Lecture 2: Partha Sarathi Mandal MA 511: Computer Programming Lecture 2: http://www.iitg.ernet.in/psm/indexing_ma511/y10/index.html Partha Sarathi Mandal psm@iitg.ernet.ac.in Dept. of Mathematics, IIT Guwahati Semester 1, 2010-11 Largest

More information

Other Loop Options EXAMPLE

Other Loop Options EXAMPLE C++ 14 By EXAMPLE Other Loop Options Now that you have mastered the looping constructs, you should learn some loop-related statements. This chapter teaches the concepts of timing loops, which enable you

More information

6th Grade Arithmetic (with QuickTables)

6th Grade Arithmetic (with QuickTables) 6th Grade Arithmetic (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

More information

Loops / Repetition Statements

Loops / Repetition Statements Loops / Repetition Statements Repetition statements allow us to execute a statement multiple times Often they are referred to as loops C has three kinds of repetition statements: the while loop the for

More information

Suggestive List of C++ Programs

Suggestive List of C++ Programs Suggestive List of C++ Programs 1. Write a C++ program to display Hello World! on the output screen. 2. Write a program to display Multiplication Table of a number inputted by the user. 3. Write a program

More information

UEE1302(1066) F12: Introduction to Computers and Programming Function (II) - Parameter

UEE1302(1066) F12: Introduction to Computers and Programming Function (II) - Parameter UEE1302(1066) F12: Introduction to Computers and Programming Function (II) - Parameter What you will learn from Lab 7 In this laboratory, you will understand how to use typical function prototype with

More information

UNIT 1: INTEGERS Definition Absolute Value of an integer How to compare integers

UNIT 1: INTEGERS Definition Absolute Value of an integer How to compare integers UNIT 1: INTEGERS 1.1. Definition Integers are the set of whole numbers and their opposites. The number line is used to represent integers. This is shown below. The number line goes on forever in both directions.

More information

COP 4516: Math for Programming Contest Notes

COP 4516: Math for Programming Contest Notes COP 4516: Math for Programming Contest Notes Euclid's Algorithm Euclid's Algorithm is the efficient way to determine the greatest common divisor between two integers. Given two positive integers a and

More information

Huawei Test 2. 1 Two dice are thrown simultaneously. What is the probability of getting two numbers whose product is even?

Huawei Test 2. 1 Two dice are thrown simultaneously. What is the probability of getting two numbers whose product is even? Huawei Test 2 1 Two dice are thrown simultaneously. What is the probability of getting two numbers whose product is even? ( )1/ 2 ( )3/4 ( )3/8 ( )5/16 Explanation: In a simultaneous throw of two dice,

More information

LAB 7 FUNCTION PART 2

LAB 7 FUNCTION PART 2 LAB 7 FUNCTION PART 2 School of Computer and Communication Engineering Universiti Malaysia Perlis 1 OBJECTIVES 1. To differentiate the file scope and block scope. 2. To write recursive function. 3. To

More information

PROGRAMMING IN C AND C++:

PROGRAMMING IN C AND C++: PROGRAMMING IN C AND C++: Week 1 1. Introductions 2. Using Dos commands, make a directory: C:\users\YearOfJoining\Sectionx\USERNAME\CS101 3. Getting started with Visual C++. 4. Write a program to print

More information

CSE123 LECTURE 3-1. Program Design and Control Structures Repetitions (Loops) 1-1

CSE123 LECTURE 3-1. Program Design and Control Structures Repetitions (Loops) 1-1 CSE123 LECTURE 3-1 Program Design and Control Structures Repetitions (Loops) 1-1 The Essentials of Repetition Loop Group of instructions computer executes repeatedly while some condition remains true Counter-controlled

More information

MATHEMATICS FOR ELEMENTARY TEACHERS I FINAL EXAM REVIEW

MATHEMATICS FOR ELEMENTARY TEACHERS I FINAL EXAM REVIEW MATHEMATICS FOR ELEMENTARY TEACHERS I FINAL EXAM REVIEW Find the GCD or LCM as indicated. ) Given 6 and 96, find the LCM. ) Let f(x) = x +. Find f(83). ) Given 08 and 3, find the GCD. Find the LCM for

More information

Algebra Summer Math HW check

Algebra Summer Math HW check Lesson Practice 1 a) Integers, rational numbers, real numbers b) Rational numbers, real numbers c) Irrational numbers, real numbers Whole numbers; Sample: There can be d) no people or any number of people.

More information

6-8 Math Adding and Subtracting Polynomials Lesson Objective: Subobjective 1: Subobjective 2:

6-8 Math Adding and Subtracting Polynomials Lesson Objective: Subobjective 1: Subobjective 2: 6-8 Math Adding and Subtracting Polynomials Lesson Objective: The student will add and subtract polynomials. Subobjective 1: The student will add polynomials. Subobjective 2: The student will subtract

More information

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

B. V. Patel Institute of Business Management, Computer & Information Technology, UTU 2013 Information Technology, UTU 203 030000 Fundamentals of Programming Problems to be solved in laboratory Note: Journal should contain followings for all problems given below:. Problem Statement 2. Algorithm

More information

Is the statement sufficient? If both x and y are odd, is xy odd? 1) xy 2 < 0. Odds & Evens. Positives & Negatives. Answer: Yes, xy is odd

Is the statement sufficient? If both x and y are odd, is xy odd? 1) xy 2 < 0. Odds & Evens. Positives & Negatives. Answer: Yes, xy is odd Is the statement sufficient? If both x and y are odd, is xy odd? Is x < 0? 1) xy 2 < 0 Positives & Negatives Answer: Yes, xy is odd Odd numbers can be represented as 2m + 1 or 2n + 1, where m and n are

More information

Number System. Introduction. Natural Numbers (N) Whole Numbers (W) Integers (Z) Prime Numbers (P) Face Value. Place Value

Number System. Introduction. Natural Numbers (N) Whole Numbers (W) Integers (Z) Prime Numbers (P) Face Value. Place Value 1 Number System Introduction In this chapter, we will study about the number system and number line. We will also learn about the four fundamental operations on whole numbers and their properties. Natural

More information

C PROGRAMMING LAB MANUAL

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

More information

College Readiness (597 topics) Course Name: College Prep Math Spring 2014 Course Code: ARTD4-3N6XJ

College Readiness (597 topics) Course Name: College Prep Math Spring 2014 Course Code: ARTD4-3N6XJ Course Name: College Prep Math Spring 2014 Course Code: ARTD4-3N6XJ ALEKS Course: Math for College Readiness Instructor: Ms. Dalton Course Dates: Begin: 01/19/2015 End: 06/18/2015 Course Content: 606 Topics

More information

Lab ACN : C++ Programming Exercises

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

More information

RtI 7. Curriculum (219 topics additional topics)

RtI 7. Curriculum (219 topics additional topics) RtI 7 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 curricular needs. Curriculum

More information

Final Examination Semester 2 / Year 2010

Final Examination Semester 2 / Year 2010 Southern College Kolej Selatan 南方学院 Final Examination Semester 2 / Year 2010 COURSE : PROGRAMMING LOGIC AND DESIGN COURSE CODE : CCIS1003 TIME : 2 1/2 HOURS DEPARTMENT : COMPUTER SCIENCE LECTURER : LIM

More information

Number Theory Open, Round 1 Test #101

Number Theory Open, Round 1 Test #101 Number Theory Open, Round 1 Test #101 1. Write your 6-digit ID# in the I.D. NUMBER grid, left-justified, and bubble. Check that each column has only one number darkened. 2. In the EXAM NO. grid, write

More information

1. Basics 1. Write a program to add any two-given integer. Algorithm Code 2. Write a program to calculate the volume of a given sphere Formula Code

1. Basics 1. Write a program to add any two-given integer. Algorithm Code  2. Write a program to calculate the volume of a given sphere Formula Code 1. Basics 1. Write a program to add any two-given integer. Algorithm - 1. Start 2. Prompt user for two integer values 3. Accept the two values a & b 4. Calculate c = a + b 5. Display c 6. Stop int a, b,

More information

Object Oriented Programming Using C ++ Page No. : 1. ASSIGNMENT SHEET WITHOUT USING OBJECT AND CLASSES

Object Oriented Programming Using C ++ Page No. : 1. ASSIGNMENT SHEET WITHOUT USING OBJECT AND CLASSES Object Oriented Programming Using C ++ Page No. : 1. ASSIGNMENT SHEET WITHOUT USING OBJECT AND CLASSES 1. Write a program to calculate the sum of two numbers using function. 2. Write a program to calculate

More information

Integer Operations. Summer Packet 7 th into 8 th grade 1. Name = = = = = 6.

Integer Operations. Summer Packet 7 th into 8 th grade 1. Name = = = = = 6. Summer Packet 7 th into 8 th grade 1 Integer Operations Name Adding Integers If the signs are the same, add the numbers and keep the sign. 7 + 9 = 16-2 + -6 = -8 If the signs are different, find the difference

More information

Chapter 3 Problem Solving and the Computer

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

More information

Section 3.1 Factors and Multiples of Whole Numbers:

Section 3.1 Factors and Multiples of Whole Numbers: Chapter Notes Math 0 Chapter : Factors and Products: Skill Builder: Some Divisibility Rules We can use rules to find out if a number is a factor of another. To find out if, 5, or 0 is a factor look at

More information

3 The L oop Control Structure

3 The L oop Control Structure 3 The L oop Control Structure Loops The while Loop Tips and Traps More Operators The for Loop Nesting of Loops Multiple Initialisations in the for Loop The Odd Loop The break Statement The continue Statement

More information

YEAR 8 SCHEME OF WORK

YEAR 8 SCHEME OF WORK YEAR 8 SCHEME OF WORK Year 8 Term 1 Chapter: Week Topic 1 2 2.1:1: Working with 2.2:1: Working with 3 4 2.1:2: Geometry 2.2:2: Geometry 5 6 2.1:3: Probability 2.2:3: Probability Topic break-down (sub-topics)

More information

Computer Programming. Decision Making (2) Loops

Computer Programming. Decision Making (2) Loops Computer Programming Decision Making (2) Loops Topics The Conditional Execution of C Statements (review) Making a Decision (review) If Statement (review) Switch-case Repeating Statements while loop Examples

More information

Alignments to SuccessMaker. Providing rigorous intervention for K-8 learners with unparalleled precision

Alignments to SuccessMaker. Providing rigorous intervention for K-8 learners with unparalleled precision Alignments to SuccessMaker Providing rigorous intervention for K-8 learners with unparalleled precision Engage Math Modules Module 1: Ratios and Proportional Relationships Analyze proportional relationships

More information

CW Middle School. Math RtI 7 A. 4 Pro cient I can add and subtract positive fractions with unlike denominators and simplify the result.

CW Middle School. Math RtI 7 A. 4 Pro cient I can add and subtract positive fractions with unlike denominators and simplify the result. 1. Foundations (14.29%) 1.1 I can add and subtract positive fractions with unlike denominators and simplify the result. 4 Pro cient I can add and subtract positive fractions with unlike denominators and

More information

FUNDAMENTAL ARITHMETIC

FUNDAMENTAL ARITHMETIC FUNDAMENTAL ARITHMETIC Prime Numbers Prime numbers are any whole numbers greater than that can only be divided by and itself. Below is the list of all prime numbers between and 00: Prime Factorization

More information

School of Science and Technology

School of Science and Technology INTRODUCTION Pointers Unit 9 In the previous unit 8 we have studied about C structure and their declarations, definitions, initializations. Also we have taught importance of C structures and their applications.

More information

Control Structure: Loop

Control Structure: Loop Control Structure: Loop Knowledge: Understand the various concepts of loop control structure Skill: Be able to develop a program involving loop control structure 1 Loop Structure Condition is tested first

More information

Algorithms 4. Odd or even Algorithm 5. Greatest among three numbers Algorithm 6. Simple Calculator Algorithm

Algorithms 4. Odd or even Algorithm 5. Greatest among three numbers Algorithm 6. Simple Calculator Algorithm s 4. Odd or even Step 3 : If number divisible by 2 then Print "Number is Even" Step 3.1 : else Print "Number is Odd" Step 4 : Stop 5. Greatest among three numbers Step 2 : Read values of a, b and c Step

More information

Number Sense and Operations Curriculum Framework Learning Standard

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

More information

Lesson 2: Generating Equivalent Expressions

Lesson 2: Generating Equivalent Expressions Lesson 2: Generating Equivalent Expressions Classwork Opening Exercise Additive inverses have a sum of zero. Multiplicative inverses have a product of 1. Fill in the center column of the table with the

More information

Algebra 1. Standard 11 Operations of Expressions. Categories Combining Expressions Multiply Expressions Multiple Operations Function Knowledge

Algebra 1. Standard 11 Operations of Expressions. Categories Combining Expressions Multiply Expressions Multiple Operations Function Knowledge Algebra 1 Standard 11 Operations of Expressions Categories Combining Expressions Multiply Expressions Multiple Operations Function Knowledge Summative Assessment Date: Wednesday, February 13 th Page 1

More information

Essar Placement Paper

Essar Placement Paper Essar Placement Paper Question 1 The fourth proportional to 5, 8, 15 is: A. 18 B. 24 C. 19 D. 20 Let the fourth proportional to 5, 8, 15 be x. Then, 5 : 8 : 15 : x 5x = (8 x 15) x=(8*15)/5=24 Question

More information

Single Dimension Arrays

Single Dimension Arrays ARRAYS Single Dimension Arrays Array Notion of an array Homogeneous collection of variables of same type. Group of consecutive memory locations. Linear and indexed data structure. To refer to an element,

More information

1 5 Integer Operations

1 5 Integer Operations 1 5 Integer Operations Positive and Negative Integers A glance through any newspaper shows that many quantities are expressed using negative numbers. For example, negative numbers show below-zero temperatures.

More information

Question Bank (SPA SEM II)

Question Bank (SPA SEM II) Question Bank (SPA SEM II) 1. Storage classes in C (Refer notes Page No 52) 2. Difference between function declaration and function definition (This question is solved in the note book). But solution is

More information

Iron County Schools. Yes! Less than 90 No! 90 No! More than 90. angle: an angle is made where two straight lines cross or meet each other at a point.

Iron County Schools. Yes! Less than 90 No! 90 No! More than 90. angle: an angle is made where two straight lines cross or meet each other at a point. Iron County Schools 1 acute angle: any angle that is less than 90. Yes! Less than 90 No! 90 No! More than 90 acute triangle: a triangle where all the angles are less than 90 angle: an angle is made where

More information

METHODS EXERCISES GuessNumber and Sample run SumAll Sample Run

METHODS EXERCISES GuessNumber and Sample run SumAll Sample Run METHODS EXERCISES Write a method called GuessNumber that receives nothing and returns back nothing. The method first picks a random number from 1-100. The user then keeps guessing as long as their guess

More information

Functions. Arash Rafiey. September 26, 2017

Functions. Arash Rafiey. September 26, 2017 September 26, 2017 are the basic building blocks of a C program. are the basic building blocks of a C program. A function can be defined as a set of instructions to perform a specific task. are the basic

More information

Dept. of CSE, IIT KGP

Dept. of CSE, IIT KGP Control Flow: Looping CS10001: Programming & Data Structures Pallab Dasgupta Professor, Dept. of Computer Sc. & Engg., Indian Institute of Technology Kharagpur Types of Repeated Execution Loop: Group of

More information

What is a Fraction? Fractions. One Way To Remember Numerator = North / 16. Example. What Fraction is Shaded? 9/16/16. Fraction = Part of a Whole

What is a Fraction? Fractions. One Way To Remember Numerator = North / 16. Example. What Fraction is Shaded? 9/16/16. Fraction = Part of a Whole // Fractions Pages What is a Fraction? Fraction Part of a Whole Top Number? Bottom Number? Page Numerator tells how many parts you have Denominator tells how many parts are in the whole Note: the fraction

More information

Basic Operations and Equivalent Expressions - Step-by-Step Lesson

Basic Operations and Equivalent Expressions - Step-by-Step Lesson Name Date Basic Operations and Equivalent Expressions StepbyStep Lesson Lesson 1 Simplify the expressions. 1. 4 (6x 5) 2. 3 (4 3 7x) Explanation: 1. Step 1) First see what is being asked. We have to simplify

More information

Math Lesson Plan 6th Grade Curriculum Total Activities: 302

Math Lesson Plan 6th Grade Curriculum Total Activities: 302 TimeLearning Online Learning for Homeschool and Enrichment www.timelearning.com Languages Arts, Math and more Multimedia s, Interactive Exercises, Printable Worksheets and Assessments Student Paced Learning

More information

Objective 1 : The student will demonstrate an understanding of numbers, operations, and quantitative reasoning.

Objective 1 : The student will demonstrate an understanding of numbers, operations, and quantitative reasoning. Essential Mathematics (with QuickTables) Correlation of the ALEKS course Essential Mathematics to the Texas Assessment of Knowledge and Skills (TAKS) for Grade 6 Objective 1 : The student will demonstrate

More information

A. Incorrect! To simplify this expression you need to find the product of 7 and 4, not the sum.

A. Incorrect! To simplify this expression you need to find the product of 7 and 4, not the sum. Problem Solving Drill 05: Exponents and Radicals Question No. 1 of 10 Question 1. Simplify: 7u v 4u 3 v 6 Question #01 (A) 11u 5 v 7 (B) 8u 6 v 6 (C) 8u 5 v 7 (D) 8u 3 v 9 To simplify this expression you

More information

Year 6 Term 1 and

Year 6 Term 1 and Year 6 Term 1 and 2 2016 Points in italics are either where statements have been moved from other year groups or to support progression where no statement is given Oral and Mental calculation Read and

More information

Slide 1 / 180. Radicals and Rational Exponents

Slide 1 / 180. Radicals and Rational Exponents Slide 1 / 180 Radicals and Rational Exponents Slide 2 / 180 Roots and Radicals Table of Contents: Square Roots Intro to Cube Roots n th Roots Irrational Roots Rational Exponents Operations with Radicals

More information

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

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

More information

6th Grade Math. Lindsay Law - Curriculum Facilitator (ext. 2085)

6th Grade Math. Lindsay Law - Curriculum Facilitator (ext. 2085) 6th Grade Math Purpose Students will become flexible thinkers and complex problem solvers by applying essential mathematical ideas and concepts through a rigorous, focused, and relevant curriculum. Philosophy

More information

Mathematics LV 5 (with QuickTables)

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

More information

Math Analysis Chapter 1 Notes: Functions and Graphs

Math Analysis Chapter 1 Notes: Functions and Graphs Math Analysis Chapter 1 Notes: Functions and Graphs Day 6: Section 1-1 Graphs Points and Ordered Pairs The Rectangular Coordinate System (aka: The Cartesian coordinate system) Practice: Label each on the

More information

3.1 Using Exponents to Describe Numbers

3.1 Using Exponents to Describe Numbers .1 Using to Describe Numbers Represent repeated multiplication with exponents Describe how powers represent repeated multiplication Demonstrate the difference between the exponent and the base by building

More information

Question Bank. 4. Write a menu driven program to accept two numbers and find a. HCF / GCD b. LCM

Question Bank. 4. Write a menu driven program to accept two numbers and find a. HCF / GCD b. LCM Question Bank 1. Write a program using over loading function with name as area to calculate a. Area of a square (side * side) b. Area of a rectangle (length * breadth) c. Area of a circle. ( * radius *

More information

Downloaded from

Downloaded from 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

More information

Structured programming. Exercises 3

Structured programming. Exercises 3 Exercises 3 Table of Contents 1. Reminder from lectures...................................................... 1 1.1. Relational operators..................................................... 1 1.2. Logical

More information

Math 6 Unit 2: Understanding Number Review Notes

Math 6 Unit 2: Understanding Number Review Notes Math 6 Unit 2: Understanding Number Review Notes Key unit concepts: Use place value to represent whole numbers greater than one million Solve problems involving large numbers, using technology Determine

More information

in normal arithmetic = == = == 5 7 x 2 = 24 7 * 2 == = 3 remainder 1 7 / 2 7 % 2

in normal arithmetic = == = == 5 7 x 2 = 24 7 * 2 == = 3 remainder 1 7 / 2 7 % 2 2 Arithmetic 2.1 The Natural Numbers We have all used natural counting numbers such as 1, 2 and 3 in simple arithmetic calculations. In C, the natural counting numbers between 0 and 65535 inclusive are

More information

CS1100 Introduction to Programming

CS1100 Introduction to Programming Decisions with Variables CS1100 Introduction to Programming Selection Statements Madhu Mutyam Department of Computer Science and Engineering Indian Institute of Technology Madras Course Material SD, SB,

More information

Math 10- Chapter 2 Review

Math 10- Chapter 2 Review Math 10- Chapter 2 Review [By Christy Chan, Irene Xu, and Henry Luan] Knowledge required for understanding this chapter: 1. Simple calculation skills: addition, subtraction, multiplication, and division

More information

MARLBORO CENTRAL SCHOOL DISTRICT CURRICULUM MAP Subject: Mathematics Grade: 6. Quarter 1 Content (What Students Should Know) Vocabulary Integer

MARLBORO CENTRAL SCHOOL DISTRICT CURRICULUM MAP Subject: Mathematics Grade: 6. Quarter 1 Content (What Students Should Know) Vocabulary Integer Instructional Days September (10 days) Essential Questions How do you locate rational numbers on a number line? How are integers and absolute value used in real world situations? How are decimals and fractions

More information

4*4*4 2. What is the output of the following flowchart for the values given below: (25 p)

4*4*4 2. What is the output of the following flowchart for the values given below: (25 p) Samples 1. Design a pseudocode that computes x n. Prompt the user to enter the value of x and n from keyboard. (25 p) Ex: Sample input for 4 and 3 your design should calculate 4 3 4*4*4 2. What is the

More information

Alignments to SuccessMaker. Providing rigorous intervention for K-8 learners with unparalleled precision

Alignments to SuccessMaker. Providing rigorous intervention for K-8 learners with unparalleled precision Alignments to SuccessMaker Providing rigorous intervention for K-8 learners with unparalleled precision Lesson 3-1 Lesson 3-3 Lesson 3-4 Lesson 7-6 Lesson 7-7 Lesson 7-8 Lesson 3-4 Lesson 3-5 Lesson 7-1

More information

Instructional. Essential Standards. Materials. Envision Topic 1 1-1; 1-2; 1-3; 1-4. Envision Topic 2 2-2; 2-3. Envision Topic 2 2-4; 2-5; 2-6

Instructional. Essential Standards. Materials. Envision Topic 1 1-1; 1-2; 1-3; 1-4. Envision Topic 2 2-2; 2-3. Envision Topic 2 2-4; 2-5; 2-6 Time Frame Period 1 Dates: Sept.4 Oct.26 Big Idea/Topic Essential Standards NS1.1 Estimate, round, and manipulate very large and very small numbers. Materials Envision Topic 1 1-1; 1-2; 1-3; 1-4 Envision

More information

Chapter 4: Basic C Operators

Chapter 4: Basic C Operators Chapter 4: Basic C Operators In this chapter, you will learn about: Arithmetic operators Unary operators Binary operators Assignment operators Equalities and relational operators Logical operators Conditional

More information

YEAR 7 SCHEME OF WORK - EXTENSION

YEAR 7 SCHEME OF WORK - EXTENSION YEAR 7 SCHEME OF WORK - EXTENSION Autumn Term 1 Number Skills Spring Term 1 Angles and Shape Summer Term 1 Multiplicative Reasoning Analysing and displaying data Decimals Perimeter, Area and Volume Half

More information

CHAPTER 1: INTEGERS. Image from CHAPTER 1 CONTENTS

CHAPTER 1: INTEGERS. Image from  CHAPTER 1 CONTENTS CHAPTER 1: INTEGERS Image from www.misterteacher.com CHAPTER 1 CONTENTS 1.1 Introduction to Integers 1. Absolute Value 1. Addition of Integers 1.4 Subtraction of Integers 1.5 Multiplication and Division

More information

SECTION A TRUE / FALSE QUESTIONS (10 MARKS) (INSTRUCTION: Please answer all 10 questions)

SECTION A TRUE / FALSE QUESTIONS (10 MARKS) (INSTRUCTION: Please answer all 10 questions) SECTION A TRUE / FALSE QUESTIONS ( MARKS) (INSTRUCTION: Please answer all questions) 1) In pre-test loop, the condition is tested first, before executing the body of the loop. ) The while loop can be used

More information

CSE 115 Programming Language I Final Examination Fall 2015

CSE 115 Programming Language I Final Examination Fall 2015 CSE 115 Programming Language I Final Examination Fall 2015 Total Marks 75. Time 90 minutes Instructions You have to answer three out of five questions from Section 1. Section 2 is a mandatory section.

More information

- 0.8.00-0.8. 7 ANSWERS: ) : ) : ) : ) : 8 RATIO WORD PROBLEM EXAMPLES: Ratio Compares two amounts or values; they can be written in ways. As a fraction With a colon : With words to A classroom has girls

More information

Foundation. Scheme of Work. Year 9. September 2016 to July 2017

Foundation. Scheme of Work. Year 9. September 2016 to July 2017 Foundation Scheme of Work Year 9 September 06 to July 07 Assessments Students will be assessed by completing two tests (topic) each Half Term. These are to be recorded on Go Schools. There will not be

More information

Manipulate expressions containing surds and rationalise denominators (A*) Able to simplify surds (A)

Manipulate expressions containing surds and rationalise denominators (A*) Able to simplify surds (A) Moving from A to A* Manipulate expressions containing surds and rationalise denominators (A*) Solve using surds (A*) A* Solve direct and inverse variation three variables (A*) A* Find formulae describing

More information

NMC Sample Problems: Grade 8

NMC Sample Problems: Grade 8 NM Sample Problems: Grade 8. right triangle has side lengths of 4 and 8. What is the length of the hypotenuse (the longest side)? 4 0 4 4. n isosceles triangle has a base length of 0 and a side length.

More information

Grade 7 Math Curriculum Map Erin Murphy

Grade 7 Math Curriculum Map Erin Murphy Topic 1 Algebraic Expressions and Integers 2 Weeks Summative Topic Test: SWBAT use rules to add and subtract integers, Evaluate algebraic expressions, use the order of operations, identify numerical and

More information

Programming & Data Structure Laboratory. Day 2, July 24, 2014

Programming & Data Structure Laboratory. Day 2, July 24, 2014 Programming & Data Structure Laboratory Day 2, July 24, 2014 Loops Pre and post test loops for while do-while switch-case Pre-test loop and post-test loop Condition checking True Loop Body False Loop Body

More information

NFC ACADEMY MATH 600 COURSE OVERVIEW

NFC ACADEMY MATH 600 COURSE OVERVIEW NFC ACADEMY MATH 600 COURSE OVERVIEW Math 600 is a full-year elementary math course focusing on number skills and numerical literacy, with an introduction to rational numbers and the skills needed for

More information

Loki s Practice Sets for PUBP555: Math Camp Spring 2014

Loki s Practice Sets for PUBP555: Math Camp Spring 2014 Loki s Practice Sets for PUBP555: Math Camp Spring 2014 Contents Module 1... 3 Rounding Numbers... 3 Square Roots... 3 Working with Fractions... 4 Percentages... 5 Order of Operations... 6 Module 2...

More information

6 th Grade Math Reference Sheet

6 th Grade Math Reference Sheet 6 th Grade Math Reference Sheet Data Analysis, Statistics, and Probability DATA ANALYSIS DSP 1 GRAPHS DSP 2 PROBABILITY DSP 3 Mean: Average Median: 1 middle number or average of 2 middle number Mode: Most

More information

Mathematics. Grade 8 Curriculum Guide. Curriculum Guide Revised 2016

Mathematics. Grade 8 Curriculum Guide. Curriculum Guide Revised 2016 Mathematics Grade 8 Curriculum Guide Curriculum Guide Revised 2016 Intentionally Left Blank Introduction The Mathematics Curriculum Guide serves as a guide for teachers when planning instruction and assessment.

More information

YEAR 6 MATHS LONG TERM PLAN ACADEMIC YEAR AUTUMN TERM

YEAR 6 MATHS LONG TERM PLAN ACADEMIC YEAR AUTUMN TERM YEAR 6 MATHS LONG TERM PLAN ACADEMIC YEAR 2013 2014 AUTUMN TERM WEEK BLOCK-UNIT MENTAL AND ORAL OBJECTIVE 1 Block A Unit 1 5 Questions from 1 Multiply and Divide numbers by 10, 100 and 1000 explaining

More information

COMP 111 PROGRAMMING I MODULARITY USING FUNCTIONS

COMP 111 PROGRAMMING I MODULARITY USING FUNCTIONS COMP 111 PROGRAMMING I MODULARITY USING FUNCTIONS Instructor: Dr Dionysiou ADMINISTRATIVE This week s lecture [BRON06] Chapter 6 (6.1) What is a function? Function declaration (prototype) Function definition

More information

7 th GRADE PLANNER Mathematics. Lesson Plan # QTR. 3 QTR. 1 QTR. 2 QTR 4. Objective

7 th GRADE PLANNER Mathematics. Lesson Plan # QTR. 3 QTR. 1 QTR. 2 QTR 4. Objective Standard : Number and Computation Benchmark : Number Sense M7-..K The student knows, explains, and uses equivalent representations for rational numbers and simple algebraic expressions including integers,

More information

DEPARTMENT OF ACADEMIC UPGRADING

DEPARTMENT OF ACADEMIC UPGRADING DEPARTMENT OF ACADEMIC UPGRADING COURSE OUTLINE WINTER 2014 INTRODUCTION TO MATH 0081 INSTRUCTOR: Joelle Reynolds PHONE: (780) 539-2810 or 2204 OFFICE: Math Lab A210 E-MAIL: jreynolds@gprc.ab.ca OFFICE

More information

CLASSIFICATION OF FRACTIONS 1. Proper Fraction : A Proper fraction is one whose numerator is less than its denominator. 1 eg., 3

CLASSIFICATION OF FRACTIONS 1. Proper Fraction : A Proper fraction is one whose numerator is less than its denominator. 1 eg., 3 CLASSIFICATION OF FRACTIONS. Proper Fraction : A Proper fraction is one whose numerator is less than its denominator. eg.,. Improper Fraction : An improper fraction is one whose numerator is equal to or

More information