1 Session-17 CSIT 121 Spring 2006 Loops: Conditional and Count Controlled Loops: Conditional and Count Controlled LCV: Initialize; Test and Update LCV:

Slides:



Advertisements
Similar presentations
Install Window XP. Begin the Installation 1. Insert the Windows XP CD and restart your computer. 2. If prompted to start from the CD, press SPACEBAR.
Advertisements

Parts of a Computer.
Activating Paymate Acclaim  Activating Paymate  Activation  Online Activation  Fax Activation  Review and Verify Activation and License Terms 
System Administration Learning Objectives: 1. To understand the procedure of using external storage medium in Unix System 2. To learn the method of retrieving.
Bookseller Guide How to REDEEM a National Book Token Electronic Gift Card using the Web Recommended solution for booksellers with broadband computer access.
5-9/12/2005 CPE How to format your computer and re-install Windows XP.
1 Session-12 CSIT 121 Spring 2006 Test-1 is on March 9 th ; Demo-5 due date extended to March 7 Test-1 is on March 9 th ; Demo-5 due date extended to March.
1 Session-16 CSIT 121 Spring 2006 Demo for switch-case due now Demo for switch-case due now String comparison String comparison Slide 23; sample case.
1 Session-5 CSIT 121 Spring 2006 Part D due now String Rules Chapter 2 Topics Lab Demo Exercise Assignment.
1 Lab Session-6 CSIT121 Fall 2004 Selection: Operator Precedence Some Q’s and A’s Lab Exercises Additional Practice Questions.
1 Lab Session-8 CSIT-121 Fall 2003 w Call by Reference w Lab Exercise 1 w Lab Exercise for Demo w Practice Problems.
1 Session-23 CSIT 121 Spring 2006 Revision Ch 7: Reference Parameters Revision Ch 7: Reference Parameters Chapter 8: Value Returning Functions Chapter.
1 Lab Session-9 CSIT221 Fall 2002 Lab Exercise Based on operator overloading (Demo Required)
1 Lab Session-1 CSIT221 Spring 2003 b Group Programming Challenge b Individual Lab Exercise (Demo Required)
1 Lab Session-3 CSIT221 Spring 2003 b Group Worksheet 3 Exercise (Demo Required) b No new lab demo will be assigned to allow you to focus on HW#1.
1 Session-7 CSIT 121 Spring 2006 Lab Demo of NiMo Lesson 3-2 Exercises 1,2,3,4,5,6 (Arithmetic Operators with Program ‘Convert.cpp’) Q&A about operators.
1 Session-15 CSIT 121 Spring 2006 Selection with Switch~Case Selection with Switch~Case Need an integer or character to test for Need an integer or character.
1 Lab Session-2 CSIT 121 Spring 2005 Debugging Tips NiMo’s Varying Rates Lab-2 Exercise.
1 Session-11 CSIT 121 Spring 2006 Test-1 is on March 9 th ; Demo-4 due Now Chapter 4 topics –Using get and ignore to control input data (3-19) –Prompting.
1 Session-19 CSIT 121 Spring 2006 Count controlled loops can be implemented with for statement This statement becomes the loop header for (lcv=initial.
1 Lab Session-6 CSIT121 Fall 2003 Selection: Operator Precedence Some Q’s and A’s Lab Exercises Additional Practice Questions.
1 Lab Session-6 CSIT-121 Spring 2005 Structured Choice The do~While Loop Lab Exercises.
1 Lab Session-3 CSIT 121 Fall 2004 Section-3 should finish Lab-1 Exercise first Division rules Operator precedence rules Lab Exercise.
1 Lab Session-3 CSIT 121 Spring’05 Division rules Operator precedence rules Lab Exercise.
1 Lab Session-11 CSIT 121 Fall 2003 Using arrays in functions Programming Exercise.
1 Lab Session-III CSIT-120 Spring 2001 Revising Previous session Data input and output While loop Exercise Limits and Bounds GOTO SLIDE 13 Lab session.
1 Lab Session-7 CSIT-121 Fall Introducing Structured Choice 4 The do~While Loop 4 Lab Exercises.
1 Session-13 CSIT 121 Spring 2006 Test-1 is on March 9 th ; Demo-5 due date extended to March 7 Test-1 is on March 9 th ; Demo-5 due date extended to.
 Contents 1.Introduction about operating system. 2. What is 32 bit and 64 bit operating system. 3. File systems. 4. Minimum requirement for Windows 7.
How to Install Windows 7.
Operating Systems Day 3. Changing Date & Time 1.Double click on digital clock on the notification area of a task bar (Click start button, Click control.
Bookseller Guide How to SELL a National Book Token Electronic Gift Card using the Web Recommended solution for booksellers with broadband computer access.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
Basic Input Output System
An Introduction To Computer Hardware
Intro Test 3 Chapters 5, 6 & Excel Sample Questions Spring 2005.
systemhound © Raxco Software Belgium systemhound PC inventory software.
1 Lab Session-III CSIT-120 Fall 2000 Revising Previous session Data input and output While loop Exercise Limits and Bounds Session III-B (starts on slide.
CHAPTER NT Installation Screens. Chapter Objectives Explain the installation in detail Focus on the three stages of installation Use screen images to.
Installing Windows 2000 BY: Joshua Wilburn, Arnol Vaquero.
Window xp installation. Minimum HARDWARE REQUIREMENTS Minimum HARDWARE REQUIREMENTS PC with 300 megahertz or higher processor clock speed recommended;
What is system software and what are its parts? Programs that control operation of computer Two parts are operating systems utility programs.
Major Computer Parts.
Installing SIGNZ on a stand- alone machine. These slides will guide you through the installation of the SIGNZ ‘server’ and ‘client’ components on one machine.
1 Working with MS SQL Server Textbook Chapter 14.
Activating Clarity  Activating Clarity  Activation  Online Activation  Fax Activation  Review and Verify Activation and License Terms  Updating.
1 Lab Session-8 CSIT-121 Spring 2005 Call by Reference Lab Exercise for Demo Practice Problems.
Installing SME Version 5 –1)Set the computer to boot from the CDRom by changing the BIOS setting. –2)Startup the computer with the CD in the CD drive –3)Type.
Installation Overview Lab#2 1Hanin Abdulrahman. Installing Ubuntu Linux is the process of copying operating system files from a CD, DVD, or USB flash.
How to install Office 2007  Step 1: Insert the Microsoft Office 2007 Enterprise CD. If the Setup Wizard does not automatically begin, then click Start.
Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.
G-scan Manual Update GDS Management Team.
Chapter 12 WinGP Otasuke GP-EX! WinGP Chapter 12.
Instructions To start a new game, click the “Start New Game” button. To reset the game in order to change the Answers and Questions on each slide, as.
What about computer Input Device Output and Display device Digital storage device Processing Componen ts
HELLO WORLD program in COBOL - CIS12 Please use speaker notes for additional information!
Count and add list of numbers From user input and from file.
What Computer Part Is it? Click on the computer part that is described on each slide. Click the button below to continue.
How OLE Works Carlotta Eaton Exploring Microsoft Visual Basic 5.0 To insert your company logo on this slide From the Insert Menu Select “Picture” Locate.
Chapter 1 Software Installation and Creating a New Company Copyright © 2015 McGraw-Hill Education. All rights reserved. No reproduction or distribution.
About Computers Input Devices Output and Digital Devices Digital storage Devices Element of Communi cation
A caution to use authentication key  An introduction of authentication key To install authentication key prior to use program since it is usable only.
 Contents 1.Introduction about operating system. 2. Minimum requirement for Windows 7 operating system. 3. Procedure to install Window 7 operating system.
