

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Here will look at the basic concepts and principles of programming specifically for Java programming but applies still to other programming languages. Here will learn key programming skills and learn how to use the beautiful art of programming to solve real life problems,learn how to use code editor or IDE, learn algorithms and write awesome programs afterwards.
Typology: Lecture notes
1 / 25
This page cannot be seen from the preview
Don't miss anything!


















h t t p s : / / h o r s t m a n n. c o m / b j l o / i n d e x. ht m l
h t t p s : / / h o r s t m a n n. c o m / b j l o / i n d e x. h t ml
ADMINISTRIVIA, WHY PROGRAM? CHAPTER 1.1 – 1.
h t t p s : / / h o r s t m a n n. c o m / b j l o / i n d e x. ht m l
ADMINISTRIVIA, WHY PROGRAM?
5 Course Info
Course Lecturer Lectures ・ Mondays: 1500 – 1650, 233-G ・ Thursdays: 1300 – 1450, 230-G Labs (MUST choose 1 lab session – max 90 students per session) ・Tuesdays: 0900 – 1200, 1200 – 1500, 1500 – 1800 ・Location: 247-293, 247-294, 247-295, 247-296, 247- 297 Course title: Programming Principles Course code: CSI Prerequisite: Curiosity
h t t p s : / / h o r s t m a n n. c o m / b j l o / i n d e x. ht m l
ADMINISTRIVIA, WHY PROGRAM?
Course learning outcomes 8
This course aims to introduce students to the basic concepts and principles of programming using a high-level language. Its primary intention is to develop key programming and problem solving skills.
At the end of the course, you should be able to ▪ Use a code editor to edit and document source code ▪ Develop algorithms to solve basic to moderately complex
▪ Write programs in a high-level language to implement algorithms ▪ Compile, test and debug Java programs High-level Language = JAVA
Course assessment criteria 10
▪ 3hrs Final Examination: 50% ▪ 2hrs Midterm Test: 15% ▪ Lab Tests x 2: 10% ▪ Graded Labs: 20% ▪ Participation: 05% ©https://dilbert.com/ Thou shall NOT miss labs! And Lectures!
h t t p s : / / h o r s t m a n n. c o m / b j l o / i n d e x. ht m l
ADMINISTRIVIA, WHY PROGRAM?
Academic Dishonesty 13
Cheating : using or attempting to use unauthorized materials, information, or study aids in any academic work. Collusion : helping or attempting to help another student commit any act of academic dishonesty including cheating, plagiarism and/or falsification of data and information. Plagiarism : representing the words, ideas and information of another person as one’s own in any academic work. Work must be the student’s original work and in the student’s own words, except for quotations from published and unpublished sources that should be clearly indicated and acknowledged as such.
Assistants before submitting work.
h t t p s : / / h o r s t m a n n. c o m / b j l o / i n d e x. ht m l
ADMINISTRIVIA, WHY PROGRAM?
Programming? Coding? Developing? 16 Do you want to be a Coder? Programmer? or a Developer? What is the difference? DEVELOPING PROGRAMMING YOU ARE HERE! CODING https://www.freecodecamp.org/news/programming-coding-developement-whats-the- difference/ Write code
App development life cycle
Programming 17 ▪ is the process of designing and building an executable computer program for accomplishing a specific computing task. - Wikipedia ▪ A program is a set of instructions, that are written in a language that the computer understands, to perform a specific task. ▪ Need to know what initial tasks a computer can do ▪ Need to learn the computer’s language aka a programming language Machine Language 01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100 Assembly Language MOV AX,DATA MOV DS,AX LEA DX,MSG MOV AH, INT 21H MOV AH, High-level Language for(int i = 0 ; i < items.length; i++){ System.out.print(items[i]); if (i < items.length - 1 ) System.out.print(", "); } ▪ Understood by the computer ▪ People don’t like it at all ▪ Easily understood by the computer ▪ Has to be converted to machine language ▪ People can live with it ▪ A compromise ▪ Must be converted to machine language ▪ At this point, our solution How about natural language? English? Setswana?
Which high-level Language? 19 ▪ Not all high-level languages are created equal. ▪ Should we all speak English? German? Zulu? French? ▪ Think of programming languages as tools Machine Language Assembly Language High-level Language Hardware BASIC C FORTRAN ALGOL COBOL^ LISP^ C++ (^) JAVA ADA (^) JAVA PYTHON Ease of use C#
Which language? – popularity contest… 20