Test-1 solutions: 2. Read X and Y values 3. T Y * 2*3.14*X 4. Display T value 5. Stop
|
|
- Rudolph Corey Bruce
- 7 years ago
- Views:
Transcription
1 Test-1 solutions: 1Q(a). One day early morning I found a person in a play ground. He started walking from the center of the play ground and reached the edge of the playground after x meters walking. Later he started running to surround the playground. Totally he completed y rounds. Develop an algorithm to find totally how many meters he runs. 1Ans: 1. Start 2. Read X and Y values 3. T Y * 2*3.14*X 4. Display T value 5. Stop 1Q(b). There are three fruit boxes. We know that one box contains only apples, another box contains only oranges and another box contains both apples and oranges but all these boxes are labeled incorrectly. Write an algorithm to pick out only one fruit from any one box and then correct all labels. 1(b)Ans. 1. Start 2. Pick out a fruit from a box which is having incorrect label A and O 3. if it is Apple fruit then do a. change incorrect label A and O with A. b. change incorrect label O with label A and O c. change incorrect label A with label O else a. change incorrect label A and O with O. b. change incorrect label A with label A and O c. change incorrect label O with label A 4. Stop 1Q(c). In an oil shop, shopkeeper having 3ltr and 5ltr measuring jugs. If he wants to sale 4 litterers oil then how he can measure without using another jug of any size. Develop an algorithm to measure 4ltr oil. 1(c)Ans. 1. Start 2. Take 5 liters oil into 5ltr jug. 3. Pour oil into 3ltr jug from 5ltr jug to fill 3ltr jug. 4. Make empty 3ltr jug. 5. Pour remaining 2ltr oil from 5ltr jug into 3ltr jug. 6. Take 5 liters oil into 5ltr jug second time. 7. Pour oil from 5ltr jug to 3ltr jug to fill the remaining empty place in 3ltr jug. 8. Now you have 4ltr oil in 5ltr jug. 9. Stop (OR) 1Q(d). The distance between two cities (in KM) is input through the keyboard. Write an algorithm to convert and print his distance in meters and centimeters.
2 1(d)Ans. 1. Start 2. Read X values 3. M X/ CM M/ Display M and CM values 5. Stop 1Q(e). The policy followed by a company to process customer orders is given by the following rules. i. If a customer order is less than or equal to that in stock and his credit is OK, supply his requirement. ii. If his credit is not OK do not supply. Send him intimation. iii. If the credit is OK but the item in stock is less than his order, supply what is in stack. Draw the flow chart to implement the company policy. start Read available stock in company Read customer order Order<=stoc Is credit OK? Is credit OK? Supply customer requirement Do not Supply send information Supply available stock to customer Do not Supply send information stop
3 1Q(f). A particular type of carpet costs Rs per square feet. How much will the carpeting cost for two connecting rooms? One room is 16 feet by 24 feet, and the other room is 12 feet by 14 feet. Draw the flow chart for this problem. 1(f)Ans: start Total_cost = (16* *14) * Display Total_cost stop 2Q(a). Write logical expressions that tests whether a given character variable c is lower case letter, upper case letter, letter digit and white space. 2(a)Ans: logical expression to test lower case letters -- c>= a && c<= z logical expression to test upper case letters -- c>= A && c<= Z logical expression to test digit letters -- c>= 0 && c<= 9 logical expression to test white space letters -- c== \n c== \t c == 2Q(b). Write a statement using conditional operator that will give the smallest of three numbers. 2(b)Ans: small = (a<b)?( (a<c)?(a):(c) ):( (b<c)?(b):(c) ); 2Q(c). 2(c)Ans: int p,q,r; p=3; q = 4; r = 0; r = (p++,q *= p); What are the values of p,q,r after execution of above code segment? p = 4 q = 16 r = 16 (OR) 2Q(d). Find out all possible errors in the following C program and then explain each error why those errors are coming and then correct this program by eliminating those errors so that, to get the expected output. Program to find the area of a triangle:-
4 int 1st_input_base, _2nd_input_height, Area; printf( /n/t enter 2 input values ); scanf( %d%d,&1st_input_base, &_2nd_input_height) Area == ½*1st_input_base * _2nd_input_height; printf( /nresult = %o,area); 2(d)Ans: Program to find the area of a triangle:- float first_input_base, _2nd_input_height, Area; printf( \n\t enter 2 input values ); scanf( %f%f,&first_input_base, &_2nd_input_height); Area = 0.5*first_input_base * _2nd_input_height; printf( \nresult = %f,area); - Red-colored things are syntax errors. They are corrected in the above program. Compare it with program given in question. - Yellow colored things are not syntax errors. But instead of \n and \t he given /n and /t. but we will not get error. - Brown colored things are run time errors. We will not get expected output because of integer division. 2Q(e). Identify the output of the following C program and then write reason. int a,b,c; a = 034; b = 345; c = a+b; printf("%d",c); c = b-a; printf("%x",c); 2(e)Ans: 373, 13d 2Q(f) Add arithmetic operators(plus, minus, multiply, divide) to make the following expression true: = 8. You can use any parentheses you d like. 2(f)Ans: 3-1%3+6 = 8 3Q(a). Develop an algorithm and program to find the total bill amount in shopping mall by reading total amount for purchased grocery. Service taxes and discounts are calculated as shown below. S.No Bill amount(rs) Service Tax Discount 1 If bill_amount <= 500 5% 1% 2 If bill_amount <= % tax for excess of 500 5% discount for excess of If bill_amount <= % tax for excess of % discount for excess of If bill_amount <= % tax for excess of % discount for excess of 2000
5 5 Else 25% tax for excess of % discount for excess of (a)Ans: Algorithm: 1. Start 2. Read bill_amount 3. If bill_amount <= 500 then do a. Service_tax = bill_amount/100*5.0 b. Discount = bill_amount/100*1.0 Else if bill_amount <=1500 then do a. Service_tax = 25+(bill_amount-500)/100*10.0 b. Discount = 5 + (bill_amount-500)/100*5.0 Else if bill_amount <=2000 then do a. Service_tax = 125+(bill_amount-1500)/100*15.0 b. Discount = 55+(bill_amount-1500)/100*10.0 Else if bill_amount <=2500 then do a. Service_tax = 200+(bill_amount-2000)/100*20.0 b. Discount = 105+ (bill_amount-2000)/100*15.0 Else if bill_amount > 2500 then do a. Service_tax = 300+(bill_amount-2500)/100*25.0 b. Discount = 180+ (bill_amount-2500)/100* Display total_bill _amount value 5. Stop. Program: float bill_amount,total_bill_amount,service_tax,discount; printf("\n enter bill amount"); scanf("%f",&bill_amount); if(bill_amount<=500.0) service_tax = bill_amount/100*5.0; discount = bill_amount/100*1.0; else if(bill_amount<=1500.0) service_tax = (bill_amount-500)/100*10.0; discount = (bill_amount-500)/100*5.0;
6 else if(bill_amount<=2000.0) service_tax = (bill_amount-1500)/100*15.0; discount = (bill_amount-1500)/100*10.0; else if(bill_amount<=2500.0) service_tax = (bill_amount-2000)/100*20.0; discount = (bill_amount-2000)/100*15.0; else if(bill_amount>2500.0) service_tax = (bill_amount-2500)/100*25.0; discount = (bill_amount-2500)/100*20.0; printf("\ntotal bill amount : %f",total_bill_amount); 3Q(b). If a five digit integer number is input through the keyboard, write a program to calculate the sum of its individual digits. int n,sum=0,d; printf( \n enter 5-digit number ); scanf( %d,&n); n = n/10; n = n/10; n = n/10; n = n/10; printf( %d,sum); 3.c) If the marks obtained by a student in 5 different subjects are input through the keyboard, find out the aggregate marks and percentage marks obtained by the student. Assume that the maximum marks that can be obtained by a student in each subject is 100. #include<conio.h> Void main()
7 int s1,s2,s3,s4,s5; float avg,total,percetage; printf( enter 5 subject marks ); scanf( %d%d%d%d%d,&s1,&s2,&s3,&s4,&s5); total=(s1+s2+s3+s4+s5); avg=total/5.0; percentage=(total/500)*100; printf( average marks=%f,avg); printf( percentage=%f,percentage); (OR) 3. d) Write a program that reads a positive integer and then counts the number of even digits and odd digits. #include<conio.h> int n,r,ecount,ocount; clrscr(); printf( enter an integer number ); scanf( %d,&n); ecount=ocount=0; while(n!=0) r=n%10; if(r%2==0) ecount++; else ocunt++; n=n/10; printf( \nnumber of even digits are %d,ecount); printf( \n number of odd digits are %d,ocount); e) A survey of the computer market shows that personal computers are sold at varying cost by the vendors. The following is the list of costs(in thousands) quoted by some vendors , 40.50, 25.00, 31.25, 68.15, 47.00,26.65, 29.00, 53.45, Write a program to determine the average cost and the range of values. #include<conio.h> Void main() Float a,b,c,d,e,f,g,h,i,j,avg; a=35.00; b= 40.50;
8 c= 25.00; d= 31.25; e= 68.15; f= 47.00; g=26.65; h=29.00; i= 53.45; j= 62.50; avg=(a+b+c+d+e+f+g+h)/10.00; printf( \n Average=%f,avg); printf( \n Range of values is to ); 3Q(f). Analyze outputs of the following two computer programs for all possible inputs and then find out whether these two are generating same outputs for the given all inputs or not. If not explain why they are not same with example. If yes, then create a proper problem statement for the following two programs. int a,b,t; printf( \n enter two numbers ); scanf( %d%d,&a,&b); t = a; a = b; b = t; printf( \na = %d \t b = %d,a,b); int a,b; printf( \n enter two numbers ); scanf( %d%d,&a,&b); a = a*b; b = a/b; a = a/b; printf( \na = %d \t b = %d,a,b); 3f.Ans: Both program will not give same output in all cases. For example if a = 10 and b = 0 in this case first program swap the values of a and b variables. But 2 nd program gives runtime error-divide by zero error.
9 Problem statement: program to swap the given two variable numbers.
To Evaluate an Algebraic Expression
1.5 Evaluating Algebraic Expressions 1.5 OBJECTIVES 1. Evaluate algebraic expressions given any signed number value for the variables 2. Use a calculator to evaluate algebraic expressions 3. Find the sum
More informationThe Utah Basic Skills Competency Test Framework Mathematics Content and Sample Questions
The Utah Basic Skills Competency Test Framework Mathematics Content and Questions Utah law (53A-1-611) requires that all high school students pass The Utah Basic Skills Competency Test in order to receive
More informationKeystone National Middle School Math Level 8 Placement Exam
Keystone National Middle School Math Level 8 Placement Exam 1) A cookie recipe calls for the following ingredients: 2) In the quadrilateral below, find the measurement in degrees for x? 1 ¼ cups flour
More information3/13/2012. Writing Simple C Programs. ESc101: Decision making using if-else and switch statements. Writing Simple C Programs
Writing Simple C Programs ESc101: Decision making using if- and switch statements Instructor: Krithika Venkataramani Semester 2, 2011-2012 Use standard files having predefined instructions stdio.h: has
More informationAdvanced GMAT Math Questions
Advanced GMAT Math Questions Version Quantitative Fractions and Ratios 1. The current ratio of boys to girls at a certain school is to 5. If 1 additional boys were added to the school, the new ratio of
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 informationarrays C Programming Language - Arrays
arrays So far, we have been using only scalar variables scalar meaning a variable with a single value But many things require a set of related values coordinates or vectors require 3 (or 2, or 4, or more)
More informationComputer Science 217
Computer Science 217 Midterm Exam Fall 2009 October 29, 2009 Name: ID: Instructions: Neatly print your name and ID number in the spaces provided above. Pick the best answer for each multiple choice question.
More informationAnswer: Quantity A is greater. Quantity A: 0.717 0.717717... Quantity B: 0.71 0.717171...
Test : First QR Section Question 1 Test, First QR Section In a decimal number, a bar over one or more consecutive digits... QA: 0.717 QB: 0.71 Arithmetic: Decimals 1. Consider the two quantities: Answer:
More informationOutline. Conditional Statements. Logical Data in C. Logical Expressions. Relational Examples. Relational Operators
Conditional Statements For computer to make decisions, must be able to test CONDITIONS IF it is raining THEN I will not go outside IF Count is not zero THEN the Average is Sum divided by Count Conditions
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 informationAssessment For The California Mathematics Standards Grade 6
Introduction: Summary of Goals GRADE SIX By the end of grade six, students have mastered the four arithmetic operations with whole numbers, positive fractions, positive decimals, and positive and negative
More informationSection IV.1: Recursive Algorithms and Recursion Trees
Section IV.1: Recursive Algorithms and Recursion Trees Definition IV.1.1: A recursive algorithm is an algorithm that solves a problem by (1) reducing it to an instance of the same problem with smaller
More informationConditionals (with solutions)
Conditionals (with solutions) For exercises 1 to 27, indicate the output that will be produced. Assume the following declarations: final int MAX = 25, LIMIT = 100; int num1 = 12, num2 = 25, num3 = 87;
More informationHow do you compare numbers? On a number line, larger numbers are to the right and smaller numbers are to the left.
The verbal answers to all of the following questions should be memorized before completion of pre-algebra. Answers that are not memorized will hinder your ability to succeed in algebra 1. Number Basics
More informationThe majority of college students hold credit cards. According to the Nellie May
CHAPTER 6 Factoring Polynomials 6.1 The Greatest Common Factor and Factoring by Grouping 6. Factoring Trinomials of the Form b c 6.3 Factoring Trinomials of the Form a b c and Perfect Square Trinomials
More informationTest 4 Sample Problem Solutions, 27.58 = 27 47 100, 7 5, 1 6. 5 = 14 10 = 1.4. Moving the decimal two spots to the left gives
Test 4 Sample Problem Solutions Convert from a decimal to a fraction: 0.023, 27.58, 0.777... For the first two we have 0.023 = 23 58, 27.58 = 27 1000 100. For the last, if we set x = 0.777..., then 10x
More informationMathematics Common Core Sample Questions
New York State Testing Program Mathematics Common Core Sample Questions Grade6 The materials contained herein are intended for use by New York State teachers. Permission is hereby granted to teachers and
More information10-4-10 Year 9 mathematics: holiday revision. 2 How many nines are there in fifty-four?
DAY 1 Mental questions 1 Multiply seven by seven. 49 2 How many nines are there in fifty-four? 54 9 = 6 6 3 What number should you add to negative three to get the answer five? 8 4 Add two point five to
More informationSquare Roots and the Pythagorean Theorem
4.8 Square Roots and the Pythagorean Theorem 4.8 OBJECTIVES 1. Find the square root of a perfect square 2. Use the Pythagorean theorem to find the length of a missing side of a right triangle 3. Approximate
More informationQuick Reference ebook
This file is distributed FREE OF CHARGE by the publisher Quick Reference Handbooks and the author. Quick Reference ebook Click on Contents or Index in the left panel to locate a topic. The math facts listed
More informationSAMPLE TEST PAPER-1 COMMON APTITUDE TEST (CAT) 2012
SAMPLE TEST PAPER-1 COMMON APTITUDE TEST (CAT) 2012 CLASS V MATHS Q1. Tick ( ) the correct answer (1.) The sum of place values of 9 and 1 in 479810 is (a.) 9010 (b.) 9001 (c.) 9100 (d.) 1900 (2.) The number
More informationTo Multiply Decimals
4.3 Multiplying Decimals 4.3 OBJECTIVES 1. Multiply two or more decimals 2. Use multiplication of decimals to solve application problems 3. Multiply a decimal by a power of ten 4. Use multiplication by
More informationFormulas and Problem Solving
2.4 Formulas and Problem Solving 2.4 OBJECTIVES. Solve a literal equation for one of its variables 2. Translate a word statement to an equation 3. Use an equation to solve an application Formulas are extremely
More informationTest A. Calculator not allowed. Mathematics test. First name. Last name. School. DfE no. KEY STAGE LEVELS
Ma KEY STAGE 2 LEVELS 3 5 Mathematics test Test A Calculator not allowed First name Last name School DfE no. 2011 For marker s use only Page 5 7 9 11 13 15 17 19 21 23 TOTAL Marks These three children
More informationPhonics. High Frequency Words P.008. Objective The student will read high frequency words.
P.008 Jumping Words Objective The student will read high frequency words. Materials High frequency words (P.HFW.005 - P.HFW.064) Choose target words. Checkerboard and checkers (Activity Master P.008.AM1a
More informationA.2. Exponents and Radicals. Integer Exponents. What you should learn. Exponential Notation. Why you should learn it. Properties of Exponents
Appendix A. Exponents and Radicals A11 A. Exponents and Radicals What you should learn Use properties of exponents. Use scientific notation to represent real numbers. Use properties of radicals. Simplify
More informationScanner sc = new Scanner(System.in); // scanner for the keyboard. Scanner sc = new Scanner(System.in); // scanner for the keyboard
INPUT & OUTPUT I/O Example Using keyboard input for characters import java.util.scanner; class Echo{ public static void main (String[] args) { Scanner sc = new Scanner(System.in); // scanner for the keyboard
More informationFive daily lessons. Page 23. Page 25. Page 29. Pages 31
Unit 4 Fractions and decimals Five daily lessons Year 5 Spring term Unit Objectives Year 5 Order a set of fractions, such as 2, 2¾, 1¾, 1½, and position them on a number line. Relate fractions to division
More informationComputer Science 2nd Year Solved Exercise. Programs 3/4/2013. Aumir Shabbir Pakistan School & College Muscat. Important. Chapter # 3.
2013 Computer Science 2nd Year Solved Exercise Chapter # 3 Programs Chapter # 4 Chapter # 5 Chapter # 6 Chapter # 7 Important Work Sheets Aumir Shabbir Pakistan School & College Muscat 3/4/2013 Chap #
More informationPowerScore Test Preparation (800) 545-1750
Question 1 Test 1, Second QR Section (version 1) List A: 0, 5,, 15, 20... QA: Standard deviation of list A QB: Standard deviation of list B Statistics: Standard Deviation Answer: The two quantities are
More informationPython Lists and Loops
WEEK THREE Python Lists and Loops You ve made it to Week 3, well done! Most programs need to keep track of a list (or collection) of things (e.g. names) at one time or another, and this week we ll show
More informationNegative Integral Exponents. If x is nonzero, the reciprocal of x is written as 1 x. For example, the reciprocal of 23 is written as 2
4 (4-) Chapter 4 Polynomials and Eponents P( r) 0 ( r) dollars. Which law of eponents can be used to simplify the last epression? Simplify it. P( r) 7. CD rollover. Ronnie invested P dollars in a -year
More informationMath Questions & Answers
What five coins add up to a nickel? five pennies (1 + 1 + 1 + 1 + 1 = 5) Which is longest: a foot, a yard or an inch? a yard (3 feet = 1 yard; 12 inches = 1 foot) What do you call the answer to a multiplication
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 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 informationRatios (pages 288 291)
A Ratios (pages 2 29) A ratio is a comparison of two numbers by division. Ratio Arithmetic: to : Algebra: a to b a:b a b When you write a ratio as a fraction, write it in simplest form. Two ratios that
More informationAnswer: The relationship cannot be determined.
Question 1 Test 2, Second QR Section (version 3) In City X, the range of the daily low temperatures during... QA: The range of the daily low temperatures in City X... QB: 30 Fahrenheit Arithmetic: Ranges
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 informationArea and Circumference
4.4 Area and Circumference 4.4 OBJECTIVES 1. Use p to find the circumference of a circle 2. Use p to find the area of a circle 3. Find the area of a parallelogram 4. Find the area of a triangle 5. Convert
More informationXI. Mathematics, Grade 5
XI. Mathematics, Grade 5 Grade 5 Mathematics Test The spring 2013 grade 5 Mathematics test was based on standards in the five major domains for grade 5 in the Massachusetts Curriculum Framework for Mathematics
More information5 Mathematics Curriculum
New York State Common Core 5 Mathematics Curriculum G R A D E GRADE 5 MODULE 1 Topic B Decimal Fractions and Place Value Patterns 5.NBT.3 Focus Standard: 5.NBT.3 Read, write, and compare decimals to thousandths.
More informationPaper 1. Calculator not allowed. Mathematics test. First name. Last name. School. Remember KEY STAGE 3 TIER 4 6
Ma KEY STAGE 3 Mathematics test TIER 4 6 Paper 1 Calculator not allowed First name Last name School 2009 Remember The test is 1 hour long. You must not use a calculator for any question in this test. You
More information7 th Grade Integer Arithmetic 7-Day Unit Plan by Brian M. Fischer Lackawanna Middle/High School
7 th Grade Integer Arithmetic 7-Day Unit Plan by Brian M. Fischer Lackawanna Middle/High School Page 1 of 20 Table of Contents Unit Objectives........ 3 NCTM Standards.... 3 NYS Standards....3 Resources
More informationKristen Kachurek. Circumference, Perimeter, and Area Grades 7-10 5 Day lesson plan. Technology and Manipulatives used:
Kristen Kachurek Circumference, Perimeter, and Area Grades 7-10 5 Day lesson plan Technology and Manipulatives used: TI-83 Plus calculator Area Form application (for TI-83 Plus calculator) Login application
More informationArithmetic Review ORDER OF OPERATIONS WITH WHOLE NUMBERS
Arithmetic Review The arithmetic portion of the Accuplacer Placement test consists of seventeen multiple choice questions. These questions will measure skills in computation of whole numbers, fractions,
More informationVOLUME of Rectangular Prisms Volume is the measure of occupied by a solid region.
Math 6 NOTES 7.5 Name VOLUME of Rectangular Prisms Volume is the measure of occupied by a solid region. **The formula for the volume of a rectangular prism is:** l = length w = width h = height Study Tip:
More informationSolving Equations With Fractional Coefficients
Solving Equations With Fractional Coefficients Some equations include a variable with a fractional coefficient. Solve this kind of equation by multiplying both sides of the equation by the reciprocal of
More informationCopy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any.
Algebra 2 - Chapter Prerequisites Vocabulary Copy in your notebook: Add an example of each term with the symbols used in algebra 2 if there are any. P1 p. 1 1. counting(natural) numbers - {1,2,3,4,...}
More informationUnit 5 Length. Year 4. Five daily lessons. Autumn term Unit Objectives. Link Objectives
Unit 5 Length Five daily lessons Year 4 Autumn term Unit Objectives Year 4 Suggest suitable units and measuring equipment to Page 92 estimate or measure length. Use read and write standard metric units
More informationChapter 3. Input and output. 3.1 The System class
Chapter 3 Input and output The programs we ve looked at so far just display messages, which doesn t involve a lot of real computation. This chapter will show you how to read input from the keyboard, use
More informationBoolean Algebra Part 1
Boolean Algebra Part 1 Page 1 Boolean Algebra Objectives Understand Basic Boolean Algebra Relate Boolean Algebra to Logic Networks Prove Laws using Truth Tables Understand and Use First Basic Theorems
More informationMATH 90 CHAPTER 6 Name:.
MATH 90 CHAPTER 6 Name:. 6.1 GCF and Factoring by Groups Need To Know Definitions How to factor by GCF How to factor by groups The Greatest Common Factor Factoring means to write a number as product. a
More informationInvestigating Relationships of Area and Perimeter in Similar Polygons
Investigating Relationships of Area and Perimeter in Similar Polygons Lesson Summary: This lesson investigates the relationships between the area and perimeter of similar polygons using geometry software.
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 informationLesson 13: The Formulas for Volume
Student Outcomes Students develop, understand, and apply formulas for finding the volume of right rectangular prisms and cubes. Lesson Notes This lesson is a continuation of Lessons 11, 12, and Module
More informationConverting Units of Measure Measurement
Converting Units of Measure Measurement Outcome (lesson objective) Given a unit of measurement, students will be able to convert it to other units of measurement and will be able to use it to solve contextual
More information4 Mathematics Curriculum
New York State Common Core 4 Mathematics Curriculum G R A D E GRADE 4 MODULE 1 Topic F Addition and Subtraction Word Problems 4.OA.3, 4.NBT.1, 4.NBT.2, 4.NBT.4 Focus Standard: 4.OA.3 Solve multistep word
More informationTHE UNIVERSITY OF TRINIDAD & TOBAGO
THE UNIVERSITY OF TRINIDAD & TOBAGO FINAL ASSESSMENT/EXAMINATIONS DECEMBER 2013 Course Code and Title: Reasoning and Logic for Computing Programme: Diploma in Software Engineering Date and Time: 12 December
More informationWRITING EQUATIONS USING THE 5-D PROCESS #43
WRITING EQUATIONS USING THE 5-D PROCESS #43 You have used the 5-D Process to solve problems. However, solving complicated problems with the 5-D Process can be time consuming and it may be difficult to
More informationSummer Math Packet. For Students Entering Grade 5 $3.98. Student s Name 63 9 = Review and Practice of Fairfield Math Objectives and CMT Objectives
Summer Math Packet 63 9 = Green Yellow Green Orange Orange Yellow $3.98 1 Green A B C D Red 8 1 2 3 4 5 Student s Name June 2013 Review and Practice of Fairfield Math Objectives and CMT Objectives 1 Summer
More informationElementary Number Theory and Methods of Proof. CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.
Elementary Number Theory and Methods of Proof CSE 215, Foundations of Computer Science Stony Brook University http://www.cs.stonybrook.edu/~cse215 1 Number theory Properties: 2 Properties of integers (whole
More informationQ&As: Microsoft Excel 2013: Chapter 2
Q&As: Microsoft Excel 2013: Chapter 2 In Step 5, why did the date that was entered change from 4/5/10 to 4/5/2010? When Excel recognizes that you entered a date in mm/dd/yy format, it automatically formats
More informationALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite
ALGEBRA Pupils should be taught to: Generate and describe sequences As outcomes, Year 7 pupils should, for example: Use, read and write, spelling correctly: sequence, term, nth term, consecutive, rule,
More informationInternational Indian School, Riyadh SA1 Worksheet 2015-2016 Class: VI Mathematics
International Indian School, Riyadh SA1 Worksheet 2015-2016 Class: VI Mathematics CH KNOWING OUR NUMBERS I Fill In the blanks 1. 1km = mm 2. 1 gram = milligrams 3. The roman numeral M stands for the number
More informationPaper 1. Calculator not allowed. Mathematics test. First name. Last name. School. Remember KEY STAGE 3 TIER 5 7
Ma KEY STAGE 3 Mathematics test TIER 5 7 Paper 1 Calculator not allowed First name Last name School 2009 Remember The test is 1 hour long. You must not use a calculator for any question in this test. You
More informationMath Review. for the Quantitative Reasoning Measure of the GRE revised General Test
Math Review for the Quantitative Reasoning Measure of the GRE revised General Test www.ets.org Overview This Math Review will familiarize you with the mathematical skills and concepts that are important
More informationPlaying with Numbers
PLAYING WITH NUMBERS 249 Playing with Numbers CHAPTER 16 16.1 Introduction You have studied various types of numbers such as natural numbers, whole numbers, integers and rational numbers. You have also
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 informationNMC Sample Problems: Grade 5
NMC Sample Problems: Grade 5 1. What is the value of 5 6 3 4 + 2 3 1 2? 1 3 (a) (b) (c) (d) 1 5 1 4 4 4 12 12 2. What is the value of 23, 456 + 15, 743 3, 894 expressed to the nearest thousand? (a) 34,
More informationClock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter 4 described a mathematical system
CHAPTER Number Theory FIGURE FIGURE FIGURE Plus hours Plus hours Plus hours + = + = + = FIGURE. Clock Arithmetic and Modular Systems Clock Arithmetic The introduction to Chapter described a mathematical
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 informationAssessment For The California Mathematics Standards Grade 3
Introduction: Summary of Goals GRADE THREE By the end of grade three, students deepen their understanding of place value and their understanding of and skill with addition, subtraction, multiplication,
More informationSample Exit Interview Survey Dual Range Analysis Report
Table of Contents Interpreting this Report... 2 Performance Analysis... 3 Rating Analysis... 3 Improvement Areas... 4 Key Improvement Areas... 4 Maintain Performance... 4 Ranking Tables... 5 Performance
More informationPaper Reference. Ruler graduated in centimetres and millimetres, protractor, compasses, pen, HB pencil, eraser. Tracing paper may be used.
Centre No. Candidate No. Paper Reference 1 3 8 0 1 F Paper Reference(s) 1380/1F Edexcel GCSE Mathematics (Linear) 1380 Paper 1 (Non-Calculator) Foundation Tier Monday 7 June 2010 Afternoon Time: 1 hour
More informationLesson 21. Circles. Objectives
Student Name: Date: Contact Person Name: Phone Number: Lesson 1 Circles Objectives Understand the concepts of radius and diameter Determine the circumference of a circle, given the diameter or radius Determine
More information1) (-3) + (-6) = 2) (2) + (-5) = 3) (-7) + (-1) = 4) (-3) - (-6) = 5) (+2) - (+5) = 6) (-7) - (-4) = 7) (5)(-4) = 8) (-3)(-6) = 9) (-1)(2) =
Extra Practice for Lesson Add or subtract. ) (-3) + (-6) = 2) (2) + (-5) = 3) (-7) + (-) = 4) (-3) - (-6) = 5) (+2) - (+5) = 6) (-7) - (-4) = Multiply. 7) (5)(-4) = 8) (-3)(-6) = 9) (-)(2) = Division is
More informationScope and Sequence KA KB 1A 1B 2A 2B 3A 3B 4A 4B 5A 5B 6A 6B
Scope and Sequence Earlybird Kindergarten, Standards Edition Primary Mathematics, Standards Edition Copyright 2008 [SingaporeMath.com Inc.] The check mark indicates where the topic is first introduced
More informationAlgorithm and Flowchart. 204112 Structured Programming 1
Algorithm and Flowchart 204112 Structured Programming 1 Programming Methodology Problem solving Coding Problem statement and analysis Develop a high-level algorithm Detail out a low-level algorithm Choose
More informationMath 10 - Unit 3 Final Review - Numbers
Class: Date: Math 10 - Unit Final Review - Numbers Multiple Choice Identify the choice that best answers the question. 1. Write the prime factorization of 60. a. 2 7 9 b. 2 6 c. 2 2 7 d. 2 7 2. Write the
More informationIn this Chapter you ll learn:
Now go, write it before them in a table, and note it in a book. Isaiah 30:8 To go beyond is as wrong as to fall short. Confucius Begin at the beginning, and go on till you come to the end: then stop. Lewis
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 informationComputers. An Introduction to Programming with Python. Programming Languages. Programs and Programming. CCHSG Visit June 2014. Dr.-Ing.
Computers An Introduction to Programming with Python CCHSG Visit June 2014 Dr.-Ing. Norbert Völker Many computing devices are embedded Can you think of computers/ computing devices you may have in your
More informationReady, Set, Go! Math Games for Serious Minds
Math Games with Cards and Dice presented at NAGC November, 2013 Ready, Set, Go! Math Games for Serious Minds Rande McCreight Lincoln Public Schools Lincoln, Nebraska Math Games with Cards Close to 20 -
More information1 st Grade Math Do-Anytime Activities
1 st Grade Have your child help create a number line (0-15) outside with sidewalk chalk. Call out a number and have your child jump on that number. Make up directions such as Hop to the number that is
More informationSAT Math Facts & Formulas Review Quiz
Test your knowledge of SAT math facts, formulas, and vocabulary with the following quiz. Some questions are more challenging, just like a few of the questions that you ll encounter on the SAT; these questions
More informationMost Common Words Transfer Card: List 1
Most Common Words Transfer Card: List 1 the to a and in you that of it not for I is an Meg is in the bed. That is not for you. It is in a bag. I am not mad. Most Common Words Transfer Card: List 2 on with
More informationMicrosoft Access 3: Understanding and Creating Queries
Microsoft Access 3: Understanding and Creating Queries In Access Level 2, we learned how to perform basic data retrievals by using Search & Replace functions and Sort & Filter functions. For more complex
More informationPaper 1. Mathematics test. Calculator not allowed. First name. Last name. School KEY STAGE TIER
Ma KEY STAGE 3 TIER 4 6 2005 Mathematics test Paper 1 Calculator not allowed Please read this page, but do not open your booklet until your teacher tells you to start. Write your name and the name of your
More informationMeasurement: Converting Distances
Measurement: Converting Distances Measuring Distances Measuring distances is done by measuring length. You may use a different system to measure length differently than other places in the world. This
More informationWhat is Microsoft Excel?
What is Microsoft Excel? Microsoft Excel is a member of the spreadsheet family of software. Spreadsheets allow you to keep track of data, create charts based from data, and perform complex calculations.
More informationSample Problems. Practice Problems
Lecture Notes Quadratic Word Problems page 1 Sample Problems 1. The sum of two numbers is 31, their di erence is 41. Find these numbers.. The product of two numbers is 640. Their di erence is 1. Find these
More informationPowerScore Test Preparation (800) 545-1750
Question 1 Test 1, Second QR Section (version 2) Two triangles QA: x QB: y Geometry: Triangles Answer: Quantity A is greater 1. The astute student might recognize the 0:60:90 and 45:45:90 triangle right
More informationIntroduction Assignment
PRE-CALCULUS 11 Introduction Assignment Welcome to PREC 11! This assignment will help you review some topics from a previous math course and introduce you to some of the topics that you ll be studying
More informationThe Determinant: a Means to Calculate Volume
The Determinant: a Means to Calculate Volume Bo Peng August 20, 2007 Abstract This paper gives a definition of the determinant and lists many of its well-known properties Volumes of parallelepipeds are
More informationGrade 7 & 8 Math Circles October 19, 2011 Prime Numbers
1 University of Waterloo Faculty of Mathematics Centre for Education in Mathematics and Computing Grade 7 & 8 Math Circles October 19, 2011 Prime Numbers Factors Definition: A factor of a number is a whole
More informationLaboratory Assignments of OBJECT ORIENTED METHODOLOGY & PROGRAMMING (USING C++) [IT 553]
Laboratory Assignments of OBJECT ORIENTED METHODOLOGY & PROGRAMMING (USING C++) [IT 553] Books: Text Book: 1. Bjarne Stroustrup, The C++ Programming Language, Addison Wesley 2. Robert Lafore, Object-Oriented
More informationUnit 7 The Number System: Multiplying and Dividing Integers
Unit 7 The Number System: Multiplying and Dividing Integers Introduction In this unit, students will multiply and divide integers, and multiply positive and negative fractions by integers. Students will
More information