Documents Found!
As seen in
Less Work, Better Grades
Join
Course Hero
Access
best resources
Ace
your classes
Ace your courses with Course Hero!

Submit your homework question or assignment here:
352 Tutors are online
 
We are so confident that you will love our service, we will answer your first homework question for FREE!
*  Attach Assignment (optional):
 
Study Smarter, Score Higher
 
Document Content (unformatted)
Course Hero has millions of student submitted documents similar to the one below including study guides, homework solutions, papers, exam answer keys and textbook solutions.
5 Chapter Circular Motion; Gravitation Units of Chapter 5 Kinematics of Uniform Circular Motion Dynamics of Uniform Circular Motion Highway Curves, Banked and Unbanked Nonuniform Circular Motion Centrifugation Newton's Law of Universal Gravitation Units of Chapter 5 Gravity Near the Earth's Surface; Geophysical Applications Satellites and "Weightlessness" Kepler's Laws and Newton's Synthesis Types of Forces in Nature Kinematics of Uniform Circular Motion Uniform circular motion: motion in a circle of constant radius at constant speed Instantaneous velocity is always tangent to circle. Kinematics of Uniform Circular Motion Looking at the change in velocity in the limit that the time interval becomes infinitesimally small, we see that (5-1) Kinematics of Uniform Circular Motion This acceleration is called the centripetal, or radial, acceleration, and it points towards the center of the circle. 5-2 Dynamics of Uniform Circular Motion For an object to be in uniform circular motion, there must be a net force acting on it. We already know the acceleration, so can immediately write the force: (5-1) 5-2 Dynamics of Uniform Circular Motion We can see that the force must be inward by thinking about a ball on a string: Dynamics of Uniform Circular Motion There is no centrifugal force pointing outward; what happens is that the natural tendency of the object to move in a straight line must be overcome. If the centripetal force vanishes, the object flies off tangent to the circle. Highway Curves, Banked and Unbanked When a car goes around a curve, there must be a net force towards the center of the circle of which the curve is an arc. If the road is flat, that force is supplied by friction. 5-3 Highway Curves, Banked and Unbanked If the frictional force is insufficient, the car will tend to move more nearly in a straight line, as the skid marks show. Highway Curves, Banked and Unbanked Banking the curve can help keep cars from skidding. In fact, for every banked curve, there is one speed where the entire centripetal force is supplied by the horizontal component of the normal force, and no friction is required. This occurs when: Banking reduces the chance of skidding Find the angle needed to keep the car on the banked curve that is equivalent to the frictional force that would keep the care on the road in fig. a. r=50 m and v =14 m/s Prob. 19 Use 2nd law of Newton to determine the speed of a puck that holds this mass up if r=1m and m=2kg and M=4 kg. 5-4 Nonuniform Circular Motion If an object is moving in a circular path but at varying speeds, it must have a tangential component to its acceleration as well as the radial one. 5-5 Centrifugation A centrifuge works by spinning very fast. This means there must be a very large centripetal force. The object at A would go in a straight line but for this force; as it is, it winds up at B. Dynamics: The Major Player Isaac Newton 1642-1727 Develops Calculus to explain the theory of Mechanics and Gravitation r r F = ma From his general statements on motion he develops calculus and shows that 1) Planets follow elliptical motion 2) They sweep out equal areas in equal time (conservation of angular momentum) r GmM ^ F= r 2 r 3) From universal gravity he derives Kepler's 3rd law Newton's Law of Universal Gravitation If the force of gravity is being exerted on objects on Earth, what is the origin of that force? Newton's realization was that the force must come from the Earth. He further realized that this force must be what keeps the Moon in its orbit. Newton's Law of Universal Gravitation The gravitational force on you is one-half of a Third Law pair: the Earth exerts a downward on force you, and you exert an upward force on the Earth. With a disparity in masses, the reaction force is undetectable, but for bodies more equal in mass it can be significant. Newton's Law of Universal Gravitation Therefore, the gravitational force must be proportional to both masses. By observing planetary orbits, Newton also concluded that the gravitational force must decrease as the inverse of the square of the distance between the masses. In its final form, the Law of Universal Gravitation reads: (5-4) where Newton's Law of Universal Gravitation The magnitude of the gravitational constant G can be measured in the laboratory. Cavendish experiment. 1798 by Henry Cavendish Gravity Near the Earth's Surface; Geophysical Applications Now we can relate the gravitational constant to the local acceleration of gravity. We know that, on the surface of the Earth: Solving for g gives: (5-5) Now, knowing g and the radius of the Earth, the mass of the Earth can be calculated: Gravity Near the Earth's Surface; Geophysical Applications The acceleration due to gravity varies over the Earth's surface due to altitude, local geology, and the shape of the Earth, which is not quite spherical. 5-8 Satellites and "Weightlessness" Satellites are routinely put into orbit around the Earth. The tangential speed must be high enough so that the satellite does not return to Earth, but not so high that it escapes Earth's gravity altogether. F = ma G M 5-8 Satellites and "Weightlessness" The satellite is kept in orbit by its speed it is continually falling, but the Earth curves from underneath it. Satellites and "Weightlessness" Objects in orbit are said to experience weightlessness. They do have a gravitational force acting on them, though! The satellite and all its contents are in free fall, so there is no normal force. This is what leads to the experience of weightlessness. Satellites and "Weightlessness" More properly, this effect is called apparent weightlessness, because the gravitational force still exists. It can be experienced on Earth as well, but only briefly: Kepler's Laws and Newton's Synthesis Kepler's laws describe planetary motion. 1. The orbit of each planet is an ellipse, with the Sun at one focus. Kepler's Laws and Newton's Synthesis 2. An imaginary line drawn from each planet to the Sun sweeps out equal areas in equal times. 5-9 Kepler's Laws and Newton's Synthesis The ratio of the square of a planet's orbital period is proportional to the cube of its mean distance from the Sun. Kepler's Laws and Newton's Synthesis Kepler's laws can be derived from Newton's laws. Irregularities in planetary motion led to the discovery of Neptune, and irregularities in stellar motion have led to the discovery of many planets outside our Solar System. 5-10 Types of Forces in Nature Modern physics now recognizes four fundamental forces: 1. Gravity 2. Electromagnetism 3. Weak nuclear force (responsible for some types of radioactive decay) 4. Strong nuclear force (binds protons and neutrons together in the nucleus) Types of Forces in Nature So, what about friction, the normal force, tension, and so on? Except for gravity, the forces we experience every day are due to electromagnetic forces acting at the atomic level. Summary of Chapter 5 An object moving in a circle at constant speed is in uniform circular motion. It has a centripetal acceleration There is a centripetal force given by The centripetal force may be provided by friction, gravity, tension, the normal force, or others. Summary of Chapter 5 Newton's law of universal gravitation: Satellites are able to stay in Earth orbit because of their large tangential speed.
Find millions of documents here - Study Guides, Homework Solutions, Papers, Exam Answer Keys and more. Course Hero has millions of course related materials that will enable you to learn better, faster and get an A in all your courses.
Below is a small sample set of documents:

