01:198:111 Chapter Notes - Chapter 2.1, 2.2: Subroutine, Char B1, Pariah Dog

92 views2 pages
cyansea-lion159 and 56 others unlocked
01:198:111 Full Course Notes
47
01:198:111 Full Course Notes
Verified Note
47 documents

Document Summary

Program-sequence of instruction that a computer can execute to perform a task. Syntax-rules that determines what is allowed in a language. Subroutine call statement- uses a built in subroutine to do work; has instructions for performing a task. Built-in subroutine-one already part of the language automatically available for use in any program. Comments-things above the program, ignored by the computer: above the program: Begins with // and ends with a line: comments can be extended on many line. Class- in aka name of program (but not all) To make it a program, class must have subunit named main: public static void main (string [] args) {} The word public means it can be called from the outside of the program. Name of variable and subroutine start with lowercase letter. When there are several words, each word is capitalized. Variable-name of address of location in memory (only hold one data type)

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents