Contact Information:Mr. Brennan
E-mail:J.Brennan@HWMath.net
Cell:(617) 872-2932
Skype ID:hwmath.jim

Trimester I Introduction to Computer Science

Unit 2 How Computers Operate

Topics: Low-level programming; Inside the CPU; Number systems and Logic.

Agendas: Unit-2

Friday
December 4
Thursday
December 3
    Main Activity
  • Trimester I Exam - Session I
  • Trimester I Exam - Session II
Tuesday
December 1
    Starter:
  • Collect homework due today - counting words in a file
  • Review resources that are available on the website to prepare for the test
    Homework:
  • Complete webquest
  • Have another student check your answers
  • This will not be graded as a homework assignment; the quality effort put into the assignment will be reflected in your test score
  • Be prepared for the Trimester I test Thursday December 3.
Tuesday
November 24
    Starter: Batch Files
  • Problem posted on the board for practice and review of operating systems command line interface.
  • Collect the homework due today - the practice review packet for the test on Thursday December 3
    Main Activity:
  • Demonstration: digital electronics NAND gates
  • Finish Operating Sysystems and Computer Internals presentation
  • Review homework answers
    Homework: Flow Charts and Pseudocode

      Make a flow chart and write pseudo code that completes the following program requirements:
    • Read a text file and displays the total number of lines in the file and a count of how many times a word occurs.
    • The output of the program should be a list of words in alphabetical order and the word count.

      Check your homework that was due today
    1. There are two files, both contains names that have been sorted ascending (in alphabetical order)
      a. Create a block diagram (flow chart) of a process that will read both files to create a single output file containing a merged list of names from both files. Review the Lab instructions examples of a flow chart.
      b. Write pseudo-code that implements the diagram from part A.
        Solution:We reviewed this answer in class today MergeFiles.pdf
        We discussed flow chart symbols, the flow chart with an algorithm for merging sorted files, and pseudocode for merging two sorted files. We also did a hands-on merge activity using cards with the same example data.

    2. Complete the handout containing Boolean algebra practice problems.

    3. Practice number systems conversion using the link posted on the Agenda for Tuesday November 3, which can also be found at : http://hwmath.net/IBCS/T1/I2PC/NumberQuiz.html
        Solution: Your score on the test Thursday December 3 will reflect your review effort

    4. Complete the handout with the sensor problem

    5. Review the instructions for all of the posted Lab activities - you will see they contains a review of BASIC command, Command Prompt Commands, and information that can be used in place of a textbook.
        Solution: Practice and review of batch file commands done as a class Starter activity

    6. If you have missing Lab files, upload them your subdirectory on the class Google drive. You should also upload the notes file for basic commands and commands for the command prompt if you have not already done so - make sure you complete those handouts. Everyone has access to a command prompt - make sure that you understand all of the commands.
        Solution: Each student should upload missing files

    7. The links on the left side of the web site HWMath.net/IBCS contain summary information for activities that we have done in class and for homework. You may find these links easier to navigate than the daily agendas. You will be responsible for knowing all information posted under Introduction to Programming, Introduction to Operating Systems, and How Computers Operate. Check back to these sections as they will be updated regularly between now and December 3.
        Solution: Your score on the test Thursday December 3 will reflect your review effort

Friday
November 20
    Summary:
  • Homework - handout
  • What will be on the test on Thursday December 3 ? (handout)
  • Do I have any missing work? (handout)
Thursday
November 19
    Starter: Exclusive Or/Algebraic Expressions
Tuesday
November 17
    Main Activity
  • Handout: BooleanAlgebra2.pdf: Truth tables, Boolean Algebra, Laws and Properties
  • Handout: Writing Boolean Algebraic expressiont to represent Logic Circuits
