SlideShare a Scribd company logo
1 of 11
Robot C Drills  Title:  COMMENTS After reading the code example below, comment the code  as to give a reader a description of what task the code will perform. task main()  {  motor[port3]=127;  motor[port2]=127;  wait1Msec(5000);  //motor[port3]=127;  //motor[port2]=-127;  //wait1Msec(1500); }
Robot C Drills  Title:WHITESPACE After reading the explanation of whitespace in the handout, re-write the following code using whitespace to make it more readable. task main()  {motor[port3]=127;  motor[port2]=127;  wait1Msec(5000);  //motor[port3]=127;  //motor[port2]=-127;  //wait1Msec(1500);}
Robot C Drills  Title:PSEUDO-CODE After reading the explanation of pseudo-code in the handout, write a pseudo-code example for the tasks to be accomplished in Assignment #1.
Robot C Drills  Title:FLOWCHARTS After reading the explanation of flowcharts in the handout, create a flowchart for the tasks to be accomplished in Assignment #1.
Robot C Drills  Title:FLOWCHARTS After reading the explanation of flowcharts in the handout, create a flowchart for the tasks to be accomplished in Assignment # 3.
Robot C Drills  Title:FLOWCHARTS Using yesterday’s flowchart as a guide, create a flowchart for what is actually happening with the hardware in assignment #3.  Why do we need to add an extra check for the optical switch being tripped?
Robot C Drills  Title:Debouncing Using the Teaching Robot C software on your computer and the QuickTap software routine, define the term “debouncing”.  How would this help your code in assignment #4.
Robot C Drills  ,[object Object],[object Object],[object Object],[object Object],[object Object]
Robot C Drills  ,[object Object],[object Object],[object Object],[object Object],[object Object]
Robot C Drills  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Program Template Computer Generated Instructions  //*!! Code automatically generated ….. //*!! Start  automatically generated configuration …. Assignment or task /* Include any written assignment or task definition, giving all details. */ Hardware configuration /* How the hardware is hooked up. */ task main () { Variable declaration; //declares the variables to be used Variable definition; //assigns values to the variables to be used Actions or tasks; //explain each step of the action or tas }

More Related Content

Viewers also liked

Room1 TAG Lucy Warman The Alternative Guide To Uc Lan Elluminate2
Room1   TAG   Lucy Warman   The Alternative Guide To Uc Lan Elluminate2Room1   TAG   Lucy Warman   The Alternative Guide To Uc Lan Elluminate2
Room1 TAG Lucy Warman The Alternative Guide To Uc Lan Elluminate2
JISC SSBR
 
4/22 Defeated Budget Program Slides
4/22 Defeated Budget Program Slides4/22 Defeated Budget Program Slides
4/22 Defeated Budget Program Slides
josesdaughter
 
聽見西藏 在雪域中遇見自己
聽見西藏 在雪域中遇見自己聽見西藏 在雪域中遇見自己
聽見西藏 在雪域中遇見自己
missglin
 
Thoughts on A First EU Proposal
Thoughts on A First EU Proposal Thoughts on A First EU Proposal
Thoughts on A First EU Proposal
Paul Groth
 
Mehmet Akifsunum History of simplicity-turkey. Activity 2
Mehmet Akifsunum  History of simplicity-turkey. Activity 2Mehmet Akifsunum  History of simplicity-turkey. Activity 2
Mehmet Akifsunum History of simplicity-turkey. Activity 2
Carlos Ajamil Royo
 
The Project I'm Managing
The Project I'm ManagingThe Project I'm Managing
The Project I'm Managing
Josh Friedman
 

Viewers also liked (20)

Communicative Language Teaching : A new Perspective
Communicative Language Teaching :  A new PerspectiveCommunicative Language Teaching :  A new Perspective
Communicative Language Teaching : A new Perspective
 
Basics of drilling 1
Basics of drilling 1Basics of drilling 1
Basics of drilling 1
 
Room1 TAG Lucy Warman The Alternative Guide To Uc Lan Elluminate2
Room1   TAG   Lucy Warman   The Alternative Guide To Uc Lan Elluminate2Room1   TAG   Lucy Warman   The Alternative Guide To Uc Lan Elluminate2
Room1 TAG Lucy Warman The Alternative Guide To Uc Lan Elluminate2
 
4/22 Defeated Budget Program Slides
4/22 Defeated Budget Program Slides4/22 Defeated Budget Program Slides
4/22 Defeated Budget Program Slides
 
Engaging photos online
Engaging photos onlineEngaging photos online
Engaging photos online
 
Impresii icl2012
Impresii icl2012Impresii icl2012
Impresii icl2012
 
SCHOOL´S ANNUAL PLAN CHARACTERISTICS
SCHOOL´S ANNUAL PLAN CHARACTERISTICSSCHOOL´S ANNUAL PLAN CHARACTERISTICS
SCHOOL´S ANNUAL PLAN CHARACTERISTICS
 
Drills
DrillsDrills
Drills
 
聽見西藏 在雪域中遇見自己
聽見西藏 在雪域中遇見自己聽見西藏 在雪域中遇見自己
聽見西藏 在雪域中遇見自己
 
Thoughts on A First EU Proposal
Thoughts on A First EU Proposal Thoughts on A First EU Proposal
Thoughts on A First EU Proposal
 
JenH2k
JenH2kJenH2k
JenH2k
 
Pictorial Alphabet Poland
Pictorial Alphabet PolandPictorial Alphabet Poland
Pictorial Alphabet Poland
 
Ad e qui_a_peur_du_b_b_r
Ad e qui_a_peur_du_b_b_rAd e qui_a_peur_du_b_b_r
Ad e qui_a_peur_du_b_b_r
 
Mehmet Akifsunum History of simplicity-turkey. Activity 2
Mehmet Akifsunum  History of simplicity-turkey. Activity 2Mehmet Akifsunum  History of simplicity-turkey. Activity 2
Mehmet Akifsunum History of simplicity-turkey. Activity 2
 
Osobni PR
Osobni PROsobni PR
Osobni PR
 
What is a blog
What is a blogWhat is a blog
What is a blog
 
Finance
FinanceFinance
Finance
 
The Project I'm Managing
The Project I'm ManagingThe Project I'm Managing
The Project I'm Managing
 
Pressupost 2010
Pressupost 2010Pressupost 2010
Pressupost 2010
 
Hungarian traditional menu
Hungarian traditional menuHungarian traditional menu
Hungarian traditional menu
 

Similar to Drills

COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docxCOMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
donnajames55
 
C LANGUAGE UNIT-1 PREPARED BY MVB REDDY
C LANGUAGE UNIT-1 PREPARED BY MVB REDDYC LANGUAGE UNIT-1 PREPARED BY MVB REDDY
C LANGUAGE UNIT-1 PREPARED BY MVB REDDY
Rajeshkumar Reddy
 

Similar to Drills (20)

Unit-2.pptx
Unit-2.pptxUnit-2.pptx
Unit-2.pptx
 
Srgoc dotnet_new
Srgoc dotnet_newSrgoc dotnet_new
Srgoc dotnet_new
 
TestUpload
TestUploadTestUpload
TestUpload
 
Embedded C.pptx
Embedded C.pptxEmbedded C.pptx
Embedded C.pptx
 
U19CS101 - PPS Unit 4 PPT (1).ppt
U19CS101 - PPS Unit 4 PPT (1).pptU19CS101 - PPS Unit 4 PPT (1).ppt
U19CS101 - PPS Unit 4 PPT (1).ppt
 
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docxCOMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
COMP 2213X2 Assignment #2 Parts A and BDue February 3 in cla.docx
 
C tutorials
C tutorialsC tutorials
C tutorials
 
Unit-IV.pptx
Unit-IV.pptxUnit-IV.pptx
Unit-IV.pptx
 
cbmanual
cbmanualcbmanual
cbmanual
 
C LANGUAGE UNIT-1 PREPARED BY MVB REDDY
C LANGUAGE UNIT-1 PREPARED BY MVB REDDYC LANGUAGE UNIT-1 PREPARED BY MVB REDDY
C LANGUAGE UNIT-1 PREPARED BY MVB REDDY
 
Basic structure of c programming
Basic structure of c programmingBasic structure of c programming
Basic structure of c programming
 
Basic structure of c programming
Basic structure of c programmingBasic structure of c programming
Basic structure of c programming
 
Source vs object code
Source vs object codeSource vs object code
Source vs object code
 
C# tutorial
C# tutorialC# tutorial
C# tutorial
 
Cordovilla
CordovillaCordovilla
Cordovilla
 
C programming session9 -
C programming  session9 -C programming  session9 -
C programming session9 -
 
C programming
C programmingC programming
C programming
 
C programming
C programmingC programming
C programming
 
21CSC101T best ppt ever OODP UNIT-2.pptx
21CSC101T best ppt ever OODP UNIT-2.pptx21CSC101T best ppt ever OODP UNIT-2.pptx
21CSC101T best ppt ever OODP UNIT-2.pptx
 
Reversing and Patching Machine Code
Reversing and Patching Machine CodeReversing and Patching Machine Code
Reversing and Patching Machine Code
 

Recently uploaded

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 

Drills

  • 1. Robot C Drills Title: COMMENTS After reading the code example below, comment the code as to give a reader a description of what task the code will perform. task main() { motor[port3]=127; motor[port2]=127; wait1Msec(5000); //motor[port3]=127; //motor[port2]=-127; //wait1Msec(1500); }
  • 2. Robot C Drills Title:WHITESPACE After reading the explanation of whitespace in the handout, re-write the following code using whitespace to make it more readable. task main() {motor[port3]=127; motor[port2]=127; wait1Msec(5000); //motor[port3]=127; //motor[port2]=-127; //wait1Msec(1500);}
  • 3. Robot C Drills Title:PSEUDO-CODE After reading the explanation of pseudo-code in the handout, write a pseudo-code example for the tasks to be accomplished in Assignment #1.
  • 4. Robot C Drills Title:FLOWCHARTS After reading the explanation of flowcharts in the handout, create a flowchart for the tasks to be accomplished in Assignment #1.
  • 5. Robot C Drills Title:FLOWCHARTS After reading the explanation of flowcharts in the handout, create a flowchart for the tasks to be accomplished in Assignment # 3.
  • 6. Robot C Drills Title:FLOWCHARTS Using yesterday’s flowchart as a guide, create a flowchart for what is actually happening with the hardware in assignment #3. Why do we need to add an extra check for the optical switch being tripped?
  • 7. Robot C Drills Title:Debouncing Using the Teaching Robot C software on your computer and the QuickTap software routine, define the term “debouncing”. How would this help your code in assignment #4.
  • 8.
  • 9.
  • 10.
  • 11. Program Template Computer Generated Instructions //*!! Code automatically generated ….. //*!! Start automatically generated configuration …. Assignment or task /* Include any written assignment or task definition, giving all details. */ Hardware configuration /* How the hardware is hooked up. */ task main () { Variable declaration; //declares the variables to be used Variable definition; //assigns values to the variables to be used Actions or tasks; //explain each step of the action or tas }