Penn State >> PHYS >> 2 (Fall, 2009)
Chapter 20 Magnetism Units of Chapter 20 Magnets and Magnetic Fields Electric Currents Produce Magnetic Fields Force on an Electric Current in a Magnetic Field; Definition of B Force on Electric Charge Moving in a Magnetic Field Magnetic Field ...
Penn State >> PHYS >> 250 (Fall, 2008)
Chapter 20 Magnetism Units of Chapter 20 Magnets and Magnetic Fields Electric Currents Produce Magnetic Fields Force on an Electric Current in a Magnetic Field; Definition of B Force on Electric Charge Moving in a Magnetic Field Magnetic Field ...
Penn State >> PHYS >> 213 (Fall, 2009)
Measurement of Wavelengths of Visible Hydrogen Spectra Theory Wavelengths of visible light emitted by excited hydrogen atoms when they decay to lower energy levels can be measured with a spectrophotometer. This uses a diffraction grating to separate ...
Penn State >> PHYS >> 211 (Fall, 2009)
Physics 211 Experiment 1: Free Fall - Determining the acceleration of gravity Prior to Lab: Derive the three numbered equations in the lab instructions using the definitions of velocity and acceleration. Object: The object of this experiment is to de...
St. Xavier >> ACSG >> 530 (Fall, 2009)
Chapter 11 User Datagram Protocol Objectives Upon completion you will be able to: Be able to explain process-to-process communication Know the format of a UDP user datagram Be able to calculate a UDP checksum Understand the operation of UDP K...
St. Xavier >> CMPSC >> 381 (Fall, 2009)
Saint Xavier University Department of Computer Science CMPSC 381: WEB SECURITY Spring, 2007 FACULTY INFORMATION Instructor: J. R. Aman, Ph.D. Office: N326 (Chicago) Office: (773) 298-3454 Email: aman@sxu.edu Cell: (630) 728-2949 Website: csmaster.s...
St. Xavier >> CMPSC >> 256 (Fall, 2009)
CMPSC 256: OPERATING SYSTEMS FOR THE PRACTITIONER Spring, 2007 By Special Arrangement FACULTY INFORMATION Instructor : J. R. Aman, Ph.D. Office: N326 Email: aman@sxu.edu Office Hours: On-Campus: Tues & Thurs, 1-4 pm Online always via Skype Phone: (7...
St. Xavier >> ACSG >> 591 (Fall, 2009)
Saint Xavier University Dept. of Computer Science ACSG 591 DIGITAL FORENSICS Spring, 2009 FACULTY INFORMATION Instructor: J. R. Aman, Ph.D. Office: WAC N326 Email: aman@sxu.edu Website: csmaster.sxu.edu/aman/ Office Hours: Tuesday-Thursday, 1-3 p....
St. Xavier >> ACSG >> 570 (Fall, 2009)
ACSG 570 - WEB SERVER SECURITY Spring, 2008 FACULTY INFORMATION Instructor: J. R. Aman, Ph.D. Office: N326 (Chicago) Email: aman@sxu.edu Website: csmaster.sxu.edu/aman/ Office Hours: Tuesday 1-5 pm Wednesday 1-3 pm Other times by appointment Office: ...
St. Xavier >> CMPSC >> 112 (Fall, 2009)
CMPSC 112.02: SURVEY OF COMPUTER SCIENCE Fall, 2008 FACULTY INFORMATION Instructor: J. R. Aman, Ph.D. Office: N326 Email: aman@sxu.edu Office Hours: Tuesday-Thursday 11 am-1 pm Other times by appt. SKYPE: jimaman Phone: (773) 298-3454 Cell: (630) 728...
St. Xavier >> CMPSC >> 380 (Fall, 2009)
CMPSC 380: WEB SERVERS Fall, 2008 FACULTY INFORMATION Instructor: J. R. Aman, Ph.D. Office: N326 (Chicago Campus) Email: aman@sxu.edu Website: csmaster.sxu.edu/aman/ Office Hours: M, W, F by appt T & Th 11 am-1 pm Office: (773) 298-3454 Cell: (630) 7...
St. Xavier >> CMPSC >> 256 (Fall, 2009)
CMPSC 256: OPERATING SYSTEMS FOR THE PRACTITIONER Spring, 2008 - Online FACULTY INFORMATION Instructor : J. R. Aman, Ph.D. Office: N326 Email: aman@sxu.edu Office Hours: On-Campus: Tuesday, 1-5 p.m. Wednesday, 1-3 pm Online via Skype and vRoom Phone:...
St. Xavier >> ACSG >> 580 (Fall, 2009)
ACSG 580 CAPSTONE COURSE Spring, 2006 FACULTY INFORMATION Instructor: J. R. Aman, Ph.D. Office: N326 Email: aman@sxu.edu Office Hours: M & W 3-5 pm (Chicago) Tues 5-6 (OPC) Other by appointment AIM and Skype: tdpairings Phone: (773) 298-3454 Cell: (...
St. Xavier >> CMPSC >> 241 (Fall, 2009)
CMPSC 241 Assembler Language Saint Xavier University Faculty Information Who: J. R. Aman, Ph.D. Office: N326 Phone: (773) 2983454 Email: aman@sxu.edu AIM: tdpairings Course Website: csmaster.sxu.edu/courses/cmpsc256/ J. Stanley Warford Jones...
St. Xavier >> CMPSC >> 112 (Fall, 2009)
CMPSC 112.01 SURVEY OF COMPUTER SCIENCE Fall, 2008 FACULTY INFORMATION Instructor: J. R. Aman, Ph.D. Office: N326 Email: aman@sxu.edu Office Hours: Tuesday-Thursday 11 am-1 pm Other times by appt. SKYPE: jimaman Phone: (773) 298-3454 Cell: (630) 728-...
St. Xavier >> CMPSC >> 381 (Fall, 2009)
Chapter 3 Threats to IT Assets CMPSC 381 Spring 2007 Saint Xavier University 1 Objectives In this chapter, we will: Describe general categories of attacks Identify the major attack routes to the corporate office Identify the major attack rou...
St. Xavier >> CMPSC >> 395 (Fall, 2009)
ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Task Name Fixed Cost Fixed Cost Accrual Total Cost $100,000.00 $3,246.00 $46.00 $3,200.00 $0.00 $5,960.00 $3,850.00 $1,040.00 $1,070.00 $5,170.00 $670.00 $370.00 $1,500.00 $990.00 $1,320.00 $3...
St. Xavier >> CMPSC >> 395 (Fall, 2009)
Initializing Start: 12/15/08 Finish: 12/29/08 Comp: 0% ID: 1 Dur: 10.25 days Kickoff meeting Start: 12/15/08 Finish: 12/15/08 Res: ID: 2 Dur: 2 hrs Develop project charter Start: 12/15/08 Finish: 12/29/08 Res: ID: 3 Dur: 10 days Planning Start: 12...
St. Xavier >> CMPSC >> 395 (Fall, 2009)
ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 37 38 39 40 41 42 Task Name 1 Initiating 1.1 Kickoff meeting 1.2 Develop project charter 1.3 Charter signed 2 Planning 2.1 Develop project plans 2.2 Review project plans 2.3 Project plans approved 3 Executing 3...
St. Xavier >> CMPSC >> 395 (Fall, 2009)
ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Task Name Fixed Cost Fixed Cost Accrual Total Cost $100,000.00 $3,371.00 $171.00 $3,200.00 $0.00 $5,960.00 $3,850.00 $1,040.00 $1,070.00 $5,268.64 $670.00 $372.50 $1,500.00 $1,004.14 $1,386.00...
St. Xavier >> CMPSC >> 395 (Fall, 2009)
ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Task Name 08 7 14 21 28 Jan \'09 4 11 18 25 Feb \'09 1 8 15 22 Mar \'09 1 8 15 22 Apr \'09 29 5 12 19 26 May \'09 3 10 17 Classroom builds (2) Initializing Terry,Aaron[25%],Noelle[25...
St. Xavier >> CMPSC >> 395 (Fall, 2009)
Project Tracking Gantt Chart ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 37 38 39 40 41 42 Task Name 1 Initiating 1.1 Kickoff meeting 1.2 Develop project charter 1.3 Charter signed 2 Planning 2.1 Develop project plans 2.2 Review project plans 2.3 Project ...
St. Xavier >> CMPSC >> 395 (Fall, 2009)
Company Current Date Title Project Start Project Finish 11/30/2008 Software_Training_Human_Resource 12/15/2008 8:00:00 AM 4/21/2009 5:00:00 PM ...
St. Xavier >> CMPSC >> 395 (Fall, 2009)
Web Site Development Gantt Chart ID 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Task Name Initiating Kickoff meeting Develop project charter Charter signed Planning Review web site requirements Collect hard copy & digital inf...
St. Xavier >> KALATACMPS >> 306 (Fall, 2009)
name: don password: fricker...
St. Xavier >> ACSG >> 530 (Fall, 2009)
Chapter6 Delivery, Forwarding, and Routing of IP Packets Objectives Upon completion you will be able to: Understand the different types of delivery and the connection Understand forwarding techniques in classful addressing Understand forwarding t...
St. Xavier >> ACSG >> 520 (Fall, 2009)
Chapter 17 Domain Name System: DNS Objectives Upon completion you will be able to: Understand how the DNS is organized Know the domains in the DNS Know how a name or address is resolved Be familiar with the query and response formats Understa...
St. Xavier >> ACSG >> 520 (Fall, 2009)
Chapter22 World Wide Web: HTTP Objectives Upon completion you will be able to: Understand the components of a browser and a server Understand the function of the URL and cookies Understand how HTML is related to static documents Understand how C...
St. Xavier >> ACSG >> 530 (Fall, 2009)
Chapter 8 Internet Protocol Objectives Upon completion you will be able to: Understand the format and fields of a datagram Understand the need for fragmentation and the fields involved Understand the options available in an IP datagram Be able...
St. Xavier >> CMPSC >> 245 (Fall, 2009)
Assembly Language and Computer Architecture Using C+ + and Java Chapter 1 Number Systems Positional number systems Decimal: base 10 Binary: base 2 Hexadecimal: base 16 Decimal Ten symbols: 0, 1, 2, , 9 Weights change by a factor of 10 from on...
St. Xavier >> ACSG >> 530 (Fall, 2009)
Chapter4 IP Addresses: Classful Addressing Objectives Upon completion you will be able to: Understand IPv4 addresses and classes Identify the class of an IP address Find the network address given an IP address Understand masks and how to use the...
St. Xavier >> ACSG >> 530 (Fall, 2009)
Chapter 13 Stream Control Transmission Protocol Objectives Upon completion you will be able to: Be able to name and understand the services offered by SCTP Understand SCTP\'s flow and error control and congestion control Be familiar with the fie...
St. Xavier >> ACSG >> 520 (Fall, 2009)
Chapter 18 Remote Login: Telnet Objectives Upon completion you will be able to: Understand how TELNET works Understand the role of NVT in a TELNET communication Understand TELNET option and suboption negotiation Know how control characters are...
St. Xavier >> ACSG >> 530 (Fall, 2009)
Chapter2 The OSI Model and the TCP/IP Protocol Suite Objectives Upon completion you will be able to: Understand the architecture of the OSI model Understand the layers of the OSI model and their functions Understand the architecture of the TCP/IP...
St. Xavier >> ACSG >> 530 (Fall, 2009)
Chapter 10 Internet Group Management Protocol Objectives Upon completion you will be able to: Know the purpose of IGMP Know the types of IGMP messages Understand how a member joins a group and leaves a group Understand membership monitoring U...
St. Xavier >> ACSG >> 530 (Fall, 2009)
Chapter14 Unicast Routing Protocols: RIP, OSPF, and BGP Objectives Upon completion you will be able to: Distinguish between intra and interdomain routing Understand distance vector routing and RIP Understand link state routing and OSPF Understan...
St. Xavier >> ACSG >> 530 (Fall, 2009)
Chapter15 Multicasting and Multicast Routing Protocols Objectives Upon completion you will be able to: Differentiate between a unicast, multicast, and broadcast message Know the many applications of multicasting Understand multicast link state ro...
St. Xavier >> ACSG >> 530 (Fall, 2009)
Chapter 5 IP Addresses: Classless Addressing Objectives Upon completion you will be able to: Understand the concept of classless addressing Be able to find the first and last address given an IP address Be able to find the network address give...
St. Xavier >> CMPSC >> 245 (Fall, 2009)
Chapter 3 Assembly Language: Part 1 Machine language program (in hex notation) from Chapter 2 Symbolic instructions To make machine instructions more readable (to humans), lets substitute mnemonics for opcodes, and decimal numbers for binary addre...
St. Xavier >> ACSG >> 520 (Fall, 2009)
Chapter 21 Network Management: SNMP Objectives Upon completion you will be able to: Understand the SNMP manager and the SNMP agent Understand the roles of SMI and MIB in network management Be familiar with SMI object attributes and encoding met...
St. Xavier >> ACSG >> 530 (Fall, 2009)
Chapter 7 ARP and RARP Objectives Upon completion you will be able to: Understand the need for ARP Understand the cases in which ARP is used Understand the components and interactions in an ARP package Understand the need for RARP TCP/IP Prot...
St. Xavier >> ACSG >> 520 (Fall, 2009)
Chapter19 File Transfer: FTP and TFTP Objectives Upon completion you will be able to: Understand the connections needed for FTP file transfer Be familiar with FTP commands and responses Know the differences between FTP and TFTP Be familiar with ...
St. Xavier >> ACSG >> 520 (Fall, 2009)
Chapter 20 Electronic Mail: SMTP, POP, and IMAP Objectives Upon completion you will be able to: Understand four configurations of email architecture Understand the functions and formats of a user agent Understand MIME and its capabilities and d...
St. Xavier >> ACSG >> 530 (Fall, 2009)
Chapter 9 Internet Control Message Protocol Objectives Upon completion you will be able to: Be familiar with the ICMP message format Know the types of error reporting messages Know the types of query messages Be able to calculate the ICMP chec...
St. Xavier >> ACSG >> 520 (Fall, 2009)
Chapter16 Host Configuration: BOOTP and DHCP Objectives Upon completion you will be able to: Know the types of information required by a system on boot-up Know how BOOTP operates Know how DHCP operates Understand the differences between BOOTP an...
St. Xavier >> WEB >> 321 (Fall, 2009)
CMPSC 321 Week 11/5 Class & Topic Schedule Monday Fall 2007 Wednesday Ch. 5 ER Modeling Review HW8: 5.59, 5.60, 5.62, 5.64, 5.65 Ch. 6 ER models to database design In-class: sample - 6.51, 6.52, 6.54, 6.56, 6.57 HW8 due Wed: Marcias Dry Clean...
St. Xavier >> WEB >> 550 (Fall, 2009)
ACSG550 1. Lab Assignment Fall 2007 Create a form in which the user is prompted to enter a file name (and path) they\'d like to locate. If the file can be found, display its size and other interesting information about it (see the list in the hand-...
St. Xavier >> WEB >> 550 (Fall, 2009)
ACSG 550 Database-Backed Websites Saint Xavier University Masters in Applied Computer Science Program Fall 2007 Course Description: This course focuses on the design, construction and implementation of websites that rely on databases to provide d...
St. Xavier >> CMPSC >> 245 (Fall, 2009)
Lab assignment: Use the circuit system shown in figure 1.15 on page 29 to solve the equations in the first column in the following table. Show the values of all flags after you solve each equation. Equation 7+8 9+8 8-7 7-9 6+1 -6-5 7+5 5-7 Signed/ ...
St. Xavier >> CMPSC >> 245 (Fall, 2009)
LAB # 5 CMPSC 245, SPRING 2007 Due: April 26, 2007 Objectives Use a simulator that simulates a simple PC called H1. H1 will run on our regular machine. H1 will help students understand the fundamentals of computer architecture. Understand th...
St. Xavier >> WEB >> 321 (Fall, 2009)
CMPSC 321 - Test 2 Review Topics Fall 2007 Chapter 5 Data Modeling with the ER Model Entity class/entity instance Attribute Identifier/composite identifier Relationship class/relationship instance Unary/binary/ternary Maximum cardinalities 1:1, 1:N...
St. Xavier >> HWK >> 1 (Fall, 2009)
<html> <head> <title>District 129</title> </head> <body> <align=\"center\"><bold><h1>School Supplies for District 129</h1></bold></center> <p>Please purchase: <hr></hr> <br> <ul> <li>2 blue pens</li> <li>4 pencils</li> <li>6 notebooks</li> <li>1 penci...
St. Xavier >> CMPSC >> 245 (Fall, 2009)
whatsnew.txt H1 Software Package Version 6.0 What\'s New Since Version 4.0 May 11, 2006 == Updating the textbook with errata.txt Be sure to ...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
8 6 6 3 4 8 1 8 9 8 1 5 9 8 4 10 9 1 10 4 6 8 1 6 5 3 7 7 3 3 9 9 6 10 10 3 7 10 3 6 2 10 7 1 6 2 2 8 3 1 3 4 4 10 10 5 3 2 2 7 5 5 8 4 7 3 2 6 1 5 10 3 8 4 3 10 ...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Chapter 2 Problem Solving What is an algorithm? s A solution to a problem that is: Precise Effective Terminating What does a programmer do? s s s s s s Understand the problem specification Develop a detailed logical plan (algorithm) for so...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Functions Section 4.3 Last week, we were introduced to procedures Procedures are used in support of topdown program design. They are used to create modules within our Visual Basic programs. A typical program design - 1 P ro g ra m In p u t P r o...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Chapter 4 (cont) Sec. 4.1, 4.2, 4.4 Procedures (User-defined) Well-designed programs. l consist of highly modular code l have procedures that pass data between them q q data is passed to & from the calling procedure in the form of arguments a pro...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Chapter 3 (ctd) Section 3.2 EVENTS Three stages in the creation of a Visual Basic program: Create the interface ie, choose & create the objects use the properties window of each object Set the objects\' properties Create the code to respond t...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Introduction to Arrays Chapter 7 Why use arrays? To store & represent lists of homogeneous values To simplify program code To eliminate the need to reread data The kinds of problems that benefit from array representation of data Roll a die (6 s...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Section 3.6 BUILT-IN FUNCTIONS involving numbers returns a unique output value n = L...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Section 3.5 - Schneider This section introduces nice ways to produce input & display output: Input boxes Message boxes Input Boxes (Section 3.5) An input box is an object that appears on the form solely for the purpose of receiving data to ...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
REPETITION (loops or iteration) Schneider: Sec. 6.1 over & over again. There are three types of loops in Visual Basic While entrance controlled Until exit cont...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Decisions (Conditional Programming) Chapter 5 (Sec. 5.1 & 5.2) Most programs make many decisions This is called programming logic Condition Action Action Conditional statements A condition is an expression that evaluates to true or false It in...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Chapter 6 More on looping We have three types of loops: While - entrance-controlled Until - exit controlled For.Next - counting Questions to ask about loops Will they terminate? Initialization of variables involved in condition Updating of th...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Chapter 3 (ctd) Sections 3.3 - 3.5 (partial) Input/Output NUMBERS & STRINGS The basic arithmetic operations (for now.) + , , *, /, ^ ( ) ^ (or *) *, / +, order of precedence: Using PICTURE BOXES to display numeric values (Output) First,...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Welcome to CS201! Introduction to Programming Using Visual Basic Preliminaries Syllabus Windows 2000 folders/directories (Sec. 1.3) Introduction to Visual Basic (Sec. 1.4) Algorithm development & foundat...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Chapter 4 Sec. 4.1, 4.2, 4.4 Procedures (User-defined) Modular, Top-Down or Structured Program Design lBreak the problem to be solved into discrete tasks: Ex: Read input Perform calculations Display output lCreate a user-defined (general) procedur...
St. Xavier >> CMPSC >> 201 (Fall, 2009)
Chapter 3 (Section 3.1) Fundamentals of Programming in Visual Basic Objects Visual Basic OBJECTS Forms are designed by the Visual Basic programmer and become graphical user interfaces (gui\'s) for users of the program. Controls such as boxes, bu...
St. Xavier >> ACSG >> 5 (Fall, 2009)
5.1 JavaScript Execution Environment - The JavaScript Window object represents the window in which the browser displays documents - The Window object provides the largest enclosing referencing environment for scripts - Its properties are visible to a...
St. Xavier >> ACSG >> 540 (Fall, 2009)
5.1 JavaScript Execution Environment - The JavaScript Window object represents the window in which the browser displays documents - The Window object provides the largest enclosing referencing environment for scripts - Its properties are visible to a...
What are you waiting for?