DateTopics/Activities
Friday
November 13
    Main Activity
      (bitwise) Boolean Operations
    • AND
    • OR
    • NOT
    • XOR
    • NOR
    • NAND
    • Shift Left
    • Shift Right
    • The difference between bitwise operators and logic operators
    • Logic Gates and Truth Tables
    • FL Logic Gate Demo
      Homework
    • Complete the P88 program that will prompt the user for up to 10 positive numbers, and stores them in memory locations that you may determine (was 40 to 49, but that may not be the best place). The user may enter a value less or equal to 0 to signal your program that they are finished entering numbers. Your program should then sort the list of numbers from high to low and then send them to the output in decending order. Upload a file name sort10.as into your google drive folder on the class web site for grading. DUE: Tuesday before class
Thursday
November 12
    Starter: Return Quizzes: Review Number System Conversion
    Main Activity
      Decoding P88 Programs
    • Part 1: Handout: Decode P88 program DecodeProblem2.as (hand it in)
    • Part 2: download file DecodeProblem2.as . Set the IR to 80 and run the program. Does the program produce what you thought it would do? What is interesting about this program?
      You can download the P88 Simulator here if you need it: P88 Computer (Java jar file)

      Homework
    • Complete the P88 program that will prompt the user for up to 10 positive numbers, and stores them in memory locations that you may determine (was 40 to 49, but that may not be the best place). The user may enter a value less or equal to 0 to signal your program that they are finished entering numbers. Your program should then sort the list of numbers from high to low and then send them to the output in decending order.
Tuesday
November 10
    Starter: Quiz: Number System Conversion
    Main Activity
  • Part 1: Handout: Decode P88 program CWdecode01.as (hand it in)
  • Part 2: download file CWdecode01.as . Set the IR to 0 and run the program. Does the program produce what you said it would for when you enter the value of 5? What about the value of 1? What happens if you enter a negative number - does the program still do what you said it does?
    You can download the P88 Simulator here if you need it: P88 Computer (Java jar file)
  • Part 3: Change the CWdecode01.as program so that it prompts the user for two numbers: a high number and a low number. Have the program output numbers counting down from the high number and stopping after it prints the low number. Save the program as High2Low.as. Be sure to upload the High2Low.as file to your shared google drive directory.

    Homework
  • Write a P88 program that will prompt the user for up to 10 positive numbers, and stores them in memory locations 40 to 49. The user may enter a value less or equal to 0 to signal your program that they are finished entering numbers. Your program should then sort the list of numbers from high to low and then send them to the output in decending order.
Friday
November 6
    Starter: Turn in homework
    Main Activity
  • Low level program execution
  • ...Download The P88 Computer (Java jar file)
    Right-click on the link, select Save Link As, and store this in a location you can find, such as a downloads directory.
  • ...Open the directory where you stored P88.jar and start the program
  • ...Open the lab manual P88-Lab-1.pdf and be sure to read each page, and follow the directions.
  • A handout for programming the P88 will be provided, but is also available online P99Notes.pdf
    Summary:
  • For homework, download the P88.jar file and complete one of the following program assignments. Submit pseudo-code, the assembly language code, and the machine code file .as file. Don't skip steps by trying to code in machine code before writing out what you are trying to do.
      Programming Choices:
    • Write a program that will ouput the numbers from 1 to 10.
    • Write a program that will prompt the user for a number, and then output a list of numbers from 1 to the number specified by the user.
    • Write a program that will prompt the user for a starting number, and an ending number, then output the sum of all of the numbers from the starting number to the ending number.
    • Write a program that prompts the user for 10 numbers, and store them in memory locations 40 to 49.
Thursday
November 5
    Starter: Number Systems
  • ...Notes: Representing numbers in base 2, 8, 10, and 16
  • ...Practice: Converting numbers from one base to another
    Main Activity
  • How computers represent numbers (and variables) internally
  • Simple execution of program statements
  • Representing program statements - high level, low level, machine code
  • Low level program execution
  • ...The P88 Computer (Java jar file)
  • ...P88 Documentation (Harvard)
Tuesday
November 3
    Starter: The internals of a Personal Computer
    Main Activity
  • Adding to the book of lists
  • Introduction to Number Systems
  • ...Number Quiz
    Summary:
  • Number Systems - homework, converting between bases
  • Guess the Color
