This document provides instructions for a project exploring the power of rhetoric. Students are asked to analyze how a social group or movement uses writing and rhetoric to encourage social or individual change. They must choose a movement, analyze related texts, and present their findings in a genre of their choice. The project aims to teach students how rhetoric can foster change and improve their writing and communication skills. Students are provided with topic and artifact ideas, evaluation criteria, and recommended readings to support their work. The goal is for students to understand how rhetoric enacts change and share their insights with peers.
Visit to a blind student's school🧑🦯🧑🦯(community medicine)
Exploring the Power of Rhetoric
1. COSC2436 – LAB1
Note: in the instruction of the lab change “yourLastName” to
your last name
TITLE: Review data type class and Driver class – UML,
pseudo-code – Math Operations
Time to complete: one week
COURSE OBJECTIVES – LEARNING OUTCOME
LO1
-Review premitive data types; apply math operations on numeric
variables
-Review control structures, user defined functions
-Review data type class
-analysis, design, using UML, pseudo-code, flowchart
LAB OBJECTIVES
-Declare variables of int, double, String; Apply math operations
on numeric variables
-Write the code of data type class: data type members,
constructors, mutator methods, accessor methods, toString()
-apply if.. else, switch, for, do…while, while loop
-manage menu to re-display after finishing
-manipulate the output to format the output
SKILL REQUIRED TO DO THIS LAB
To do this lab, students have to know:
-Draw UML of data type class
-Write pseudo-code or draw flowchart of algorithm
-Review the syntax to create a data type class with data
members,
constructors, mutator accessor methods, method toString
-Review how to declare an objejct in main(), how to access the
methods of data type
classes from main()
2. -Review control structure: if..else, switch, do..while loop
-How to set the decimal digits (2) of a decimal numbers
DecimalFormat decimalFormat = new DecimalFormat("#.00");
HOW TO DO EACH PART
From now and on yourLastName will be changed to your last
name
*Step1: Read the requirement of each part; write the pseudo-
code in a word document
by listing the step by step what you suppose to do in main() and
then save it with the name as Lab1_pseudoCode_yourLastName
*Step2:
-start editor eClipse, create the project project name:
FA2019_LAB1PART1_yourLastName (part 1)
FA2019_LAB1PART2_yourLastName (part 2)
-add class:
DataTypeClass_yourLastName.java (part1)
DriverClass_yourLastName.java (part1)
MathOperation.java (part2)
MathCalculator_yourLastName.java (part 2)
- In the file DriverClass_yourLastName.cpp (part1) or
MathCalculator_yourLastName.cpp, type the follwing lines.
This is the template of a java driver class. The java program
starts with main()
*Each statement should end by semi-colon “;”
*The lines starting with // are the comment lines.
The compiler will not read the comment lines
public class nameOfClass
{
public static void main(String[ ] args)
{
//add the code here
3. }
}
*Step3: follow step by step in the pseudo-code to write the java
code
*Step4: compile and run the program
*Step5: debug if there is any errors to complete the program
LAB1 PART 1
FOR THE DATA TYPE CLASS:
-Add the class to the project of part 1 with the name of class is
DataTypeClass_yourLastName based on the following UML
(You can use the table with 1 column x 3 rows in words
---------------------------------------------------------------------------
------------
DataTypeClass_Smith
---------------------------------------------------------------------------
-------------
-intVariable: int
-floatVariable: float
-stringVariable: String
--------------------------------------------------------------------------
---------------
+ DataTypeClass_Smith()
+ DataTypeClass_Smith(intVar:int, floatVar:float,
stringVar:String)
+ setIntVariable(intVar: int):void
+ getStringVariable(): String
+ toString(): String
---------------------------------------------------------------------------
--------------
The following is a picture of UML:
4. public class DataTypeClass_Smith
{
//add the code here
}
-Type the following lines into the file
DataTypeClass_yourLastName then answer 6 questions listed on
each of the following parts
//Question1: What is the name of the following lines in the data
type class?
private int intVariable;
private float floatVariable;
private String stringVariable;
//Question2: What is the name of the following lines in the data
type class?
public DataTypeClass_Smith()
{
intVariable = 0;
floatVariable = 0.0;
stringVariable = “aString”;
}
//Question3: What is the name of the following lines in the data
type class?
public DataTypeClass_Smith( int intVar, float floatVar, String
stringVar)
{
intVariable = intVar;
floatVariable = floatVar;
stringVariable = stringVar;
5. }
//Question4: What is the name of the following method in the
data type class?
public void setIntVariable(int intVar)
{
intVariable = intVar;
}
//Question5: What is the name of the following method in the
data type class?
public float getFloatVariable(0
{
return floatVariable;
}
//Question6: What is the purpose of the following method in the
data type class?
public String toString()
{
String str = “My name: James Smithn” +
“The output is: n” +
“Integer number: “ + intVariable + “n” +
“Decimal number: “ + floatVariable + “n” +
“String is: “ + stringVariable + “n”;
return str;
}
FOR THE DRIVER CLASS
Add to the project of part 1 the class with the name as
DriverClass_yourLastName
In the main() type the following lines of code:
import java.util.Scanner;
public class DriverClass_Smith
6. {
int intValue;
float floatValue;
String stringValue;
//Read input from the keyboard
System.out.println(“Enter an integer number: “ );
intValue = keyboard.nextInt();
System.out.println(“Enter a decimal number: “ );
floatValue = keyboard.nextFloat();
System.out.println(“Enter a string: “);
stringValue = keyboard.nextLine();
//Declare an object of class DataTypeClass_Smith
DataTypeClass_Smith object = new
DataTypeClass_Smith(intValue, floatValue, stringValue);
//print the output
System.out.println(object);
}
Requirement:
-You have to change Smith to your last name
-Change James Smith to your full name
-Add the file name as the first comment line at the top of each
class
-Get the output of the part 1 then paste it after the answers of 6
above question
-write the comment on each part in both classes
COMPILE AND RUN THE PART1 TO GET THE OUTPUT
LAB1 PART 2
7. Download the data type class named as MathOperation from the
eCampus.
Create the project of part 2 then add class as a data type class
and class MathCalculator_yourLastName as a driver class with
main() of part 2
a. Draw UML of class MathOperation (See the topic about UML
at TIP FOR LAB on eCampus)
b. Create the pseudo-code or draw flowchart of the main of a
driver class based on the requirement listed below (see the topic
about pseudo-code or flowchart at TIP FOR LAB on eCampus)
c. Copy the content of the class MathOperation downloaded
from eCampus to the data type class you have added to the part
2
Requirement: Provide the application that first displays the
following line and menu:
File name: MathCalculator_Smith
MENU – CALCULATOR ON TWO NUMBERS
1. Add two integers
2. Subtract two integers
3. Multiply two integers
4. Divide two integers
5. Add two decimal numbers
6. Subtract two decimal numbers
7. Multiply two decimal numbers
8. Divide two decimal numbers
0. Exit
Enter a number from 0 to 8 to continue:
Based on the number that users enter to continue ask for
input:
-If users enter 1 to 4: ask for two integer numbers
-if users enter 5 to 8: ask for two decimal numbers
Then pass two numbers read from input to the object of
8. class MathOperation
Use the object to display the result. The result in one of the
following.
After getting the result, the program should re-display the
menu to allow users to continue using the application to select
other tasks.
Example: if users select task 1, the output should be:
CALCULATOR OF JAMES SMITH
ADD TWO INTEGERS
34 + 27 = 61
Example: if users select task 6, the output should be:
CALCULATOR OF JAMES SMITH
SUBTRACT TWO DECIMAL NUMBERS
75.23 – 12.8 = 62.43
Remember:
-Change Smith to your last name
-Change JAMES SMITH to your full name
-The file name should be the first comment line at the top of
class
-write the comment on each parts of both classes
-get the output pictures of each tasks, paste them after the
pseudo code
HOW TO TURN IN THE LAB
PART 1
DataTypeClass_yourLastName.java
DataTypeClass_yourLastName.class
DriverClass_yourLastName.java
DriverClass_yourLastName.class
File of pseudo-code, UML and output of part1
PART 2
MathOperation.java (downloaded from eCampus)
9. MathOperation.class
MathCalculator_yourLastName.java
MathCalculator_yourLastName.class
File of pseudo-code, UML and output of part 2
HOW TO GRADE THE LAB
COMPLETE LAB ON TIME
3
Part1: question 1
1
Part1: question 2
1
Part1: question 3
1
Part1: question 4
1
Part1: question 5
1
Part1: question 6
1
File of pseudo-code, UML, output
2
Compile success, pictures of output in correct format with your
name
4
Comment: filename at top and on each part
1
Part2:
UML Pseudo-code or flowchart, pictures of output in correct
format
2
Comment: filename at top and on each part
1
Compile success, qualified the requirement, output in correct
10. format with your name
4
Manage menu to allow users to continue using program until
exit
1
Read input
1
Create the object of class MathOperation
2
Display by using object to call method of class MathOperation
2
Results from calculation are correct
1
Total
30
Exploring the Power of Rhetoric
Purpose: This unit invites you to examine the power of rhetoric
and analyze real-life
examples of rhetoric in action. You are asked to explore how a
chosen social group or
movement uses writing and rhetoric to encourage change,
whether social change or more
individual change. In doing this project, you will learn about
how rhetoric can be used to foster
change and you will practice writing skills to effectively
communicate what you have learned.
Task: Your task is to analyze a single text or a number of texts
created by a group or
11. movement, and write a report in a genre of your choice (see
options below) that explains to an
audience of your peers how your chosen group or movement
uses writing and rhetoric to
facilitate change.
THINGS TO DO FOR THIS PROJECT:
1) Choose a movement or group.
2) Choose a text or texts to analyze. Example: For Black Lives
Matter, I might focus my
analysis on their protest events (traffic blocks, die-ins, etc.).
OR, I might choose to
analyze both their protests and their Instagram posts. I could
even analyze songs of
the movement such as Kendrick Lamar’s “Alright”. What I
choose to analyze
depends on my questions and purpose.
3) Reflect on on questions such as the following: what are you
curious about when you
look at this community/movement and the texts they create?
What interests you?
What do you want to investigate? For example, where does your
movement publish
their texts? How do they define their audience? What stylistic
choices do they make?
What content choices? What choices regarding images, layout,
etc? How do such
choices relate to their rhetorical purpose/s?
4) Use the reflection questions to guide your analysis of the text
12. or texts. Practice
listening to each text, placing it in its rhetorical situation, and
describing its rhetorical
strategies.
5) Choose a genre to present your results.
TOPIC IDEAS:
➢ Social movements
#MeToo, #MMIW,
#BlackLivesMatter,
#MarchforOurLives,
#DACA, #MuslimBan
➢ #NoBanNoWall
➢ Online communities or
fandoms on platforms
such as Tumblr,
YouTube, & Twitter
➢ Organizations related
to culture,
conservation, or
anything you might be
interested in
These are just a few ideas. If you think of others that don’t fit
into these categories, message me
or your TA.
13. (cont.)
ARTIFACT (TEXT) IDEAS:
➢ ads
➢ signs
➢ artwork
➢ poetry
➢ social media
posts/pages
➢ videos
➢ speeches
➢ interviews
➢ events
➢ webpages
song
CRITERIA FOR A SUCCESSFUL PROJECT
This writing project will be evaluated based on the following
questions:
● Does the introduction provide relevant context/background
info for the project
and communicate your question(s), lens, and purpose/goals?
● Does the analysis thoroughly explore the research
question(s)?
● Does the analysis describe in detail the ways in which people
14. use rhetoric to
enact change?
● Does the analysis offer specific details and examples for
support?
● Does the analysis accurately apply concepts from class
readings and activities?
● Does the conclusion offer the audience at least one takeaway
that they can learn
from the analysis?
● Does the conclusion discuss why the topic and analysis are
important?
● Does the conclusion explain how the audience can apply what
they’ve learned
and/or what they can do as a result of reading this analysis?
● Does the project employ genre effectively, using multimodal
resources
thoughtfully, employing design and composition strategies for
your rhetorical
purposes, rhetorical situation, and chosen genre?
● Is the form logical and easy to follow?
● Does the reflective writer’s note include a rhetorical
statement, self-assessment,
and request for additional feedback?
● Is there evidence of proofreading and editing throughout
entire project and
writer’s note?
CHAPTER READINGS:
15. ● Chapter 2: “Rhetorical Situations”
● Chapter 12: “Writing Analytically”
● Chapter 16: “Starting your Research”
● Chapter 24: “What’s your Style?”
● Chapter 28: “Designing What You Write”
● Chapter 29: “Writing in Multiple Modes”