Premium Essay

Comp Intro

In: Computers and Technology

Submitted By marco050
Words 832
Pages 4
Contact the instructor:
You are welcome to communicate with me through emails or drop by in my office during office hours. Since there are so many spams around the email system, please make sure that you put your course number in the subject heading (eg. COMP 150 AB2) and send it from your UFV email account. Otherwise, your email may be accidentally filtered/deleted. If I don’t respond in two days, please re-send the email or talk to me directly after class or during my office hours.
Course Description
This course is an introduction to structured computer programming. Students will study algorithms and top-down design, and will implement algorithms in a procedural programming language. Please refer to http://www.ufv.ca/calendar/CourseOutlines/PDFs/COMP/COMP150-20100423.pdf for further information.
NOTE: COMP 150 or 152 (respectively) cannot be taken for further credit.
Prerequisite
B.C. Principles of Math 11 with a grade of C or better or MATH 085 with a C or better.
Competent in computer skills.
Course Text & Material
Reference:
Schaums’ Outline: Programming with C++
John Hubbard
McGraw-Hill
ISBN: 0-07-135346-1

Text:
C++ for Everyone
Cay Horstmann
Wiley
ISBN-13: 978-0-470-92713-7

Note: You may need a flash drive if you want to keep your own copy and transfer files.

Other Course Resources
Q:\cis\Jon Quah\comp150
It is your responsibility to check the website often as files may be added or updated at any time.
Course Objectives/Outcomes
On completion of this course, the student will be able to: * design a structured solution to a problem by repeatedly breaking the problem into a sequence of simpler sub problems, * implement a structured design as a computer program, with separate functions corresponding to the sub problems of the design, * describe parameter-passing mechanisms for functions, and choose…...

Similar Documents

Premium Essay

English Comp

... Raina Brown Intro to Literary Genres 9/23/05 1.) Among the character in Every Day Use the older sibling Dee is the antagonist because she shows opposition towards the protagonist who is Maggie the younger sibling. Maggie is the protagonist because we sympathize with her for all that she has gone through. In the A&P Sammy who is the narrator is also the protagonist because he is the primary character in the story. The antagonist is the boss because his actions conflict with the protagonists desires and goals. The characters in I Stand Here Ironing Emily is the protagonist because she is the sick one, she is also the main character and we sympathize with her. The antagonist is the mother, because she concerns conflict with the mother. 2.) In the A&P the setting was in a grocery store on a hot summer day. In this reading it played a major role because it is where Sammy, the main character, worked and it is a public place where proper attire is needed, so the setting helps cause part of the conflict. In Every Day Use the setting was at the house in the middle of nowhere. It was a beat up house, the only thing that the mother could afford. The role it played was being the reason Dee moved out of the house. Other than that the setting had no major role in the narrative. The setting of I Stand Here Ironing was all over the place and it did not serve as a major role in the narrative. 3.) The plot of the A&P was a hot summer day, a teen boy was working in a grocery store. He......

Words: 531 - Pages: 3

Premium Essay

Intro Doc

...Intro doc Wikipedia ([pic]i/ˌwɪkɨˈpiːdiə/ or [pic]i/ˌwɪkiˈpiːdiə/ wik-i-pee-dee-ə) is a collaboratively edited, multilingual, free Internet encyclopedia supported by the non-profit Wikimedia Foundation. Its 24 million articles, over 4.1 million in the English Wikipedia alone, are written collaboratively by volunteers around the world. Almost all of its articles can be edited by anyone with access to the site,[4] and it has about 100,000 active contributors.[5][6] As of February 2013, there are editions of Wikipedia in 285 languages. It has become the largest and most popular general reference work on the Internet,[7][8][9][10][11] ranking sixth globally among all websites on Alexa and having an estimated 365 million readers worldwide.[7][12] Wikipedia was launched on January 15, 2001, by Jimmy Wales and Larry Sanger.[13] Sanger coined the name Wikipedia,[14] which is a portmanteauof wiki (a type of collaborative website, from the Hawaiian word wiki, meaning "quick")[15] and encyclopedia. Wikipedia's departure from the expert-driven style of encyclopedia building and the presence of a large body of unacademic content have received extensive attention in print media. In 2006,Time magazine recognized Wikipedia's participation in the rapid growth of online collaboration and interaction by millions of people around the world, in addition to YouTube, MySpace, and Facebook.[16] Wikipedia has also been praised as a news source due to articles related to breaking news often......