Friday
October 27
    Summary:
  • A starting point on common vocabulary

Unit 1: Introduction to Programming and Personal Computing

  

Topic 1: System fundamentals

Objectives:

1.1 Systems in Organizations

Planning and system installation
1.1.1Identify the context for which a new system is planned.
1.1.2Describe the need for change management.
1.1.3Outline compatibility issues resulting from situations including legacy systems or business mergers.
1.1.4Compare the implementation of systems using a client’s hardware with hosting systems remotely.
1.1.5Evaluate alternative installation processes.
1.1.6Discuss problems that may arise as a part of data migration.
1.1.7Suggest various types of testing.
User Focus
1.1.8Describe the importance of user documentation.
1.1.9Evaluate different methods of providing user documentation.
1.1.10Evaluate different methods of delivering user training.
System Backup
1.1.11Identify a range of causes of data loss.
1.1.12Outline the consequences of data loss in a specified situation.
1.1.13Describe a range of methods that can be used to prevent data loss.
Software Deployment
1.1.14Describe strategies for managing releases and updates.

1.2 System Design Basics

Components of a Computer System
1.2.1Define the terms: hardware, software, peripheral, network, human resources.
1.2.2Describe the roles that a computer can take in a networked world.
1.2.3Discuss the social and ethical issues associated with a networked world.
System Design and Analysis
1.2.4Identify the relevant stakeholders when planning a new system.
1.2.5Describe methods of obtaining requirements from stakeholders.
1.2.6Describe appropriate techniques for gathering the information needed to arrive at a workable solution.
1.2.7Construct suitable representations to illustrate system requirements.
1.2.8Describe the purpose of prototypes to demonstrate the proposed system to the client.
1.2.9Discuss the importance of iteration during the design process.
1.2.10Explain the possible consequences of failing to involve the end-user in the design process.
1.2.11Discuss the social and ethical issues associated with the introduction of new IT systems.
Human Interaction with the System
1.2.12Define the term usability.
1.2.13Identify a range of usability problems with commonly used digital devices.
1.2.14Identify methods that can be used to improve the accessibility of systems.
1.2.15Identify a range of usability problems that can occur in a system.
1.2.16Discuss the moral, ethical, social, economic and environmental implications of the interaction between humans and machines.

Topic 2: Computer organization

Objectives:

2.1 Computer Organization

Computer Architecture
2.1.1Outline the architecture of the central processing unit (CPU) and the functions of the arithmetic logic unit (ALU) and the control unit (CU) and the registers within the CPU.
2.1.2Describe primary memory.
2.1.3Explain the use of cache memory.
2.1.4Explain the machine instruction cycle.
Secondary Memory
2.1.5Identify the need for persistent storage.
Operating Systems and Application Systems
2.1.6Describe the main functions of an operating system.
2.1.7Outline the use of a range of application software.
2.1.8Identify common features of applications.
Binary Representation
2.1.9Define the terms: bit, byte, binary, denary/decimal, hexadecimal
2.1.10Outline the way in which data is represented in the computer.
Simple Logic Gates
2.1.1111 Define the Boolean operators: AND, OR, NOT, NAND, NOR and XOR.
2.1.12Construct truth tables using the above operators.
2.1.13Construct a logic diagram using AND, OR, NOT, NAND, NOR and XOR gates

Topic 3: Networks

Objectives:

3.1 Networks

Network Fundamentals
3.1.1Identify different types of networks.
3.1.2Outline the importance of standards in the construction of networks.
3.1.3Describe how communication over networks is broken down into different layers.
3.1.4Identify the technologies required to provide a VPN.
3.1.5Evaluate the use of a VPN.
Data Transmission
3.1.6Define the terms: protocol, data packet.
3.1.7Explain why protocols are necessary.
3.1.8Explain why the speed of data transmission across a network can vary.
3.1.9Explain why compression of data is often necessary when transmitting across a network.
3.1.10Outline the characteristics of different transmission media.
3.1.11Explain how data is transmitted by packet switching.
Wireless Networking
3.1.12Outline the advantages and disadvantages of wireless networks.
3.1.13Describe the hardware and software components of a wireless network
3.1.14Describe the characteristics of wireless networks.
3.1.15Describe the different methods of network security.
3.1.16Evaluate the advantages and disadvantages of each method of network security.

