02Computer Architecture Model

02Computer Architecture Model - Prerequisite Computer...

Info iconThis preview shows pages 1–9. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Prerequisite Computer Architecture Appendix: TC1101 Java Simulator Epilogue ITI 1121. Introduction to Computing II Marcel Turcotte (with contributions from R. Holte) School of Information Technology and Engineering University of Ottawa Version of January 5, 2011 Please dont print these lecture notes unless you really need to! Marcel Turcotte ITI 1121. Introduction to Computing II Prerequisite Computer Architecture Appendix: TC1101 Java Simulator Epilogue Review Objectives: 1. Knowing the expectations regarding Java 2. Introducing basic concepts of computer architecture and program execution Lectures: I Pages 597631 of E. Koffman and P. Wolfgang. Marcel Turcotte ITI 1121. Introduction to Computing II Prerequisite Computer Architecture Appendix: TC1101 Java Simulator Epilogue Prerequisite Familiarity with the following concepts is assumed: I Using Javas pre-defined data types: including arrays and Strings; I Control structures: such as if, for, while . . . ; I Procedural abstractions (structured programming): i.e. how to define and use (static) methods; I How to edit, compile and run a Java program. Marcel Turcotte ITI 1121. Introduction to Computing II Prerequisite Computer Architecture Appendix: TC1101 Java Simulator Epilogue Why Java? 1 Java 18% 2 C 18% 3 C++ 10% 4 PHP 9% 5 Basic 6% 6 C# 5% 7 Python 4% 8 Perl 3% 9 Objective-C 3% 10 Delphi 2% TIOBE Programming Community Index Marcel Turcotte ITI 1121. Introduction to Computing II Prerequisite Computer Architecture Appendix: TC1101 Java Simulator Epilogue Why Java? Java shares the first rank in popularity with C, but where is Java used? I dont seem to know any applications built using Java. I Server-side Web applications and services I Mobile (phones) applications Marcel Turcotte ITI 1121. Introduction to Computing II Prerequisite Computer Architecture Appendix: TC1101 Java Simulator Epilogue Why Java? I C requires discipline (memory management, pointers. . . ) I Java is good vehicle for teaching (interface, single inheritance. . . ) I Once you know Java, learning other imperative/object-oriented programming languages is easy Marcel Turcotte ITI 1121. Introduction to Computing II Prerequisite Computer Architecture Appendix: TC1101 Java Simulator Epilogue Program execution What are the two main modes of execution? Interpreter (Virtual machine) Compiled program (binary code) Program (byte-code) Marcel Turcotte ITI 1121. Introduction to Computing II Prerequisite Computer Architecture Appendix: TC1101 Java Simulator Epilogue Compiling and executing a Java program > javac MyProgram.java Produces MyProgram.class (the byte-code) > java MyProgram Here, java the Java Virtual Machine (JVM)....
View Full Document

This note was uploaded on 03/02/2012 for the course ITI 1121 taught by Professor Samaan during the Winter '10 term at University of Ottawa.

Page1 / 55

02Computer Architecture Model - Prerequisite Computer...

This preview shows document pages 1 - 9. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online