Words: 595 - Pages: 3

Free Essay

Intro to Server

...1. Routing serve included WS2008 suited for: smaller networks 2. NWAccess Protection introduced w/ which OS WSERVERS2008 3. IPV4 address is commonly w type notation 4. Ipv6 option unavailable IPV4IP SECURITY 5. Each host TCP/IP network should be config# mandatory except :ROUTING METHOD 6. If a system will be a DHCP server which add should you set?: STATIC IP 7. ;rlcess of obtaining an IP address for a comp name is : Name resolution 8. What is made up of free space from multiple Physical disk: SPANNED VOLUME 9. _____ groups are non security related distribution of info: DISTRIBUTION 10. Which partition 2TB Disks/NTFS (No fucking clue what this said :D) 11. Boot enabled tcp/ip WS retrieves settings needed to run excluding WORKSTATION SETTINGS 12. Which of the following is not key benefit provided by DHCP for management tcp/ip decentralized admin 13. Sent by clients via broad to locate DHCP RFC2131 which msg may include option DHOPDISCOVER 14. What type of zone might DNS Server host? PRIMARY 15. Which of the following is NOT a FWD or PVSZONE INTEGRATED 16. WS2008 ds role is reffed to as a DOMAIN CONTROLLER 17. Process or KP E DC in synch w changes network called REPLICATION 18. AD create REPLICATION TOPOLOGY w the idea or write doman communicate AD 19. A DISTINGUISHED NAME references objects in AD directory by using hierarchical path 20. What command can be used to run AD Directory wizard DCPROMO 21. What is minimum amount of storage for AD 200MB 22. The......

Words: 767 - Pages: 4

Free Essay

Intro

...Student: ASHLEY KRUEGER Instructor: McGraw - Hill Course: Connect For Education Connect Lucas GENERIC Sp10 - CFE Title: Ashley Krueger Specific Purpose: My purpose is to inform my audience about growing up and who I am now. Central Idea: Intro Sensitive, caring-sometimes too much, gets frustrated easily, honest, respectful, unfocused, and worrisome. These are just a handful of my traits and what makes me, me. I have learned many things over the last few years that have determined the type of person I want to be and who I don't. I have my good days and definitely my bad days, but all of these have helped me learn and grow. I will be letting you know of 4 different things about me. Where I come from, they type of person I was heading towards, how I have changed over the last few years and the type of person I want to be. Body I was born and raised in Springfield, Mo. It was my sister and I until I was 8, we wished and wished for my parents to have a baby boy. Well my mom got pregnant, but it was another girl. So we got a sister. At the age of 14 my parents got a divorce and since then I have gained a step-bro and sis and a half sis. It is a lot of fun for the most part having a big family because you always have someone to lean on and talk to. I am the oldest so I of course had the most responsibility and have had people that look up to me; I needed to be a good role model. I feel like I have done an okay job, with the exception of......

Words: 1112 - Pages: 5

Premium Essay

Comp 2

...EN1420 Comp II Unit 5 Project Part II Portner, J. (2005). The Return of School Uniforms. In K. Burns (Ed.), Contemporary Issues Companion. School Violence. San Diego: Greenhaven Press. (Reprinted from Teacher Magazine, 1996, February 14, 15[21]) Retrieved from http://ic.galegroup.com.proxy.itt-tech.edu/ic/ovic/ViewpointsDetailsPage/ViewpointsDetailsWindow?displayGroupName=Viewpoints&disableHighlighting=true&zid=&search_within_results=&prodId=OVIC&action=2&catId=&documentId=GALE%7CEJ3010082216&userGroupName=itted&jsid=c4801c247a7918ca8b7aaf75a46a3bb3 Daniels, S. (2005). School Dress Codes Are Necessary and Constitutional. In J. Carroll (Ed.), Opposing Viewpoints. Students' Rights. San Diego: Greenhaven Press. (Reprinted from Findings, 2001, May) Retrieved from http://ic.galegroup.com.proxy.itt-tech.edu/ic/ovic/ViewpointsDetailsPage/ViewpointsDetailsWindow?displayGroupName=Viewpoints&disableHighlighting=true&zid=&search_within_results=&prodId=OVIC&action=2&catId=&documentId=GALE%7CEJ3010398217&userGroupName=itted&jsid=5b35c1b4b1c2cae05faaabbe58795c7f WILKINS, J. (1999, March). School Uniforms. The Humanist, 59(2), 19. Retrieved from http://ic.galegroup.com.proxy.itt-tech.edu/ic/ovic/AcademicJournalsDetailsPage/AcademicJournalsDetailsWindow?displayGroupName=Journals&disableHighlighting=true&search_within_results=&prodId=OVIC&action=2&catId=&documentId=GALE%7CA54099133&...