Topic 4: Computational thinking, problem-solving and programming

Objectives:

4.1 General Principles

Thinking Procedureally
4.1.1Identify the procedure appropriate to solving a problem.
4.1.2Evaluate whether the order in which activities are undertaken will result in the required outcome.
4.1.3Explain the role of sub-procedures in solving a problem.
Thinking Logically
4.1.4Identify when decision-making is required in a specified situation.
4.1.5Identify the decisions required for the solution to a specified problem.
4.1.6Identify the condition associated with a given decision in a specified problem.
4.1.7Explain the relationship between the decisions and conditions of a system.
4.1.8Deduce logical rules for real-world situations.
Thinking Ahead
4.1.9Identify the inputs and outputs required in a solution.
4.1.10Identify pre-planning in a suggested problem and solution.
4.1.11Explain the need for pre-conditions when executing an algorithm.
4.1.12Outline the pre- and post-conditions to a specified problem.
4.1.13Identify exceptions that need to be considered in a specified problem solution.
Thinking Concurrently
4.1.14Identify the parts of a solution that could be implemented concurrently.
4.1.15Describe how concurrent processing can be used to solve a problem.
4.1.16Evaluate the decision to use concurrent processing in solving a problem.
Thinking Abstractly
4.1.17Identify examples of abstraction.
4.1.18Explain why abstraction is required in the derivation of computational solutions for a specified situation.
4.1.19Construct an abstraction from a specified situation.
4.1.20Distinguish between a real-world entity and its abstraction.

4.2 Connecting Computational Thinking and Program Design

4.2.1Describe the characteristics of standard algorithms on linear arrays.
4.2.2Outline the standard operations of collections.
4.2.3Discuss an algorithm to solve a specific problem.
4.2.4Analyse an algorithm presented as a flow chart.
4.2.5Analyse an algorithm presented as pseudocode.
4.2.6Construct pseudocode to represent an algorithm.
4.2.7Suggest suitable algorithms to solve a specific problem.
4.2.8Deduce the efficiency of an algorithm in the context of its use.
4.2.9Determine the number of times a step in an algorithm will be performed for given input data.

4.3 Introduction to Programming

Nature of Programming Languages
4.3.1State the fundamental operations of a computer.
4.3.2Distinguish between fundamental and compound operations of a computer.
4.3.3Explain the essential features of a computer language.
4.3.4Explain the need for higher level languages.
4.3.5Outline the need for a translation process from a higher level language to machine executable code.
Use of Programming Languages
4.3.6Define the terms: variable, constant, operator, object.
4.3.7Define the operators =, ., <, <=, >, >=, mod, div.
4.3.8Analyse the use of variables, constants and operators in algorithms.
4.3.9Construct algorithms using loops, branching.
4.3.10Describe the characteristics and applications of a collection.
4.3.11Construct algorithms using the access methods of a collection.
4.3.12Discuss the need for sub-programmes and collections within programmed solutions.
4.3.13Construct algorithms using predefined sub-programmes, one-dimensional arrays and/or collections.

Topic 5: Abstract data structures

Objectives:

5.1 Abstract Data Structures

Thinking Recursively
5.1.1Identify a situation that requires the use of recursive thinking.
5.1.2Identify recursive thinking in a specified problem solution.
5.1.3Trace a recursive algorithm to express a solution to a problem.
Abstract Data Structures
5.1.4Describe the characteristics of a two-dimensional array.
5.1.5Describe the characteristics and applications of a stack.
5.1.6Describe the characteristics and applications of a stack.
5.1.7Construct algorithms using the access methods of a stack.
5.1.8Describe the characteristics and applications of a queue.
5.1.9Construct algorithms using the access methods of a queue.
5.1.10Explain the use of arrays as static stacks and queues.
Linked Lists
5.1.11Describe the features and characteristics of a dynamic data structure.
5.1.12Describe how linked lists operate logically.
5.1.13Sketch linked lists (single, double and circular).
Trees
5.1.14Describe how trees operate logically (both binary and non-binary).
5.1.15Define the terms: parent, left-child, right-child, subtree, root and leaf.
5.1.16State the result of inorder, postorder and preorder tree traversal.
5.1.17Sketch binary trees.
Applications
5.1.18Define the term dynamic data structure.
5.1.19Compare the use of static and dynamic data structures.
5.1.20Suggest a suitable structure for a given situation.

