Chapter 8: Introduction to High-Level Language Programming
Download

Chapter 8: Introduction to High-Level Language Programming

Advertisement
Download Presentation
Comments
jered
From:
|  
(161) |   (0) |   (0)
Views: 43 | Added: 18-02-2013
Rate Presentation: 0 0
Description:
Invitation to Computer Science, Java Version, Third Edition. 2. Objectives. In this chapter, you will learn aboutWhere do we stand?High-level languagesIntroduction to JavaVirtual data storageStatement types. Invitation to Computer Science, Java Version, Third Edition. 3. Objectives (continued)
Chapter 8: Introduction to High-Level Language Programming

An Image/Link below is provided (as is) to

Download Policy: Content on the Website is provided to you AS IS for your information and personal use only and may not be sold or licensed nor shared on other sites. SlideServe reserves the right to change this policy at anytime. While downloading, If for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.











- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -




1. Chapter 8: Introduction to High-Level Language Programming Invitation to Computer Science, Java Version, Third Edition

2. Invitation to Computer Science, Java Version, Third Edition 2 Objectives In this chapter, you will learn about Where do we stand? High-level languages Introduction to Java Virtual data storage Statement types

3. Invitation to Computer Science, Java Version, Third Edition 3 Objectives (continued) Meeting expectations Managing complexity Object-oriented programming Graphical programming The big picture: Software engineering

4. Invitation to Computer Science, Java Version, Third Edition 4 Where Do We Stand? Early days of computing Programmers were satisfied with assembly language Programs mostly written by very technically oriented people Later decades Programmers demanded a more comfortable programming environment Programs were now also written by ?nontechie? people

5. Invitation to Computer Science, Java Version, Third Edition 5 High-Level Languages High-level programming languages Called third-generation languages Created to overcome deficiencies of assembly language Expectations of a high-level language program The programmer need not manage the details of the movement of data items within memory nor exactly where those items are stored

6. Invitation to Computer Science, Java Version, Third Edition 6 High-level Languages (continued) Expectations of a high-level language program (continued) Programmer can take a macroscopic view of tasks; ?primitive operations? can be larger Program will be portable Programming statements will be closer to standard English and use standard mathematical notation

7. Invitation to Computer Science, Java Version, Third Edition 7 Introduction to Java: A Simple Java Program Comments Give information to human readers of code Class header Announces that a class is about to be defined Class A collection of methods Method A section of code that performs a service

8. Invitation to Computer Science, Java Version, Third Edition 8 Figure 8.2 A Simple Java Program

9. Invitation to Computer Science, Java Version, Third Edition 9 Running a Java Program File containing the Java code Same name as the class File extension .java Example: TravelPlanner.java Running a Java program Program compiled Example: File TravelPlanner.class created Translation to object code completed; program linked, loaded, and executed

10. Invitation to Computer Science, Java Version, Third Edition 10 Virtual Data Storage Identifiers Names in a programming language Keyword Has a special meaning in Java Java is a case-sensitive, free-format language Variable A named location in memory Must be declared before it can be used

11. Invitation to Computer Science, Java Version, Third Edition 11 Figure 8.4 Some of the Java Primitive Data Types

12. Invitation to Computer Science, Java Version, Third Edition 12 Virtual Data Storage (continued) An array Groups together a collection of memory locations, all storing data of the same type


Other Related Presentations

Copyright © 2014 SlideServe. All rights reserved | Powered By DigitalOfficePro