Difference between pages "Comparable Interface - Code Reading-Activity" and "Data Visualization (Module)"

From TeachingOpenSource
(Difference between pages)
 
(Created page with "__NOTOC__ THIS MODULE IS CURRENTLY UNDER CONSTRUCTION === TEMPLATE === {| border="1" |- |'''Title''' || CS Principles: Data Visualization |- |'''Overview''' || |- |'''Pr...")
 
Line 1: Line 1:
__NOTOC__
__NOTOC__
THIS MODULE IS CURRENTLY UNDER CONSTRUCTION


== Directions for Using This Template ==
=== TEMPLATE ===
The template below contains sections which describe the items that should be included when creating an activity. To use this template:
* Create a new page with the word "Activity" in the name. Please try to use a short, descriptive name.
* Fill in the sections below according to the instructions. Feel free to copy the source for this template into your new page.
* Categorize the page as "Category:Learning Activity". Look at the source for an existing activity to see the syntax.
* Also categorize the page under one or more of the subcategories found at http://foss2serve.org/index.php/Learning_Activities
* Note that feedback to the author(s) of the activity regarding usage or suggestions for enhancements can be included via the '''Discussion''' tab (upper left of the page).
 
== TEMPLATE ==
{| border="1"
{| border="1"
|-  
|-  
|'''Title''' || Comparable Interface - Code Reading Activity
|'''Title''' || CS Principles: Data Visualization
|-
|-
|'''Overview''' || Students learn about the Comparable interface in Java by looking at the code of OpenMRS and the actual implementation of the compareTo method in the String class of Java API.
|'''Overview''' ||  
|-  
|-  
|'''Prerequisite Knowledge''' || Students should be familiar with the String class and string comparison in Java. They should understand the concept of classes and objects.
|'''Prerequisite Knowledge''' || No prerequisite knowledge required
|-
|-
|'''Learning Objectives''' || Understand the concept and purpose of the Comparable interface. Understand the benefits of defining classes that implement the Comparable interface. 
|'''Learning Objectives''' || At the end of this module, students should be able to:
 
|}
|}


=== Background: ===
=== Background: ===
;Background reading for teachers
:


* This activity could be done as a homework assignment (either done individually or by pairs of students), or as an inclass (lecture or recitation) activity.
;What is the expected knowledge level of the student?
* This activity could be done either early in CS2 course or as a late semester CS1 activity.
:This activity is appropriate for beginning level students
* This activity is designed to use OpenMRS, but there is nothing specific to OpenMRS. The instructor can use any open source project that has sufficient examples of use of Comparable interface.


=== Directions: ===
;What is the rationale for this module?
:This module is designed to meet the CS Principles essential knowledge tasks related to open source software using materials created by the FOSS community


#Go to openMRS-core GitHub repository at https://github.com/openmrs/openmrs-core  and search compareTo <br>
=== Sequence/Sub-Path ===
#Locate 4 different examples of a call to the compareTo method, for each:
This module uses two activities
#* specify the filename and the line # on which the call occurs and write the line that contains the call
* Origins of Free Software: http://foss2serve.org/index.php/Origins_of_Free_Libre_Software
#* identify the type of the object the method is called on
* Choosing a License: http://foss2serve.org/index.php/Choosing_A_License
#* locate  the class associated with this datatype and
A suggested sequence of activities is provided with additional (optional) extensions below. The timeline given assumes two days of class work, but the activities could be condensed into one class period if necessary.
#**write the header for this class
#**locate the implementation of the <code>compareTo</code> method and
#***identify the parameter type
#***identify the return type <br>
#Recall that you have used the <code>compareTo</code> method in the <code>String</code> class. Below is a partial class definition: <br>
#:'''public final class String'''
#:'''implements java.io.Serializable, Comparable<String>, CharSequence'''
#dasdas


=== Deliverables: ===
{| border="1" class="wikitable"
What will the student hand in?
! Topic
! Activity
! Deliverable
! Length
! Notes
|-
| Pre-class work: Day 1
|
|
|
|


=== Assessment: ===
|-
How will the activity be graded?
| In-class activity: Day 1
|
How will learning will be measured?
|
 
|
Include sample assessment questions/rubrics.
|


{| border="1" class="wikitable"
! Criteria
! Level 1 (fail)
! Level 2 (pass)
! Level 3 (good)
! Level 4 (exceptional)
|-
|-
| '''Criterion 1...'''
| Pre-class work: Day 2
|
|
|  
|  
|  
|  
|
|


|-
|-
| '''Criterion 2...'''
| In-class activity: Day 2
|  
|  
|  
|  
Line 74: Line 67:


|}
|}
=== Potential Extensions ===


