In this session you will: Implement your code magnet lab – Put your method in standard format – Add alternative magnets to your method – Create and test.

Slides:



Advertisements
Similar presentations
Welcome to the Online Employment Applicant Tutorial Click here for next screen.
Advertisements

Online Ordering System
Getting Started with your Course Staff Guide. Turn Editing On Click either the link or the button as below:
COMPLAINT Example A: 1 Select Complaint from the Available Events menu. Clicking on the word "Complaint "places it in the Selected Event box. Click Next.
A student instruction guide to using. Why PASS-PORT? Speed User Friendly Cost Effective.
This tutorial will take approximately 15 minutes. Click here to advance. Click here to go back.
Allied Health Systems Authorizations Website Tutorial and Walk Thru.
Creating Accessible Word Documents by Debbie Lyn Jones, IT Manager I, NSU Webmaster FRIDAY, JANUARY 23, 2015.
Design description Prepared by: Peter Stark Last modified: 11/13/2007 Client: Big Hills Ski Resort Project: Resort Website, Version#4 Stark Designs.
After you login, Choose New Thesis from the main menu screen Login using your credentials.
UConn ECE is your opportunity to take UConn courses while still in high school. The UConn ECE courses you will take are equivalent to the same course at.
Prepared by ASM Research, Inc. 1 INTRODUCING the New AITAS for Non-DOD DAU Students Available for FY02 Acquisition Training Application System.
Page 1 of 13 Welcome To the ETS – Crown Mineral Activity Overhole/Coring Online Training Course This module describes the process for initiating a CMA.
The Registration Experience Student Registration via Self-Service.
PETITION FOR WRIT OF HABEAS CORPUS Chapter 5: Docketing the Lead Event 1.
System for Administration, Training, and Educational Resources for NASA SATERN Overview for Learners May 2006.
Entering Training & Member Development Hours in the My Service Log System A Step-by-Step Overview 1.
C++ Basics Structure of a Program. C++ Source Code Plain text file Typical file extension .CPP Must compile the C++ source code without errors before.
Author Instructions How to upload Abstracts and Sessions to the Paper Management System.
Updating the Laboratory Website. Useful Info Address: Everything is saved in the desktop.
Training Guide for Inzalo SOP Users. This guide has been prepared to demonstrate the use of the Inzalo Intranet based SOP applications. The scope of this.
System for Administration, Training, and Educational Resources for NASA SATERN Overview for Users December 2009.
Forms and Server Side Includes. What are Forms? Forms are used to get user input We’ve all used them before. For example, ever had to sign up for courses.
Blackboard 8: Grade Center This workshop is for existing users of Blackboard interested in keeping track of student grades online. Blackboard replaced.
Creating Accessible Content in Microsoft Office 2010 NC Basic Skills Instructor Training Academy 2012.
Steps for posting a training (single event or series) to the regional calendar R&C Regional Calendar.
Creating and Editing a Web Page
Session 9 So, You Think You Know FAA Access? Ginger Klock Misty Parkinson.
Purchase Orders Notes:.
ASENT_RCM.PPT Reliability Centered Maintenance (RCM) Analysis Last revised 01/14/2011.
In this session you will: Learn how to use the Web Automated Grading System (WAGS) – Register your students – Assign microlabs and monitor student progress.
SCC P2P – Collaboration Made Easy Contract Management training
Intro to WordPress (Using XAMPP)
Journal of Mountain Science (JMS)
Sigma-Aldrich PT Portal
To the ETS – Crown Mineral Activity Overhole/Coring
To the ETS – Metis Bid Request Online Training Course
Student SOLE Page – Living Page
Analyzing Data Using Access
Instructions for Submitting MIPPA 2017 State Plans
To the ETS – Crown Mineral Activity Undisposed Crown Rights
Single Sample Registration
GOLD is money the rest is credit
Adding a File to a Course
Executive & Management Compensation Survey Training 2011 www
Building Configurable Forms
Recommended Budget Reductions
I-Supplier Training Guide
How To UPLOAD Policies.
NextGen Trustee General Ledger Accounting
Integrating JavaScript and HTML
Course Search Steps from MyBTC
Managing Rosters Screener Training Module Module 5
To the ETS – Encumbrance Online Training Course
DPS ONLINE WALK THROUGH
Word offers a number of features to help you streamline the formatting of documents. In this chapter, you will learn how to use predesigned building blocks.
Online Training Course
Web Content Management
Microsoft Official Academic Course, Access 2016
An audio and visual tutorial
Introduction to Database Programs
Part 2 Presentation Design Principles
Designing a Method and Test Program
To the ETS – Metis Bid Request Online Training Course
Responding to a Rogers Sourcing Event STEP Table of Contents Page
Welcome! Crown Mineral Activity To the ETS – Crown Mineral Activity
To the ETS – Encumbrance Online Training Course
Introduction to Database Programs
4CeeD Demonstration Step-by-step demonstration showing creation, uploading, and sharing of research data Timothy Spila, Ph.D. June 4, 2018.
GSA eBuy Seller’s Tutorial
Presentation transcript:

