ECE 608: Computational Models and Methods, Fall 2005 Test #1 Monday, October 3, Prob. Max. Score I 15 II 10 III 10 IV 15 V 30 VI 20 Total 100

Similar documents
ORTHOGONAL ARRAYS. PRIYA KOHLI M.Sc. (Agricultural Statistics), Roll No I.A.S.R.I, Library Avenue, New Delhi

Measures of Spread: Standard Deviation

Chapter 02 Crime-Scene Investigation and Evidence Collection

Concepts Module 7: Comparing Datasets and Comparing a Dataset with a Standard

How is the President Doing? Sampling Distribution for the Mean. Now we move toward inference. Bush Approval Ratings, Week of July 7, 2003

Java Application Development

Cycle Therapy A Prescription for Fold and Unfold on Regular Trees

Sec 7.6 Inferences & Conclusions From Data Central Limit Theorem

l A data structure representing a list l A series of dynamically allocated nodes l A separate pointer (the head) points to the first

Introductions to ExtendedGCD

Statistics 11 Lecture 18 Sampling Distributions (Chapter 6-2, 6-3) 1. Definitions again

! A data structure representing a list. ! A series of dynamically allocated nodes. ! A separate pointer (the head) points to the first

Satoshi Yoshida* and Takuya Kida* *Hokkaido University Graduate school of Information Science and Technology Division of Computer Science

Estimation and Confidence Intervals

Chem 135: First Midterm

Finite-Dimensional Linear Algebra Errata for the first printing

Statistics Lecture 13 Sampling Distributions (Chapter 18) fe1. Definitions again

Standard deviation The formula for the best estimate of the population standard deviation from a sample is:

I.G.C.S.E. Sine and Cosine Rules. You can access the solutions from the end of each question

Statistical Analysis and Graphing

Appendix C: Concepts in Statistics

Intro to Scientific Analysis (BIO 100) THE t-test. Plant Height (m)

International Journal of Mathematical Archive-4(3), 2013, Available online through ISSN

Digital Signal Processing, Fall 2006

Chapter 8 Descriptive Statistics

Optimizing Metam Sodium Fumigation in Fine-Textured Soils

CHAPTER 8 ANSWERS. Copyright 2012 Pearson Education, Inc. Publishing as Addison-Wesley

Scientific research on the biological value of olive oil

Central Algorithmic Techniques. Iterative Algorithms

SOME MECHANISTIC CONCEPTS IN ELECTROPHILIC ADDITION REACTIONS TO C=C BONDS

EDEXCEL NATIONAL CERTIFICATE UNIT 28 FURTHER MATHEMATICS FOR TECHNICIANS OUTCOME 1- ALGEBRAIC TECHNIQUES TUTORIAL 3 - STATISTICAL TECHNIQUES

Math 254 Calculus Exam 1 Review Three-Dimensional Coordinate System Vectors The Dot Product

Measuring Dispersion

Sampling Distributions and Confidence Intervals

Numerical Solutions of Fredholm Integral Equation of Second Kind Using Piecewise Bernoulli Polynomials

Outline. Neutron Interactions and Dosimetry. Introduction. Tissue composition. Neutron kinetic energy. Neutron kinetic energy.

Technical Assistance Document Algebra I Standard of Learning A.9

Chapter. Lesson. arrays. as skip-counting. multiplication

XII. HIV/AIDS. Knowledge about HIV Transmission and Misconceptions about HIV

VLSI Design 15. Dynamic CMOS Circuits

Objectives. Sampling Distributions. Overview. Learning Objectives. Statistical Inference. Distribution of Sample Mean. Central Limit Theorem

2. Hubs and authorities, a more detailed evaluation of the importance of Web pages using a variant of

Lecture Outline. BIOST 514/517 Biostatistics I / Applied Biostatistics I. Paradigm of Statistics. Inferential Statistic.

Objectives. Types of Statistical Inference. Statistical Inference. Chapter 19 Confidence intervals: Estimating with confidence

Self-Care Management for Patients with Congenital Muscular Torticollis: % Caregivers Independent with Home Exercise Program

Agilent G6825AA MassHunter Pathways to PCDL Software Quick Start Guide

Ch 9 In-class Notes: Cell Reproduction

2 nd Properties of the Exponential Functions

P AND K IN POTATOES. Donald A Horneck Oregon State University Extension Service

Minimum skills required by children to complete healthrelated quality of life instruments for asthma: comparison of measurement properties

LALR Analysis. LALR Analysis. LALR Analysis. LALR Analysis

Appendix J Environmental Justice Populations

Optimisation of diets for Atlantic cod (Gadus morhua) broodstock: effect of arachidonic acid on egg & larval quality