=== Comments: ===
=== Comments: ===
What should the instructor know before using this activity?
;What should the instructor know before using this module?
:


What are some likely difficulties that an instructor may encounter using this activity?
;What are some likely difficulties that an instructor may encounter using this module?
:


=== Additional Information: ===
=== Additional Information: ===
{| border="1"
{| border="1"
|-  
|-  
<!--
|'''ACM Knowledge Area/Knowledge Unit''' || What ACM Computing Curricula 2013 knowledge area and units does this activity cover? [[ACM_Body_of_Knowledge]]
|'''ACM Knowledge Area/Knowledge Unit''' || What ACM Computing Curricula 2013 knowledge area and units does this activity cover? [[ACM_Body_of_Knowledge]]
|-
|-
|'''ACM Topic''' || What specific topics are addressed? The Computing Curriucula 2013 provides a list of topics - https://www.acm.org/education/CS2013-final-report.pdf
|'''ACM Topic''' || What specific topics are addressed? The Computing Curriucula 2013 provides a list of topics - https://www.acm.org/education/CS2013-final-report.pdf
|-
|-
|'''Level of Difficulty''' || Is this activity easy, medium or challenging?
-->
|'''Level of Difficulty''' || Easy
|-
|-
|'''Estimated Time to Completion''' ||  How long should it take for the student to complete the activity?
|'''Estimated Time to Completion''' ||  1-3 class periods depending on whether extensions are used
|-
|-
|'''Materials/Environment''' || What does the student need?  Internet access, IRC client, Git Hub account, LINUX machine, etc.?
|'''Materials/Environment''' || Internet access, for some activities students will need administrator privileges on their machines (the ability to install software)
|-
|-
|'''Author(s)''' || Who wrote this activity?
|'''Author(s)''' || Kate Lockwood
|-
|-
|'''Source''' || Is there another activity on which this activity is based?  If so, please provide a link to the original resource.
|'''Source''' || This module includes lessons created by a number of POSSE/TOS members - all linked lessons contain attribution
|-
|-
|'''License''' || Under which license is this material made available? (http://creativecommons.org/licenses/)
|'''License''' || Under which license is this material made available? (http://creativecommons.org/licenses/)
Line 110: Line 110:


[[Category: Learning_Activity]]
[[Category: Learning_Activity]]
[[Category: CS2]]
[[Category: Learning_Module]]
[[Category: Interfaces]]
[[Category: LEARNING_ACTIVITY_SUBCATEGORY]]
[[Category: CS Principles]]

Revision as of 17:57, 16 August 2016

THIS MODULE IS CURRENTLY UNDER CONSTRUCTION


TEMPLATE

Title CS Principles: Data Visualization
Overview
Prerequisite Knowledge No prerequisite knowledge required
Learning Objectives At the end of this module, students should be able to:

Background:

Background reading for teachers
What is the expected knowledge level of the student?
This activity is appropriate for beginning level students
What is the rationale for this module?
This module is designed to meet the CS Principles essential knowledge tasks related to open source software using materials created by the FOSS community

Sequence/Sub-Path

This module uses two activities

A suggested sequence of activities is provided with additional (optional) extensions below. The timeline given assumes two days of class work, but the activities could be condensed into one class period if necessary.

Topic Activity Deliverable Length Notes
Pre-class work: Day 1
In-class activity: Day 1
Pre-class work: Day 2
In-class activity: Day 2

Potential Extensions

Comments:

What should the instructor know before using this module?
What are some likely difficulties that an instructor may encounter using this module?

Additional Information:

Level of Difficulty Easy
Estimated Time to Completion 1-3 class periods depending on whether extensions are used
Materials/Environment Internet access, for some activities students will need administrator privileges on their machines (the ability to install software)
Author(s) Kate Lockwood
Source This module includes lessons created by a number of POSSE/TOS members - all linked lessons contain attribution
License Under which license is this material made available? (http://creativecommons.org/licenses/)

Suggestions for Open Source Community:

Suggestions for an open source community member who is working in conjunction with the instructor.


This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

File:CC license.png