1 Project 7: Looping. Project 7 For this project you will produce two Java programs. The requirements for each program will be described separately on.
WELCOME. Skills and Techniques - Session 2 Skills and Techniques Booting from Windows 8.1 and Windows 10 devices.
Introducing QuickBooks Chapter 1. PAGE REF #CHAPTER 1: Introducing QuickBooks SLIDE # 2 Objectives How to install the QuickBooks software How to work.
1 Lab Session-V CSIT121 Spring 2002 Revision: Top Down Design Selection: Operator Precedence Some Q’s and A’s Lab Exercises Additional Practice Questions.
Using the Mouse Dead Application
WINDOW 7 INSTALLATION Prepared By:- Mr. Pawan Kumar
Presentation transcript:

1 Session-17 CSIT 121 Spring 2006 Loops: Conditional and Count Controlled Loops: Conditional and Count Controlled LCV: Initialize; Test and Update LCV: Initialize; Test and Update Loop Example Ch 6 Slides Loop Example Ch 6 Slides End of File Controlled Loop End of File Controlled Loop

2 Lab Demo Due Thu March 23 Lazy Computer Company has caused a new headache for their customers. Their models 1432, 1456 and 1273 have bad floppy drives. On the other hand, models 2432, 1456 and 2476 have bad CD-ROM drives and model 1762 needs a BIOS upgrade. Other 4-digit model numbers are ok. Develop a program that reads the model number of user’s PC from a data file and displays the type of problem in the machine. The program must also inform the user if the PC is found free from defects. Data file is given on the next slide. The program must use EOF controlled loop Lazy Computer Company has caused a new headache for their customers. Their models 1432, 1456 and 1273 have bad floppy drives. On the other hand, models 2432, 1456 and 2476 have bad CD-ROM drives and model 1762 needs a BIOS upgrade. Other 4-digit model numbers are ok. Develop a program that reads the model number of user’s PC from a data file and displays the type of problem in the machine. The program must also inform the user if the PC is found free from defects. Data file is given on the next slide. The program must use EOF controlled loop

3 Data File

4 Sample Output Please enter the data file name: models.txt Please enter the data file name: models.txt You are good You are good Bad Floppy and Bad CD Bad Floppy and Bad CD You need BIOS upgrade You need BIOS upgrade You are good You are good Bad CD drive Bad CD drive You are good You are good Bad Floppy Drive Bad Floppy Drive You are good You are good Bad CD drive Bad CD drive You are good You are good Press any key to continue Press any key to continue