Topic 6: Resource management

Objectives:

6.1 Resource Management

System Resources
6.1.1Identify the resources that need to be managed within a computer system.
6.1.2Evaluate the resources available in a variety of computer systems.
6.1.3Identify the limitations of a range of resources in a specified computer system.
6.1.4Describe the possible problems resulting from the limitations in the resources in a computer system.
Role of the Operating System
6.1.5Explain the role of the operating system in terms of managing memory, peripherals and hardware interfaces.
6.1.6[not defined]
6.1.7Outline OS resource management techniques: scheduling, policies, multitasking, virtual memory, paging, interrupt, polling.
6.1.8Discuss the advantages of producing a dedicated operating system for a device.
6.1.9Outline how an operating system hides the complexity of the hardware from users and applications.

Topic 7: Control

Objectives:

7.1 Control

Centralized Control Systems
7.1.1Discuss a range of control systems.
7.1.2Outline the uses of microprocessors and sensor input in control systems.
7.1.3Evaluate different input devices for the collection of data in specified situations.
7.1.4Explain the relationship between a sensor, the processor and an output transducer.
7.1.5Describe the role of feedback in a control system.
7.1.6Discuss the social impacts and ethical considerations associated with the use of embedded systems.
Distributed Systems
7.1.7Compare a centrally controlled system with a distributed system.
7.1.8Outline the role of autonomous agents acting within a larger system.

Option A: Databases

Objectives:

A.1 Basic Concepts

A.1.1Outline the differences between data and information.
A.1.2Outline the differences between an information system and a database.
A.1.3Discuss the need for databases.
A.1.4Describe the use of transactions, states and updates to maintain data consistency (and integrity).
A.1.5Define the term database transaction.
A.1.6Explain concurrency in a data sharing situation.
A.1.7Explain the importance of the ACID properties of a database transaction.
A.1.8Describe the two functions databases require to be performed on them.
A.1.9Explain the role of data validation and data verification.

A.2 The Relational Database Model

A.2.1Define the terms: database management system (DBMS) and relational database management system (RDBMS).
A.2.2Outline the functions and tools of a DBMS.
A.2.3Describe how a DBMS can be used to promote data security.
A.2.4Define the term schema.
A.2.5Identify the characteristics of the three levels of the schema: conceptual, logical, physical.
A.2.6Outline the nature of the data dictionary.
A.2.7Explain the importance of a data definition language in implementing a data model
A.2.8Explain the importance of data modelling in the design of a database
A.2.9Define the following database terms: table, record, field, primary key, secondary key, foreign key, candidate key, composite primary key, join.
A.2.10Identify the different types of relationships within databases: one-toone, one-to-many, many-to-many.
A.2.11Outline the issues caused by redundant data.
A.2.12Outline the importance of referential integrity in a normalized database.
A.2.13Describe the differences between 1st Normal Form (1NF), 2nd Normal Form (2NF) and 3rd Normal Form (3NF).
A.2.14Describe the characteristics of a normalized database.
A.2.15Evaluate the appropriateness of the different data types.
A.2.16Construct an entity-relationship diagram (ERD) for a given scenario.
A.2.17Construct a relational database to 3NF using objects such as tables, queries, forms, reports and macros.
A.2.18Explain how a query can provide a view of a database.
A.2.19Describe the difference between a simple and complex query.
A.2.20Outline the different methods that can be used to construct a query.

A.3 Further Aspects of Database Management