In this session you will: Implement your code magnet lab – Put your method in standard format – Add alternative magnets to your method – Create and test your lab Demonstrate your lab for all workshop participants Creating Your Code Magnet Lab

Accessing the Magnet Creation Page From the main page display the available “Admin” tasks and select the “Magnet Creation” option

The Initial Screen in Magnet Creation If you want to modify an existing code magnet lab, first locate the lab and load it into the creation screen.

The Iterative Fibonacci Lab - 1 The top part of the magnet creation screen includes all the information except statements The creates a drop zone for magnets

The Iterative Fibonacci Lab - 2 Magnets are separated by a.:|:. Special characters are converted to html format, such as > being converted to > The order of the magnets is not significant; the display of magnets at runtime is randomized Notice that control statements contain their own drop zones for other magnets

public int iterativeFibonacci(int num){ if(num == 0 || num == 1) { return num; } int current = 1; int previous = 0; int temp; while (num > 1){ temp = current; current = current + previous; previous = temp; num--; } return current; } The iterativeFibonacci in Standard Format One statement per line Put the opening brace on the same line as the statement. Put the closing brace on a separate line. You can add comments using // at the end of the lines.

/*********************************** Fibonacci (iterative) The Fibonacci sequence is defined as F0 = 0, F1 = 1, and Fn = Fn-1 + Fn-2 First terms are 0,1,1,2,3,5,8,13,... This iterative method should return the nth term, starting a 0 for the first term. ***********************************/ Adding the Title and Description The title and description are part of a header comment that appears at the start of the file. The title is the name of the code magnet lab and needs to be unique. Start the header with a comment line. Then enter the student instructions; it can be multiple lines. As the last line end the header comment The next line is the title. Put a blank line after the title.

public int iterativeFibonacci(int num){ if(num == 0 || num == 1) { return num; return 1; } int current = 1; int previous = 0; int previous = 1; int temp; while (num > 1){ while (num >= 1){ temp = current; current = current + previous; previous = temp; previous = current; num--; num++; } return current; return temp; } Adding Alternative Magnets First put your method in standard format. Duplicate a line you want an alternative magnet and make the desired change. Alternative magnets are shown in red for the Fibonacci method. The order of the lines of code is not important; one magnet is made for each line. But for readability by another human, it is recommended to put the correct magnets in order and to put alternative magnets next to the correct magnet.

Put your method in standard format and add the header block, as described in the following slides Creating a New Code Magnet Lab (1) Use “Browse” to upload you code magnet file and then press “Parse”; examine the textboxes to see that everything is correct (2) Use “Browse” to upload your test program (3) Use “Browse” to upload the correct method and param data (4) Press Create

Create a file for parsing – Put your method into standard format – Add header box with title and description – Add alternative magnet statements Parse your file, verify everything parsed as expected; correct errors and reparse if needed Upload the Test Template File Upload the two helper files: CorrectMethod.java and ParamDataAndInvocations.java Run your lab and make changes as desired; be sure to check that incorrect solutions are detected Steps in Creating Your Code Magnet Lab

Congratulations on creating your first code magnet lab! We now offer you the opportunity to demonstrate your lab to other workshop participants. Demonstrate Your Code Magnet Lab

Thank you for attending this workshop. We hope you will use microlabs in your courses and participate in our Honorarium Program. Please go online and complete the workshop survey at the link: Then you are free to leave; have a safe trip home. Final Activity – Evaluation of Workshop