Computational Thinking, Problem-solving and Programming: General Principals IB Computer Science.

Slides:



Advertisements
Similar presentations
GCSE Computing Lesson 5.
Advertisements

Chapter 16 Programming and Languages: Telling the Computer What to Do.
1 Programming Languages Translation  Lecture Objectives:  Be able to list and explain five features of the Java programming language.  Be able to explain.
Chapter 2 Introduction to Systems Architecture. Chapter goals Discuss the development of automated computing Describe the general capabilities of a computer.
9-Aug-15 Vocabulary. Programming Vocabulary Watch closely, you might even want to take some notes. There’s a short quiz at the end of this presentation!
1 Chapter-01 Introduction to Computers and C++ Programming.
High-level Languages.
High level & Low level language High level programming languages are more structured, are closer to spoken language and are more intuitive than low level.
Standard Grade Computing SYSTEM SOFTWARE CHAPTER 19.
COMP25212: Virtualization Learning Objectives: a)To describe aims of virtualization - in the context of similar aims in other software components b)To.
Introduction to C++ Programming Language
IXA 1234 : C++ PROGRAMMING CHAPTER 1. PROGRAMMING LANGUAGE Programming language is a computer program that can solve certain problem / task Keyword: Computer.
Levels of Abstraction Computer Organization. Level of Abstraction u Provides users with concepts/tools to solve problem at that level u Implementation.
Component 4: Introduction to Information and Computer Science Unit 5: Overview of Programming Languages, Including Basic Programming Concepts Lecture 2.
FOUNDATION IN INFORMATION TECHNOLOGY (CS-T-101) TOPIC : INFORMATION SYSTEM – SOFTWARE.
A compiler is a computer program that translate written code (source code) into another computer language Associated with high level languages A well.
CSC1200 INTRODUCTION TO PROGRAMMING Dr. Maureen Markel
Compilers and Interpreters. HARDWARE Machine LanguageAssembly Language High Level Language C++ Visual Basic JAVA Humans.
 Computer Languages Computer Languages  Machine Language Machine Language  Assembly Language Assembly Language  High Level Language High Level Language.
1 Chapter 1 Programming Languages Evolution of Programming Languages To run a Java program: Java instructions need to be translated into an intermediate.
By: Cheryl Mok & Sarah Tan. Java is partially interpreted. 1. Programmer writes a program in textual form 2. Runs the compiler, which converts the textual.
Some Computer Science Conceptual Background Material Doug Hogan This version for UIC Spring 2016 CS 107.
Lesson 1 1 LESSON 1 l Background information l Introduction to Java Introduction and a Taste of Java.
Compilers and Interpreters
Chapter 1 An Overview of Computers and Programming Languages.
Review A program is… a set of instructions that tell a computer what to do. Programs can also be called… software. Hardware refers to… the physical components.
Programming Languages Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
IB Computer Science Content developed by Dartford Grammar School Computer Science Department Objects as a programming concept.
Chapter Goals Describe the application development process and the role of methodologies, models, and tools Compare and contrast programming language generations.
Computer Organisation
Computer Basics.
CSC235 Computer Organization & Assembly Language
What Do Computers Do? A computer system is
Why don’t programmers have to program in machine code?
Component 1.6.
Computational Thinking, Problem-solving and Programming: General Principals IB Computer Science.
Computer Organization
Planning & System installation
Planning & System installation
Planning & System installation
Resource Management IB Computer Science.
Planning & System Installation
Component 1.6.
Planning & System installation
Computer Organisation
Introduction to programming
Programming Language Hierarchy, Phases of a Java Program
CSCI-235 Micro-Computer Applications
Computational Thinking, Problem-solving and Programming: General Principals IB Computer Science.
Lecture 1: Introduction to JAVA
Planning & System Installation
Planning & System Installation
Objects as a programming concept
Planning & System Installation
System Design Basics IB Computer Science.
Planning & System installation
Planning & System Installation
A451 Theory – 7 Programming 7A, B - Algorithms.
Planning & System Installation
Introduction CSE 1310 – Introduction to Computers and Programming
TRANSLATORS AND IDEs Key Revision Points.
Translators & Facilities of Languages
Mobile Development Workshop
Lesson Objectives Aims Key Words Compiler, interpreter, assembler
Introduction CSC 111.
Programming Languages
Java Programming Introduction
Programming language translators
Presentation transcript:

Computational Thinking, Problem-solving and Programming: General Principals IB Computer Science

HL Topics 1-7, D1-4 1: System design 3: Networks 2: Computer Organisation 3: Networks 4: Computational thinking 5: Abstract data structures 6: Resource management 7: Control D: OOP

HL & SL 4.3 Overview 1: System design 2: Computer Organisation 3: Networks Nature of programming languages 4.3.1 State the fundamental operations of a computer 4.3.2 Distinguish between fundamental and compound operations of a computer 4.3.3 Explain the essential features of a computer language 4.3.4 Explain the need for higher level languages 4.3.5 Outline the need for a translation process from a higher level language to machine executable code Use of programming languages 4.3.6 Define the terms: variable, constant, operator, object 4.3.7 Define the operators =, ., <, <=, >, >=, mod, div 4.3.8 Analyse the use of variables, constants and operators in algorithms 4.3.9 Construct algorithms using loops, branching 4.3.10 Describe the characteristics and applications of a collection 4.3.11 Construct algorithms using the access methods of a collection 4.3.12 Discuss the need for sub-programmes and collections within programmed solutions 4.3.13 Construct algorithms using predefined sub-programmes, one-dimensional arrays and/or collections 4: Computational thinking 5: Abstract data structures 6: Resource management 7: Control D: OOP

Topic 4.3.5 Outline the need for a translation process from a higher level language to machine executable code

Video: Interpreter vs Compiler https://www.youtube.com/watch?v=_C5AHaS1mOA#t=44

Key terms Compiler - If the translator translates a high level language into a lower level language (done in a batch) Interpreter - the translator translates a high level language into an intermediate code which will be immediately executed by the CPU (done line by line) Assembler - the translator translates assembly language to machine code (mnemonics to binary)

Levels of language

The Java ‘process’: VM!

Java virtual machine Java applications run on a virtual machine (the Java Virtual Machine or JVM). This virtual machine is installed on the computer (e.g. PC, Mac, Smart Phone, Ticket Machine) and allows the same java code to be run on many different types of hardware. Even though the hardware architecture and instruction sets of each of these devices is different the virtual machine is the same. The trick is that the virtual machine software needs to match the hardware it will be installed on, so you need to get the correct version of the virtual machine, but once you have it then you can run any java program. This is good for the java programmer as he does not have to write lots of different versions of the program he is writing, for each of the devices he wants it to run on. After the java program is written it can be deployed to any device that has the Java Virtual Machine installed on it.