A.3.1Explain the role of a database administrator.
A.3.2Explain how end-users can interact with a database.
A.3.3Describe different methods of database recovery.
A.3.4Outline how integrated database systems function.
A.3.5Outline the use of databases in areas such as stock control, police records, health records, employee data.
A.3.6Suggest methods to ensure the privacy of the personal data and the responsibility of those holding personal data not to sell or divulge it in any way.
A.3.7Discuss the need for some databases to be open to interrogation by other parties (police, government, etc).
A.3.8Explain the difference between data matching and data mining.

HL Extension: A.4 Further Database Models and Database Analysis

A.4.1Describe the characteristics of different database models.
A.4.2Evaluate the use of object-oriented databases as opposed to relational databases.
A.4.3Define the term data warehouse.
A.4.4Describe a range of situations suitable for data warehousing.
A.4.5Explain why data warehousing is time dependent.
A.4.6Describe how data in a warehouse is updated in real time.
A.4.7Describe the advantages of using data warehousing.
A.4.8Explain the need for ETL processes in data warehousing.
A.4.9Describe how ETL processes can be used to clean up data for a data warehouse.
A.4.10Compare the different forms of discovering patterns using data mining.
A.4.11Describe situations that benefit from data mining.
A.4.12Describe how predictive modelling is used.
A.4.13Explain the nature of database segmentation.
A.4.14Explain the nature and purpose of link analysis
A.4.15Describe the process of deviation detection.

Option B: Modeling and simulation

Objectives:

B.1 The Basic Model

B.1.1Define the term computer modelling.
B.1.2Identify a system that can be modelled.
B.1.3Identify the variables required to model a given system.
B.1.4Describe the limitations of computer (mathematical) models.
B.1.5Outline sensible grouping for collections of data items, including sample data.
B.1.6Design test-cases to evaluate a model.
B.1.7Discuss the effectiveness of a test-case in a specified situation.
B.1.8Discuss the correctness of a model by comparing generated results with data that were observed in the original problem.

B.2 Simulations

B.2.1Define the term simulation.
B.2.2Explain the difference between a model and a simulation.
B.2.3Describe rules that process data appropriately and that produce results.
B.2.4Discuss rules and data representations and organization.
B.2.5Construct simple models that use different forms of data representation and organization.
B.2.6Design test-cases to evaluate a simulation program.
B.2.7Outline the software and hardware required for a simulation.
B.2.8Describe changes in rules, formulae and algorithms that would improve the correspondence between results and observed data.
B.2.9Construct examples of simulations that involve changes in rules, formulae and algorithms.
B.2.10Describe changes in data collection that could improve the model or simulation.
B.2.11Discuss the reliability of a simulation by comparing generated results with data that were observed in the original problem.
B.2.12Outline the advantages and disadvantages of simulation in a given situation rather than simply observing a real-life situation.
B.2.13Discuss advantages and disadvantages of using a simulation for making predictions.

B.3 Visualization

B.3.1Define the term visualization.
B.3.2Identify a two-dimensional use of visualization.
B.3.3Outline the memory needs of 2D visualization
B.3.4Identify a three-dimensional use of visualization.
B.3.5Outline the relationship between the images in memory and the 3D visualization.
B.3.6Discuss the time and memory considerations of 3D animation in a given scenario.

HL Extension B.4 Communication Modelling and Simulation

B.4.1Outline the use of genetic algorithms.
B.4.2Outline the structure of neural networks.
B.4.3Compare applications that use neural network modelling.
B.4.4Compare different ways in which neural networks can be used to recognize patterns.
B.4.5Identify the key structures of natural language.
B.4.6Discuss the differences between human and machine learning when related to language.
B.4.7Outline the evolution of modern machine translators.
B.4.8Describe the role of chatbots to simulate conversation.
B.4.9Discuss the latest advances in natural language processing.

Option C: Web science

Objectives:

C.1 Creating the Web