Words: 596 - Pages: 3

Premium Essay

Comp 274

...COMP 274 Week 5 Homework Questions Answer the following questions: 1. Describe the graphical coordinate system in Java. Where is the origin? What units apply to the x,y coordinates? The horizontal axis is the x coordinate and the vertical axis is the y coordinate. The origin is the upper left corner of the display area. Moving to the right increases the x value, moving down increases the y value. The units are pixels. 2. How would you use the Graphics class to draw a line between 2 specific points? Give an example. public void paint(Graphics g) { Graphics2D g2 = (Graphics2D) g; Line2D lin = new Line2D.Float(5, 30, 380, 30); g2.draw(lin); } 3. How do you specify a particular color to be used as fill when using the Graphics class? g2.setPaint(Color.BLACK); 4. How would you create a SanSerif font of point size 14 that is bold and italic? Give an example. JButton b = new JButton("OK"); b.setFont(new Font("sansserif", Font.BOLD, 32)); 5. Given a graphics object g, write a few lines of code to have that graphics object draw a green circle (filled in) that has a diameter of 100 pixels. import java.awt.*; import java.applet.*; public class FirstApplet extends Applet { public void paint (Graphics g) { g.drawRect(40,20,200,100); g.drawOval(40,20,200,100); } 6. Given a graphics object g, write a few lines of code to draw a red......

Words: 625 - Pages: 3

Premium Essay

Intro of the Mac

...Amanda Perry Module 1: Intro of the MAC CCT 271 August 21, 2014 Steve Jobs was born on February 24, 1955 in Los Altos, California. Steve Wozniak was born on August 11, 1950 in San Jose, California (www.biography.com/stevewozniak). The pair founded Apple Computers Inc. on April 1, 1976 with Ronald Wayne. They were responsible for releasing some of the first personal computers on the market. Jobs and Wozniak partnered together to invent the Apple I computer in 1976. They were hoping to sell their first computer to their fellow members in the Homebrew Computer Club (www.biography.com/stevejobs). The Homebrew Computer Club was a computer hobbyist group out of Silicon Valley, California, and was founded by Gordon French in 1975. The group met together twice a week to exchange different ideas about computers and how to make them more accessible to people. The group consisted of many computer enthusiasts that later became high profiled hackers and computer entrepreneurs like Jobs and Wozniak (www.princeton.edu/homebrewcomputerclub). As time went on, the two continued to work on building bigger and better things like the LISA. In 1979, a crew from Apple, led by Jobs, decided to go and visit Xerox’s Palo Alto Research Center (PARC). It was said that Jobs walked away with a vast amount of knowledge and secrets from Xerox that he used in the original MAC. It was believed that the ideas behind the graphical computer display came from PARC when all actuality,......

Words: 573 - Pages: 3

Free Essay

Intro to Biology

...Adam Richardson Kendra Merchant Intro to Biology lab The Scientific Method 1) What is the problem you are trying to solve? Whether light or dark colors would be more comfortable to wear on a hot, sunny day? 2) What is the prediction you want to test? Light colors are more comfortable to wear on a hot, sunny day? 3) How will you use the computer model to test your hypothesis? What steps will you follow? What data will you record? I will plug the jackets up to the 60 watts and test its temperature. The steps I will take is comparing the light and dark colors of the same material. The date I will record is who had the hottest temperatures and the dark colors had the hottest. 4) Analyze the results of your experiments. With the data I receive it is obvious dark colors observe the most heat. 5) Draw a conclusion. Did the results of your experiment support your hypothesis? Why or why not? My conclusion is it is more comfortable to wear lights colors than dark colors on a sunny day. Yes my results supported my hypothesis because I predicted it would be hotter with dark colors and the hotter you are on a sunny day, the more uncomfortable you are. 6) How does the material of the jacket affect the heat absorption? A material's color affects its ability to absorb light. An object of a certain color reflects that same color but absorbs light from all the other colors. Since light is energy, the more light that an object absorbs, the more heat it absorbs. 7)......