Input from external experts and manufacturer on the 2 nd draft project plan Stool DNA testing for early detection of colorectal cancer

23.3 Sampling Distributions

S3: Ultrasensitization is Preserved for Transient Stimuli

Fatty Acid Synthesis. Sources of Fatty Acids: Sites of Fatty Acid Synthesis:

Modified Early Warning Score Effect in the ICU Patient Population

Design Quadratic Patch and Cubic Patch of the Surface

Invasive Pneumococcal Disease Quarterly Report July September 2018

Open-Source Programming of Cardiovascular Pressure-Flow Dynamics Using SimPower Toolbox in Matlab and Simulink

What is a file system Link? Hard & Symbolic Links. What is a file system Link? What is a file system Link? Murray Saul Seneca College

THE EVALUATION OF DEHULLED CANOLA MEAL IN THE DIETS OF GROWING AND FINISHING PIGS

Using Paclobutrazol to Suppress Inflorescence Height of Potted Phalaenopsis Orchids

CEREC Omnicam: scanning simplicity.

Review for Chapter 9

Chapter 21. Recall from previous chapters: Statistical Thinking. Chapter What Is a Confidence Interval? Review: empirical rule

Simple intervention to improve detection of hepatitis B and hepatitis C in general practice

Should We Care How Long to Publish? Investigating the Correlation between Publishing Delay and Journal Impact Factor 1

RADIESSE Dermal Filler for the Correction of Moderate to Severe Facial Wrinkles and Folds, Such As Nasolabial Folds

NTSE-2013(Stage-I) (For Class X Students) ENGLISH LANGUAGE TEST

Check your understanding 3

Using Ideal Observers in Higher-order Human Category Learning

METHOD 4010 SCREENING FOR PENTACHLOROPHENOL BY IMMUNOASSAY

Arthritis & Rheumatism

CS Artificial Intelligence 2007 Semester 2. CompSci 366. Classical Planning: Regression Planning. Part II: Lecture 5 1 of 20

5/7/2014. Standard Error. The Sampling Distribution of the Sample Mean. Example: How Much Do Mean Sales Vary From Week to Week?

Supplementary Information for: Use of Fibonacci numbers in lipidomics. Enumerating various classes of fatty acids

A PATIENT S GUIDE TO PLASMA EXCHANGE

10 Read and match. 11 2: : Play the game. HOME SCHOOL

build Firm, sexy arms

Not for Citation or Publication Without Consent of the Author

EFFECT OF DIETARY ENZYME ON PERFORMANCE OF WEANLING PIGS

Development Report of Powerful Acoustic Computing Environment

WSU Tree Fruit Research and Extension Center, Wenatchee (509) ext. 265;

Caribbean Examinations Council Secondary Education Certificate School Based Assessment Additional Math Project

Practical Basics of Statistical Analysis

An Energy Efficient Seizure Prediction Algorithm

Autism Awareness Education. April 2018

STATISTICAL ANALYSIS & ASTHMATIC PATIENTS IN SULAIMANIYAH GOVERNORATE IN THE TUBER-CLOSES CENTER

Comparison of speed and accuracy between manual and computer-aided measurements of dental arch and jaw arch lengths in study model casts

Click to Edit Master Title

SMV Outpatient Zero Suicide Initiative Oct 14 to Dec 16

BioPlex 2200 ToRC IgG and IgM Assays

Measuring the Ability to Identify One s Own Emotions: The Development and Initial Psychometric Evaluation of a Maximum-Performance Test

INFORMATION FOR YOU AND YOUR FAMILY. Melody Transcatheter Pulmonary Valve Therapy

EFFECTS OF INGREDIENT AND WHOLE DIET IRRADIATION ON NURSERY PIG PERFORMANCE

Item Reduction and Psychometric Validation of the Oily Skin Self Assessment Scale (OSSAS) and the Oily Skin Impact Scale (OSIS)vhe_

INTERNATIONAL STUDENT TIMETABLE SYDNEY CAMPUS

Transcription:

Nme: ECE 608: Computtiol Models d Methods, Fll 005 Test # Mody, Octoer 3, 005! Your em should hve 0 (te pges.! Pge 9 is itetiolly left l.! Pge 0 cotis list of potetilly useful idetities tht you my use.! Write your me o this pge d t lest oe other pge.! Closed oo, closed otes.! Switch off d put wy cell-phoes/pgers! Apportio your time crefully.! Numers i rcets represet poits for tht questio. Poits dd up to 00.! Good luc. Pro. M. Score I 5 II 0 III 0 IV 5 V 30 VI 0 Totl 00 Pge of 0