C.1.1Distinguish between the internet and World Wide Web (web).
C.1.2Describe how the web is constantly evolving.
C.1.3Identify the characteristics of the following:
  • hypertext transfer protocol (HTTP)
  • hypertext transfer protocol secure (HTTPS)
  • hypertext mark-up language (HTML)
  • uniform resource locator (URL)
  • extensible mark-up language (XML)
  • extensible stylesheet language transformations (XSLT)
  • JavaScript.
  • cascading style sheet (CSS).
C.1.4Identify the characteristics of the following:
  • uniform resource identifier (URI)
  • URL.
C.1.5Describe the purpose of a URL.
C.1.6Describe how a domain name server functions.
C.1.7Identify the characteristics of:
  • internet protocol (IP)
  • transmission control protocol (TCP)
  • file transfer protocol (FTP).
C.1.8Outline the different components of a web page.
C.1.9Explain the importance of protocols and standards on the web.
C.1.10Describe the different types of web page.
C.1.11Explain the differences between a static web page and a dynamic web page.
C.1.12Explain the functions of a browser.
C.1.13Evaluate the use of client-side scripting and server-side scripting in web pages.
C.1.14Describe how web pages can be connected to underlying data sources.
C.1.15Describe the function of the common gateway interface (CGI).
C.1.16Evaluate the structure of different types of web pages.

C.2 Searching the Web

C.2.1Define the term search engine.
C.2.2Distinguish between the surface web and the deep web.
C.2.3Outline the principles of searching algorithms used by search engines.
C.2.4Describe how a web crawler functions.
C.2.5Discuss the relationship between data in a meta-tag and how it is accessed by a web crawler.
C.2.6Discuss the use of parallel web crawling.
C.2.7Outline the purpose of web-indexing in search engines.
C.2.8Suggest how web developers can create pages that appear more prominently in search engine results.
C.2.9Describe the different metrics used by search engines.
C.2.10Explain why the effectiveness of a search engine is determined by the assumptions made when developing it.
C.2.11Discuss the use of white hat and black hat search engine optimization.
C.2.12Outline future challenges to search engines as the web continues to grow.

C.3 Distributed Approaches to the Web

C.3.1Define the terms: mobile computing, ubiquitous computing, peer-2-peer network, grid computing.
C.3.2Compare the major features of:
  • mobile computing
  • ubiquitous computing
  • peer-2-peer network
  • grid computing.
C.3.3Distinguish between interoperability and open standards.
C.3.44 Describe the range of hardware used by distributed networks.
C.3.55 Explain why distributed systems may act as a catalyst to a greater decentralization of the web.
C.3.6Distinguish between lossless and lossy compression.
C.3.7Evaluate the use of decompression software in the transfer of information.

C.4 The Evolving Web

C.4.1Discuss how the web has supported new methods of online interaction such as social networking.
C.4.2Describe how cloud computing is different from a client-server architecture.
C.4.3Discuss the effects of the use of cloud computing for specified organizations.
C.4.4Discuss the management of issues such as copyright and intellectual property on the web.
C.4.5Describe the interrelationship between privacy, identification and authentication.
C.4.6Describe the role of network architecture, protocols and standards in the future development of the web.
C.4.7Explain why the web may be creating unregulated monopolies.
C.4.8Discuss the effects of a decentralized and democratic web.

HL Extension C.5 Analysing the Web

C.5.1Describe how the web can be represented as a directed graph.
C.5.2Outline the difference between the web graph and sub-graphs.
C.5.3Describe the main features of the web graph such as bowtie structure, strongly connected core (SCC), diameter.
C.5.4Explain the role of graph theory in determining the connectivity of the web.
C.5.5Explain that search engines and web crawling use the web graph to access information.
C.5.6Discuss whether power laws are appropriate to predict the development of the web.

HL Extension C.6 The Intellegent Web

C.6.1Define the term semantic web.
C.6.2Distinguish between the text-web and the multimedia-web.
C.6.3Describe the aims of the semantic web.
C.6.4Distinguish between an ontology and folksonomy.
C.6.5Describe how folksonomies and emergent social structures are changing the web.
C.6.6Explain why there needs to be a balance between expressivity and usability on the semantic web.
C.6.7Evaluate methods of searching for information on the web.
C.6.8Distinguish between ambient intelligence and collective intelligence.
C.6.9Discuss how ambient intelligence can be used to support people.
C.6.10Explain how collective intelligence can be applied to complex issues.