Words: 366 - Pages: 2

Premium Essay

Comp 230

...following. Introduction Description of program (script) Source Code with detailed comments Source Code should contain a minimum 5 out of 6 topics learned during this session. Explain the output along with screenshots of the output Conclusion All DeVry University policies are in effect, including the plagiarism policy. Use each week’s lecture, reading assignments, labs, and discussions as guidance and supporting information for your proposal. APA formatting is required for your proposal. The proposal shall be your individual and original work. This is not a team project. The proposal is intended to be a professional document. - See more at: http://www.topnotchpapers.com/comp-230/#sthash.2w62xZSC.dpuf...

Words: 343 - Pages: 2

Premium Essay

English Comp Final

...Lizbeth Gerena Final Project- My Writing Portfolio English Comp. 101 Prof. Cody June 27, 2015 I have decided to enter writing assignments 1, 2, and 5 into my writing portfolio as a part of my final project. I chose these three specific essays because each essay relates to me in a unique way regarding my life experiences. I feel that I capture my audience’s attention in such a personal way that they desire to hear more. My personal writing comes from a vantage point about a particular subject in an expressive aim. The content of my writings are equipped for people who are more advanced in life; compared to those who haven’t had experience to support a family, finances, or particular employment. My writings apply to the expressive aim of writing and have comparable lacks. In my future writing processes, I plan to sum up my essays with less redundancy and more content. I learned to touch on the major points of my writings without presenting new information into my conclusions. While reviewing my essays, I realized that I continued to repeat the same errors but made the effort to not double speak when creating my words and thoughts. Given the corrections, I was able to make improvements to my writings so that they will have a continuous, but steady flow avoiding lessening the value of the subject at hand. Throughout the review process of my writing assignment 1, I was able to learn how to conduct APA Style within in my......

Words: 2455 - Pages: 10

Free Essay

Intro to Programming

...Unit 3: Lab 3.1 Course Intro to programming Instructor : Sindar Lab 3.1 Lab 3.1 Step 1 Identify potential problems. Variable Name Problem Yes/No if yes, what’s wrong? Declare Real credits Taken No Declare Int cedits Left Yes We need to be able to use decimal as well. Declare Real studentName No Constant Real creditsNeeded=90 No Step 2 What’s wrong with this calculation Set credits-Left = credits-Taken – credits-Needed It should be: Set credits-Left = credits-Needed – credits-Taken Step 3 Write the exact output you would expect from the following code if the user of the program enters “John Brown”. Display “The student’s name is “, studentName Output will be “The student’s name is, John Brown Step 4 Write the exact output from the following line of code if user of the program enters John Brown and they have taken 20 credits so far. Display “The Network Systems Administration degree is awarded after 90 credits and “, studentName, “ has “, creditsLeft, “ left to take before graduation.” Output “ The Network Systems Administration degree is awarded after 90 credits and John Brown has 70 left to take before graduation. Step 5 1. //Provide documentation on line 2 of what this program does 2. //This program displays student information and degree program information 3. //Declare variables on lines 4, 5, 6, and 7 4. //Declare Real studentName 5. //Declare Real...

Words: 300 - Pages: 2

Premium Essay

Comp

...management change program - although portfolio and financial restructuring are important, textbook concentrates on organizational redesign HOW COMMON IS WORKFORCE REDUCTION AND RESTRUCTURING - organizations are relying less on layoffs and more on voluntary severance or early retirement programs as a means of reducing the number of ees - about 15% of Canadian organizations are involved in an extensive restructuring program - most common activities = eliminating unnecessary tasks, redesigning jobs, increasing collaboration among functional areas, and increasing the use of cross-functional teams WHY DO ORGANIZATIONS DOWNSIZE? - declining profits, business downturn, increased pressure from competitors, merging with another organization, intro to new technology, need to reduce operating cost, desire to decrease levels of management - many organizations downsize because managers think that cutting people will result in reduced costs and improved financial performance THE DOWNSIZING DECISION - downsizing plan should be included in the strategic plan of all organizations; whether they plan to downsize or not - many downsizings are not well planned, frequently ignore the linkage between downsizing and the strategic direction of the organization and underestimate the impact of downsizing on the organization and its HR SOME ETHICAL CONSIDERATIONS - downsizing may be considered a breach of the psychological contract that exists between er and ee - Is downsizing......