Nme: I. (5 poits Ctegorize the followig sttemets s True or Flse.. The summtio is lower-ouded y the followig itegrl: lg( lg( 9 d 0 for ll 5.. The worst-cse compleity of BUILDHEAP is O ( lg. i i c. If T (, for some costt positive iteger i, the T ( Θ( d. There my eist compriso sort lgorithm whose worst-cse symptotic time compleity is give y the followig recurrece: 73 l( T ( T, > d T (,. 34 e. HEAPSORT d QUICKSORT hve ideticl symptotic time compleity i the worst cse. II. (0 poits Prove usig iductio tht if f cf ( is true whe, >, > d f( is symptoticlly positive fuctio of, the i i f c f ( i lso holds true for ll i power of.. Assume tht is ect Pge of 0

Nme: III. (0 poits Summtios d Recurreces.. (7 poits If c f ( where is costt, prove tht. > 0 c ( ( f Θ. (3 poits Is the Mster method suitle/pplicle to derive the symptotic compleity of the followig recurrece? If so, stte the symptotic compleity. If ot, stte why the method is ot pplicle. >,, 3 ( T T Pge 3 of 0

Nme: IV. (5 poits Arrge the followig fuctios i icresig order of symptotic compleity. If multiple fuctios re of equivlet compleity OR if certi fuctios cot e compred with others i the list, your swer must stte it eplicitly.. T ( 0T Θ( 3. The worst-cse symptotic compleity of INSERT_SORT with - elemet iput c. si ( lg lg d. lg e. The worst-cse symptotic compleity of BUILDHEAP with -elemet iput. Pge 4 of 0

Nme: V. (30 poits A -ry tree is tree where ech verte my hve upto childvertices which re umered from to. By covetio, the child vertices re rrged from left to right i icresig order of umerig. (Note, iry-tree is -ry tree with d the first child leled s the left child d the secod child leled s the right child. We defie -ry MAX-HEAP s - ry tree tht stisfies the followig two properties: (i Nerly-complete property: All o-lef vertices, ecept for possily oe, hve childre. If o-lef verte hs fewer th childre (which must ll e left-most childre, it is the right-most verte t tht depth with childre. Fig illustrtes erly-complete 3-ry tree. (ii M-Hep property: The ey of the pret must e greter th or equl to the ey of the child. Fig : Nerly-complete 3-ry tree The -ry hep is to e stored i rry. Provide the pseudocode for the followig -ry hep mipultio primitives. (Hit: Sice the trditiol iry hep is specil cse of the -ry hep, you c verify the correctess of your pseudocode y testig it with.. (5 poits JTH-CHILD(i,j, : Returs the ide of the j th ( j child of verte i i -ry hep. Hit: It my e esier to derive the reltioship etwee pret d its th (i.e., right-most child. The ide of other child odes my e clculted usig offset from the th child. Your code eed ot iclude error hdlig to chec for ivlid rgumets. Pge 5 of 0

Nme:. (5 poits PARENT(i, : Returs ide of the pret of verte i i - ry hep. c. (0 poits KARY-MAX-HEAPIFY(A, i, : This fuctio must restore the hep property i -ry m-hep (cotied i rry A i which oly the i th elemet violtes the hep property. You my use the PARENT( d JTH-CHILD( primitives developed i prts ( d ( ove. Pge 6 of 0

Nme: d. (0 poits BUILD-KARY-MAX-HEAP(A, : This fuctio must uild hep from uordered list of elemets supplied i the rry A. You my use the PARENT(, JTH-CHILD(, d KARY-MAX-HEAPIFY( primitives developed i prts (, ( d (c ove. Pge 7 of 0

Nme: VI. (0 poits The ECE 608 clss hs developed ew versio of PARTITION clled PARTITION608 with the followig properties. Whe the iput rry cotis t lest 7 (608* elemets, PARTITION608 selects the pivot elemet such tht ech prtitio hs t lest 608 elemets. Whe the iput rry is smller th 6, PARTITION608 returs the ide of medi of the rry s the pivot resultig i eve split. PARTITION608 rus i lier time. QUICKSORT608, mior modifictio of QUICKSORT, ivoes PARTITION608 isted of the sic PARTITION fuctio. The recursio termites whe QUICKSORT608 is ivoed o sigle-elemet rry.. (5 poits Let T( e the symptotic worst-cse time compleity of QUICKSORT608. Epress T( s recurrece.. (5 poits Solve the recurrece otied i ( to derive symptotic tight ouds for the worst-cse time compleity of QUICKSORT608. Pge 8 of 0

Nme: Pge 9 of 0

Nme: Pge 0 of 0 Potetilly Useful Idetities d Approimtios ( ( Θ Ο < e m m m m m c c e! 4 ( 6 ( ( ( ( l(,. lg(lg( lg lg (lg lg l lg 3 0 0 π