Option D: Object-oriented programming

Objectives:

D.1 Objects as a Programming Concept

D.1.1Outline the general nature of an object.
D.1.2Distinguish between an object (definition, template or class) and instantiation.
D.1.3Construct unified modelling language (UML) diagrams to represent object designs.
D.1.4Interpret UML diagrams.
D.1.5Describe the process of decomposition into several related objects.
D.1.6Describe the relationships between objects for a given problem.
D.1.7Outline the need to reduce dependencies between objects in a given problem.
D.1.8Construct related objects for a given problem.
D.1.9Explain the need for different data types to represent data items.
D.1.10Describe how data items can be passed to and from actions as parameters.

D.2 Features of OOP

D.2.1Define the term encapsulation.
D.2.2Define the term inheritance.
D.2.3Define the term polymorphism.
D.2.4Explain the advantages of encapsulation.
D.2.5Explain the advantages of inheritance.
D.2.6Explain the advantages of polymorphism.
D.2.7Describe the advantages of libraries of objects.
D.2.8Describe the disadvantages of OOP.
D.2.9Discuss the use of programming teams.
D.2.10Explain the advantages of modularity in program development

D.3 Program Development

D.3.1Define the terms: class, identifier, primitive, instance variable, parameter variable, local variable.
D.3.2Define the terms: method, accessor, mutator, constructor, signature, return value.
D.3.3Define the terms: private, protected, public, extends, static.
D.3.4Describe the uses of the primitive data types and the reference class string.
D.3.5Construct code to implement assessment statements D.3.1–D.3.4.
D.3.6Construct code examples related to selection statements.
D.3.7Construct code examples related to repetition statements.
D.3.8Construct code examples related to static arrays.
D.3.9Discuss the features of modern programming languages that enable internationalization.
D.3.10Discuss the ethical and moral obligations of programmers.

HL Extension D.4 Advanced Program Development

D.4.1Define the term recursion.
D.4.2Describe the application of recursive algorithms.
D.4.3Construct algorithms that use recursion.
D.4.4Trace recursive algorithms.
D.4.5Define the term object reference.
D.4.6Construct algorithms that use reference mechanisms.
D.4.7Identify the features of the abstract data type (ADT) list.
D.4.8Describe applications of lists. 2 Students should understand that lists can be used to represent stacks and queues.
D.4.9Construct algorithms using a static implementation of a list.
D.4.10Construct list algorithms using object references.
D.4.11Construct algorithms using the standard library collections included in JETS.
D.4.12Trace algorithms using the implementations described in assessment statements D.4.9-D.4.11.
D.4.13Explain the advantages of using library collections.
D.4.14Outline the features of ADT’s stack, queue and binary tree.
D.4.15Explain the importance of style and naming conventions in code.
Content Covered
Text Book Starting Out with C++ Early Objects:
  • Chapter 1, “Introduction to Computers and Programming”
  • Chapter 2, “ Introduction to C++”
  • Appendix K, “Introduction to Microsoft Visual C++ 2005”
ITT Tech
Virtual Libary
See course syllabus

Summary and Reminders
    Summary
  • To create a project in Visual C++ 2005, you need to add a .cpp file to the Source Files folder.
  • A C++ program’s entry point is a function named main.
  • C++ is a case-sensitive programming language.
  • The #include preprocessor directive is used to include libraries.
  • The assignment operator is used to assign a value to a variable.
  • C++ supports standard arithmetic operators, including +, -, /, %, and *.
  • You can use // to create a single-line comment. You can use /* */ to create single-line or multiple line comments.
  • cout references an outstream that is used to send output to the screen
  • A variable is declared by specifying a data type and variable identifier.

    Reminders
  • Project Part 1 is due at the beginning of the next class.
  • Assignment Topic-1 is due at the beginning of the next class.
Student Handouts/Resources