Words: 19138 - Pages: 77

Premium Essay

Intro Outline

...WORKSHEET 107 WORKING OUTLINE WORKSHEET Student Name Jason Type of Speech (Introduction, Informative or Persuasive) Introduction Topic: Intro Outline Specific Purpose: To inform my audience about the influence my son has had on my life. Thesis Statement/Preview: Raising a child is the most rewarding thing in life. TITLE OF SPEECH Our Children become, who we raise. INTRODUCTION Attention-getter: Imagine yourself… II Reveal topic: Establish credibility: Tireless hours are spent as parents trying to find the happy medium between sanity and Barney. Thesis Statement/Preview of Main Points: Three aspects that have inspired me to be a great father. Experiences/Motivation/Desire Transition: My past experiences and morals have played an important role in wanting to be a great father. BODY Main Point #1: A major experience that played an important role in my life was my upbringing. Supporting Material: 1. At a very young age my parents separated and divorced. 2. This made it difficult to have a full relationship with both of my parents from an early age. Both of my parents were and still are very involved in my life, but never together. 3. In a sense I was forced to grow up quickly as I was typically the buffer between my parents even when I was young. At the time it was hard to understand why my own parents couldn’t communicate themselves. Transition: These experiences I have just described helped me grow and become independent. Main Point #2: At the age of 12......

Words: 433 - Pages: 2

Free Essay

Intro Speech

...Intro Speech There isn’t a lot I can say to summarize my life or the things that are most important to me because I have so many people, things, and memories that mean absolutely everything. I have no visuals today because the three things I deem important enough to talk about can be given justice by simply showing you a picture. My family has my heart day in and day out simply because of their unconditional love and support for me. I have two siblings that I would absolutely die for in any circumstance. I proritize them at the top of my pecking order besides my religion. I’m a keen sports lover and you won’t find a bigger Dallas Cowboy fan the guy you are looking at right now, I relish the Cowboys and yes, we always believer we’re going to win the Super Bowl every year. For no real reason really other than we are the Cowboys. My friends have a huge impact in my demeanor towards a lot of things in life, they help make me, me. It’s too complicated to express how behind I would be in this life if it wasn’t for the people who I have met and engaged with in my lifetime. My parents are divorced, I think I’ve already gained my freshman 15, I have bad problems of waking up for 8 AM classes, my car sucks, and I owe money for rent.If it was up to me I’d probably tell you I’m just your everyday American I suppose, learning to live day by day. This will be my second semester at Western, I have really enjoyed my time here so far. I attended the University of......

Words: 292 - Pages: 2

Premium Essay

Intro to Literature

...David Olsen Othello Essay Intro to Lit 4/14/12 Instructor: The Opinionator The handkerchief plays a central role in Shakespeare’s Othello. It was given to Othello by his mother, and then given to Desdemona by Othello. It may seem farfetched that something as simple as a handkerchief could make a person murder someone else, but when I look back at the story that is exactly happens. The handkerchief symbolizes the relationship and trust between Othello and Desdemona. This seemingly normal handkerchief has a very deep meaning to Othello, and when he finds out who has possession of it towards the end of the play he goes into a frenzy. The whole reason that the handkerchief becomes an object of evil and jealousy is because Iago uses it as a tool to persuade Othello that Cassio is seeing Desdemona. The whole circle of betrayal begins when Desdemona drops the handkerchief and Emilia picks it up. Iago had told Emilia to do so for quite some time. Once Emilia turns it over to Iago, he almost immediately goes to work in his evil ways. He plants the handkerchief in Cassio’s apartment. Cassio can’t figure out whose it is and takes it. Cassio ends up giving it to Bianca. Iago sets the second part of his plot into action when he talks to Othello later on when they are alone`. He tells Othello that he suspects Desdemona is being unfaithful to him with Cassio. Othello demands proof of the affair, and Iago informs him that he saw Cassio give the......

Words: 514 - Pages: 3