8/13/ /printqp.php?heading=II BSc [ ], Semester III, Allied: COMPUTER PROGRAMMING-PERL -309C&qname=309C

Size: px
Start display at page:

Download "8/13/ /printqp.php?heading=II BSc [ ], Semester III, Allied: COMPUTER PROGRAMMING-PERL -309C&qname=309C"

Transcription

1 Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Reaccredited at the 'A' Grade Level by the NAAC and ISO 9001:2008 Certified CRISL rated 'A' (TN) for MBA and MIB Programmes 1. WAN stands for. A. Wire Area Network B. Wide Area Network C. Wide Array Net D. Wireless Area Network 2. ALU is. A. Arithmetic Logic Unit B. Array Logic Unit C. Application Logic Unit D. None of above II BSc [ ] Semester III Allied: COMPUTER PROGRAMMING-PERL -309C Multiple Choice Questions. 3. Which operation is not performed by computer? A. Inputting B. Processing C. Controlling D. Understanding 4. Central Processing Unit is combination of. A. control and storage B. control and output unit C. arithmetic logic and input unit D. arithmetic logic and control unit 5. The brain of any computer system is. A. control unit B. arithmetic logic unit C. central processing unit D. storage unit 6. The translator program used in assembly language is called. A. compiler B. interpreter C. assembler D. translator 7. Which of the following is called low level languages? A. Machine 1/19

2 B. Assembly C. Both of the above D. High level language 8. Which of the following is problem oriented language? A. High level language B. Machine language C. Assembly language D. Low level language 9. A compiler is a translating program which. A. translates instruction of a high level language into machine language B. translates entire source program into machine language program C. it is not involved in programs execution D. all of above 10. Which statement is valid about interpreter? A. It translates one instruction at a time B. Object code is saved for future use C. Repeated interpretation is not necessary D. it translates more instruction at a time 11. Which of the following is machine independence program? A. High level language B. Low level language C. Assembly language D. Machine language 12. Which of the following is not a primary storage device? A. Magnetic tape B. Magnetic disk C. Optical disk D. None of the above 13. Which of the following is a secondary device? A. Keyboard B. Disk C. Arithmetic logic unit D. Memory unit 14. The difference between memory and storage is that memory is and storage is _. A. temporary, permanent B. permanent, temporary C. slow, fast D. up, and down 15. The first electronic computer in the world was. A. UNIVAC B. EDVAC C. ENIAC 2/19

3 D. ANSI 16. One of the output devices your computer uses is the. A. mouse B. keyboard C. monitor D. cord 17. An example of an input device is. A. a speaker B. a mouse C. a monitor D. a printer 18. The main chip in the computer is the. A. ROM B. CPU C. NET D. RAM 19. RAM stands for. A. Really Accessible Memory B. Real Access Memory C. Random Available Mode D. Random Access Memory 20. The set of instructions that tell the computer what to do and how to do it is. A. hardware B. software C. processor D. data flow 21. Which of the following is NOT a feature of algorithm? A. Step wise implementation of large problems B. Calculation of time and space complexity C. Analyzing the efficiency of the code D. Complex representation of problems 22. The comprises of program which helps to run a computer's hardware and application programs. A. System software B. Application software C. Compiler D. Interpreter 23. operates both hardware and software. A. Compiler B. Assembler C. Interpreter D. Operating system 3/19

4 24. Graphical user interface displays. A. Graphics only B. Text only C. Graphics and text D. None 25. language is the medium of communication between users and computer. A. English B. Spanish C. Programming D. Tamil 26. Machine dependent languages use. A. unique code B. binary code C. unique and binary code D. none 27. Which type of programming language is faster A. Low level B. High level C. Middle level D. All the three 28. Machine independent programming language is. A. High level B. Low level C. Both D. None 29. is an example of middle level programming language. A. JAVA B. PERL C. PASCAL D. C 30. The assembler runs on a computer and produces the machine codes for the same computer is called. A. self assembler B. cross assembler C. not an assembler D. unique assembler 31. Which program translates statements of a program line by line? A. Interpreter B. Compiler C. Assembler D. All the above 4/19

5 32. adds machine code for the needed functions from a library. A. Loader B. Linker C. Compiler D. Assembler 33. Which approach that loads the executable file of a program into a same main memory location each time? A. Absolute loading B. Relocatable loading C. Dynamic loading D. Locatable loading 34. Which method uses the special geometric symbols for solving problems? A. Algorithm B. Flowchart C. Programming D. Analytical 35. Which is the simplest method for transferring files in the internet? A. File Transfer Protocol B. Hypertext Transfer Protocol C. Hypertext Markup Language D. All the above 36. Which is the communication protocol for the world wide web? A. File Transfer Protocol B. Hypertext Transfer Protocol C. Hypertext Markup Language D. All the above 37. Which language is used to develop web pages? A. File Transfer Protocol B. Hypertext Transfer Protocol C. Hypertext Markup Language D. All the above 38. Hypertext Markup Language was developed by. A. Berners-Lee B. Steve Jobs C. Charles Babbage D. Bill gates 39. Which programming language uses tags to define elements within a document? A. PERL B. Python C. C D. HTML 40. is a worldwide network of computers which linked either by cable or wireless. 5/19

6 A. Internet B. Intranet C. Both internet and intranet D. None of the above 41. Which one is not the browser? A. Internet explorer B. Mozilla firefox C. Google D. Google Chrome 42. All internet addresses are addresses. A. 2 byte B. 3 byte C. 4 byte D. 5 byte 43. Which network is used for making connections between computers in some restricted area? A. Local area B. Wide area C. Normal D. Local and wide area 44. Which network is used for making connections between far areas in computers? A. Local area B. Wide area C. Normal area D. Local and wide area 45. The full form of PERL is. A. Practical Extraction and Reporting Language B. Practical Exclusion and Reporting Language C. Practical Extraction and Reduced Language D. Practical Exclusion and Reducing Language 46. Who developed PERL? A. Dennis Ritchie B. Larry Wall C. Guido van Rossum D. James Gosling 47. Which one can be used as PERL file extension? A..doc B..docx C..jpeg D..pl 48. Which symbol will be skipped by the interpreter? A. Hash B. Semicolon 6/19

7 C. Colon D. Dot 49. All the statements in a PERL program must end up with. A. Hash B. Semicolon C. Colon D. Dot 50. Which quotes interpolate variables and special characters? A. Single B. Double C. No D. Either single or double 51. Which document helps to print multiline text with great comfort? A. Here B. Help C. End of D. Here and end of 52. Which character is used by PERL to escape any type of character interfere with code? A. Backslash B. Forward slash C. Asterisk D. Ambersand 53. Which type of literals is used to numeric values? A. Numeric B. String C. Variable D. Alphanumeric 54. Which one of the following is a container for storing values? A. Numeric B. String C. Variable D. Alphanumeric 55. Which characters are used for newline? A. Forward slash and n B. Backslash and n C. Forward slash D. Backslash 56. Which characters are used for horizontal tab? A. Forward slash and n B. Forward slash and t C. Forward slash and v D. Forward slash and l 7/19

8 57. Which forces next character to uppercase? A. Forward slash and u B. Forward slash and l C. Forward slash and U D. Forward slash and L 58. Which forces next character to lowercase? A. Forward slash and u B. Forward slash and l C. Forward slash and U D. Forward slash and L 59. Which forces all characters to uppercase? A. Forward slash and u B. Forward slash and l C. Forward slash and U D. Forward slash and L 60. Which forces all characters to lowercase? A. Forward slash and u B. Forward slash and l C. Forward slash and U D. Forward slash and L 61. Which arithmetic operator considers the remainder? A. Modulus B. Division C. Exponent D. Addition 62. Which arithmetic operator considers the quotient? A. Modulus B. Division C. Exponent D. Addition 63. Which operator will check the two operands are equal? A. Equal to B. Not equal to C. Greater than D. Lesser than 64. Which operator will check the left operand is greater than right operand? A. Equal to B. Not equal to C. Greater than D. Lesser than 8/19

9 65. If the value of the left operand is lesser than or equal means, the output is. A. 0 B. 1 C. 2 D Which operator will check the left argument is stringwise not equal to right argument? A. ne B. neq C. NEQ D. nq 67. Which operator is stringwise greater than the right argument? A. gt B. ge C. le D. lt 68. Which operator is stringwise lesser than the right argument? A. gt B. ge C. le D. lt 69. Which operator performs exponential calculation and assign value to the left operand? A. Exponent and assignment B. Exponent C. Assignment D. All the above 70. If both the operands are true then condition becomes true. A. AND B. OR C. NOT D. AND/OR 71. If any of the two operands are true then condition becomes true. A. AND B. OR C. NOT D. AND/OR 72. The operator that reverses the logical state of its operand. A. AND B. OR C. NOT D. AND/OR 73. Which of the following correctly describes scalar data types in Perl? A. These are simple variables. They are preceded by a dollar sign. 9/19

10 B. These are ordered lists of scalars that you access with a numeric index which starts with 0. C. These are unordered sets of key/value pairs that you access using the keys as subscripts. D. None of the above. 74. In which of the following variable context, assignment to an array or a hash evaluates the right-hand side in a list context? A. Scalar B. List C. Boolean D. Void 75. Which of the following method sorts the LIST and returns the sorted array value? A. Splice B. Split C. Join D. Sort 76. How will you delete a key/value pair to a hash? A. Using simple assignment B. using delete function C. Both of the above. D. None of the above. 77. Which variable will precede by at (@) sign? A. Scalar B. Array C. Hash D. Pointer 78. Which variable will precede by percentage (%) sign? A. Scalar B. Array C. Hash D. Pointer 79. Which variable is used to store ordered list of pairs? A. Scalar B. Array C. Hash D. Pointer 80. Which variable is used to store number or s string? A. Scalar B. Array C. Hash D. Pointer 81. Which function will remove any newline character from the end of a string? A. Chomp B. Chop 10/19

11 C. Index D. Length 82. Which function will remove the last character of a string? A. Chomp B. Chop C. Index D. Reverse 83. Which function will find the size of a string? A. Chomp B. Chop C. Length D. Reverse 84. Array variable are populated using. A. either parentheses or the qw operator B. either parentheses or the dq operator C. either angular brackets or the qw operator D. either angular brackets or the dq operator 85. Which operator simplifies the process of creating arrays with contiguous sequences of numbers and letters? A. Range B. Pop C. Push D. Shift 86. Which function moves the values of the list onto the end of the array? A. Range B. Pop C. Push D. Shift 87. Which function returns the last value of an array? A. Range B. Pop C. Push D. Shift 88. Which function removes the first element from an array? A. Shift B. Pop C. Push D. Unshift 89. Which function adds an element at the beginning of an array? A. Shift B. Pop C. Push 11/19

12 D. Unshift 90. Which function will reverse the array? A. Range B. Reverse C. Shift D. Unshift 91. Which function will merge an array into a string? A. Split B. Join C. Splice D. Sort 92. Which function will split a string into an array? A. Split B. Join C. Splice D. Sort 93. Which of the following statement restarts the loop block without evaluating the conditional again? A. Next B. Last C. Continue D. redo 94. Which of the following statement executes a sequence of statements multiple times and abbreviates the code that manages the loop variable? A. While B. Until C. For D. None of the above 95. Which of the following operator concatenates two strings? A. Single dot B. Multiplication C. Double dot D. Double addition 96. What is the difference between a hash and an ordinary array? A. Ordinary arrays cannot contain string values, while hashes can contain any type of scalar values B. Ordinary arrays use a numeric index, while hashes use a string index C. Ordinary arrays use a string index, while hashes use a numeric index D. All the above 97. In which order is a hash stored? A. The order defined by the number of values in the hash B. The order defined by the internal hashing algorithm C. The order in which the values were stored in the hash D. Both a and c 12/19

13 98. Select datatype in PERL which stores associative arrays? A. Hash B. Scalar C. Array D. String 99. PERL is? A. A type of interactive web B. An application program C. A programming language D. Relational database 100. Scalar is denoted by sign. A. Dollar B. Hash C. Percentage D. Asterisk 101. The statement gets executed only when the condition becomes true. A. if B. else C. elsif D. while 102. When there is an statement inside another if statement then it is called the. A. while B. until C. printed D. nested 103. Statement1 will execute if the condition1 is true and then the statement2 will execute if both condition1 and condition2 are true. Which type of conditions is this? A. if B. nested if C. while D. do...while 104. The statement inside the else condition will execute only when if condition is false. Which type of condition is this? A. if B. else C. elsif D. while 105. Multiple numbers of conditions can be checked using this control structure. Which type of condition is this? A. if B. else C. elsif 13/19

14 D. while 106. The condition is evaluated first and if it returns true then the statements inside this control structure will execute. A. if B. else C. elsif D. while 107. The use of increment or decrement operator is important in this type of control structure. Which type of condition is this? A. if B. else C. elsif D. while 108. First, the statement inside loop execute and then the condition gets evaluated, while the condition returns true then the control gets transferred to the first part of this control structure. Which type of control structure is this? A. if B. else C. while D. do...while 109. Loops are used to execute a set of statements repeatedly until a particular condition is satisfied. Which type of control structure is this? A. for B. foreach C. while D. do..while 110. The loop which is used to process the elements in an array. Which type of control structure is this? A. for B. foreach C. while D. do..while 111. Which one of the below is opposite to while loop? A. until B. switch C. while D. do...while 112. The control statement that causes the loop to skip the remainder of its body and immediately retest its condition prior to reiterating. A. next B. last C. redo D. continue 14/19

15 113. The control statement that terminates the loop statement and transfers execution to the statement immediately following the loop. Which type of control structure is this? A. next B. last C. redo D. continue 114. The control statement that executes the BLOCK just before the conditional is about the evaluated again. Which type of control structure is this? A. next B. last C. redo D. continue 115. The control statement that restarts the loop block without evaluating the conditional again. A. next B. last C. redo D. continue 116. Which type of goto form jumps to the statement labelled with the specific keyword and resumes execution from here? A. LABEL B. EXPR C. NAME D. All the above 117. Which type of goto is just a generalization of goto LABEL? A. LABEL B. EXPR C. NAME D. All the above 118. Which type of goto substitutes a call to the named subroutine for the currently running subroutine? A. LABEL B. EXPR C. NAME D. All the above 119. is a string of characters that defines the pattern. A. Expression B. Regular expression C. Substitutions D. Translations 120. How many types of regular expression operators are there? A. 3 B. 4 C. 5 D /19

16 121. Which operator is used to match a string or statement to a regular expression? A. Match B. Substitute C. Transliterate D. Binding 122. What is the symbol of match operator in regular expression? A. m and double forward slash B. m and single forward slash C. m and double backslash D. m and single backslash 123. Which modifier allows for global matching? A. i B. o C. x D. g 124. Which modifier will evaluates the expression only once? A. i B. o C. x D. g 125. Which modifier will make the match case insensitive? A. i B. o C. x D. g 126. Which modifier allows one to use white space in the expression for clarity? A. i B. o C. x D. g 127. Which modifier allows to search to continue even after a global match fails? a. i A. i B. o C. x D. cg 128. Which operator is used to replace the text matched with some new text? A. Match B. Substitute C. Transliterate D. Binding 129. What is the symbol of match operator in regular expression? 16/19

17 A. s and triple forward slash B. s and double forward slash C. s and double backslash D. s and triple backslash 130. Which type of translation operator modifiers complements search list? A. c B. d C. s D. m 131. Which type of translation operator modifiers deletes but unreplace characters? A. c B. d C. s D. m 132. Which type of operator duplicate replaced characters? A. c B. d C. s D. m 133. Which pattern matches the beginning of the line? A. kappa B. dollar C. asterick D. dot 134. Which pattern matches the end of the line? A. kappa B. dollar C. dot D. asterick 135. Which pattern matches any single character except newline? A. kappa B. dollar C. dot D. asterick 136. Which pattern matches any single character in brackets? A. kappa B. dollar C. triple dot D. asterick 137. Which pattern matches 0 or more occurrences of preceding expression? a. kappa A. kappa B. dollar 17/19

18 C. triple dot D. asterick 138. Which pattern matches 1 or more occurrences of preceding expression? A. Plus B. Question mark C. n inside the curly braces D. n and comma inside the curly braces 139. Which pattern matches 0 or 1 occurrence of preceding expression? A. Plus B. Question mark C. n inside the curly braces D. n and comma inside the curly braces 140. Which pattern matches n number of occurrences of preceding expression? A. Plus B. Question mark C. n inside the curly braces D. n and comma inside the curly braces 141. Which pattern matches n or more occurrences of preceding expression? A. Plus B. Question mark C. n inside the curly braces D. n and comma inside the curly braces 142. Which pattern matches n and at most m occurrences of preceding expression? A. Plus B. Question mark C. n inside the curly braces D. n and comma m inside the curly braces 143. Which pattern matches word characters? A. backslash w B. backslash W C. backslash s D. backslash S 144. Which pattern matches nonword characters? A. backslash w B. backslash W C. backslash s D. backslash S 145. Which pattern matches non-whitespace? A. backslash w B. backslash W C. backslash s D. backslash S 18/19

19 146. Which pattern matches digits? A. backslash d B. backslash D C. backslash A D. backslash Z 147. Which pattern matches non-digits? A. backslash d B. backslash D C. backslash A D. backslash Z 148. Which pattern matches beginning of string? A. backslash d B. backslash D C. backslash A D. backslash Z 149. Which pattern matches end of string? A. backslash d B. backslash D C. backslash A D. backslash Z 150. Which pattern matches point where last match modified? A. backslash d B. backslash D C. backslash A D. backslash G Staff Name Subhashini R. 19/19

PERL MOCK TEST PERL MOCK TEST II

PERL MOCK TEST PERL MOCK TEST II http://www.tutorialspoint.com PERL MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Perl. You can download these sample mock tests at your local machine

More information

I BCA[ ] SEMESTER I CORE: C PROGRAMMING - 106A Multiple Choice Questions.

I BCA[ ] SEMESTER I CORE: C PROGRAMMING - 106A Multiple Choice Questions. 1 of 22 8/4/2018, 4:03 PM Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Reaccredited at the 'A' Grade Level by the NAAC and ISO 9001:2008

More information

Pathologically Eclectic Rubbish Lister

Pathologically Eclectic Rubbish Lister Pathologically Eclectic Rubbish Lister 1 Perl Design Philosophy Author: Reuben Francis Cornel perl is an acronym for Practical Extraction and Report Language. But I guess the title is a rough translation

More information

Chapter 1 Introduction to Computers and C++ Programming

Chapter 1 Introduction to Computers and C++ Programming Chapter 1 Introduction to Computers and C++ Programming 1 Outline 1.1 Introduction 1.2 What is a Computer? 1.3 Computer Organization 1.7 History of C and C++ 1.14 Basics of a Typical C++ Environment 1.20

More information

I BSc(IT) [ Batch] Semester II Core: Object Oriented Programming With C plus plus - 212A Multiple Choice Questions.

I BSc(IT) [ Batch] Semester II Core: Object Oriented Programming With C plus plus - 212A Multiple Choice Questions. Dr.G.R.Damodaran College of Science (Autonomous, affiliated to the Bharathiar University, recognized by the UGC)Reaccredited at the 'A' Grade Level by the NAAC and ISO 9001:2008 Certified CRISL rated 'A'

More information

Perl. Interview Questions and Answers

Perl. Interview Questions and Answers and Answers Prepared by Abhisek Vyas Document Version 1.0 Team, www.sybaseblog.com 1 of 13 Q. How do you separate executable statements in perl? semi-colons separate executable statements Example: my(

More information

c) Comments do not cause any machine language object code to be generated. d) Lengthy comments can cause poor execution-time performance.

c) Comments do not cause any machine language object code to be generated. d) Lengthy comments can cause poor execution-time performance. 2.1 Introduction (No questions.) 2.2 A Simple Program: Printing a Line of Text 2.1 Which of the following must every C program have? (a) main (b) #include (c) /* (d) 2.2 Every statement in C

More information

What is PERL?

What is PERL? Perl For Beginners What is PERL? Practical Extraction Reporting Language General-purpose programming language Creation of Larry Wall 1987 Maintained by a community of developers Free/Open Source www.cpan.org

More information

(Refer Slide Time: 01:12)

(Refer Slide Time: 01:12) Internet Technology Prof. Indranil Sengupta Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture No #22 PERL Part II We continue with our discussion on the Perl

More information

Fundamental of Programming (C)

Fundamental of Programming (C) Borrowed from lecturer notes by Omid Jafarinezhad Fundamental of Programming (C) Lecturer: Vahid Khodabakhshi Lecture 3 Constants, Variables, Data Types, And Operations Department of Computer Engineering

More information

1. Introduction. 2. Scalar Data

1. Introduction. 2. Scalar Data 1. Introduction What Does Perl Stand For? Why Did Larry Create Perl? Why Didn t Larry Just Use Some Other Language? Is Perl Easy or Hard? How Did Perl Get to Be So Popular? What s Happening with Perl Now?

More information

Full file at C How to Program, 6/e Multiple Choice Test Bank

Full file at   C How to Program, 6/e Multiple Choice Test Bank 2.1 Introduction 2.2 A Simple Program: Printing a Line of Text 2.1 Lines beginning with let the computer know that the rest of the line is a comment. (a) /* (b) ** (c) REM (d)

More information

12/22/11. Java How to Program, 9/e. Help you get started with Eclipse and NetBeans integrated development environments.

12/22/11. Java How to Program, 9/e. Help you get started with Eclipse and NetBeans integrated development environments. Java How to Program, 9/e Education, Inc. All Rights Reserved. } Java application programming } Use tools from the JDK to compile and run programs. } Videos at www.deitel.com/books/jhtp9/ Help you get started

More information

PERL Scripting - Course Contents

PERL Scripting - Course Contents PERL Scripting - Course Contents Day - 1 Introduction to PERL Comments Reading from Standard Input Writing to Standard Output Scalar Variables Numbers and Strings Use of Single Quotes and Double Quotes

More information

Operators. Java operators are classified into three categories:

Operators. Java operators are classified into three categories: Operators Operators are symbols that perform arithmetic and logical operations on operands and provide a meaningful result. Operands are data values (variables or constants) which are involved in operations.

More information

INTRODUCTION 1 AND REVIEW

INTRODUCTION 1 AND REVIEW INTRODUTION 1 AND REVIEW hapter SYS-ED/ OMPUTER EDUATION TEHNIQUES, IN. Programming: Advanced Objectives You will learn: Program structure. Program statements. Datatypes. Pointers. Arrays. Structures.

More information

Java provides a rich set of operators to manipulate variables. We can divide all the Java operators into the following groups:

Java provides a rich set of operators to manipulate variables. We can divide all the Java operators into the following groups: JAVA OPERATORS GENERAL Java provides a rich set of operators to manipulate variables. We can divide all the Java operators into the following groups: Arithmetic Operators Relational Operators Bitwise Operators

More information

bphanikrishna.wordpress.com

bphanikrishna.wordpress.com Which of the following is not an input device A) plotter B) scanner C) keyboard D) mouse Which of the following statement is syntactically correct [ ] A) printf( %d, &a); B) scanf( %d, a); C) scanf( %d,

More information

Assoc. Prof. Dr. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved.

Assoc. Prof. Dr. Marenglen Biba. (C) 2010 Pearson Education, Inc. All rights reserved. Assoc. Prof. Dr. Marenglen Biba (C) 2010 Pearson Education, Inc. All rights reserved. Java application A computer program that executes when you use the java command to launch the Java Virtual Machine

More information

Scripting Languages Perl Basics. Course: Hebrew University

Scripting Languages Perl Basics. Course: Hebrew University Scripting Languages Perl Basics Course: 67557 Hebrew University אליוט יפה Jaffe Lecturer: Elliot FMTEYEWTK Far More Than Everything You've Ever Wanted to Know Perl Pathologically Eclectic Rubbish Lister

More information

DEPARTMENT OF MATHS, MJ COLLEGE

DEPARTMENT OF MATHS, MJ COLLEGE T. Y. B.Sc. Mathematics MTH- 356 (A) : Programming in C Unit 1 : Basic Concepts Syllabus : Introduction, Character set, C token, Keywords, Constants, Variables, Data types, Symbolic constants, Over flow,

More information

Typescript on LLVM Language Reference Manual

Typescript on LLVM Language Reference Manual Typescript on LLVM Language Reference Manual Ratheet Pandya UNI: rp2707 COMS 4115 H01 (CVN) 1. Introduction 2. Lexical Conventions 2.1 Tokens 2.2 Comments 2.3 Identifiers 2.4 Reserved Keywords 2.5 String

More information

Chapter 17. Fundamental Concepts Expressed in JavaScript

Chapter 17. Fundamental Concepts Expressed in JavaScript Chapter 17 Fundamental Concepts Expressed in JavaScript Learning Objectives Tell the difference between name, value, and variable List three basic data types and the rules for specifying them in a program

More information

C: How to Program. Week /Mar/05

C: How to Program. Week /Mar/05 1 C: How to Program Week 2 2007/Mar/05 Chapter 2 - Introduction to C Programming 2 Outline 2.1 Introduction 2.2 A Simple C Program: Printing a Line of Text 2.3 Another Simple C Program: Adding Two Integers

More information

Outline. CS3157: Advanced Programming. Feedback from last class. Last plug

Outline. CS3157: Advanced Programming. Feedback from last class. Last plug Outline CS3157: Advanced Programming Lecture #2 Jan 23 Shlomo Hershkop shlomo@cs.columbia.edu Feedback Introduction to Perl review and continued Intro to Regular expressions Reading Programming Perl pg

More information

JavaScript Functions, Objects and Array

JavaScript Functions, Objects and Array JavaScript Functions, Objects and Array Defining a Function A definition starts with the word function. A name follows that must start with a letter or underscore, followed by any number of letters, digits,

More information

Overview: Programming Concepts. Programming Concepts. Names, Values, And Variables

Overview: Programming Concepts. Programming Concepts. Names, Values, And Variables Chapter 18: Get With the Program: Fundamental Concepts Expressed in JavaScript Fluency with Information Technology Third Edition by Lawrence Snyder Overview: Programming Concepts Programming: Act of formulating

More information

Overview: Programming Concepts. Programming Concepts. Chapter 18: Get With the Program: Fundamental Concepts Expressed in JavaScript

Overview: Programming Concepts. Programming Concepts. Chapter 18: Get With the Program: Fundamental Concepts Expressed in JavaScript Chapter 18: Get With the Program: Fundamental Concepts Expressed in JavaScript Fluency with Information Technology Third Edition by Lawrence Snyder Overview: Programming Concepts Programming: Act of formulating

More information

Crayon (.cry) Language Reference Manual. Naman Agrawal (na2603) Vaidehi Dalmia (vd2302) Ganesh Ravichandran (gr2483) David Smart (ds3361)

Crayon (.cry) Language Reference Manual. Naman Agrawal (na2603) Vaidehi Dalmia (vd2302) Ganesh Ravichandran (gr2483) David Smart (ds3361) Crayon (.cry) Language Reference Manual Naman Agrawal (na2603) Vaidehi Dalmia (vd2302) Ganesh Ravichandran (gr2483) David Smart (ds3361) 1 Lexical Elements 1.1 Identifiers Identifiers are strings used

More information

CSCI 4152/6509 Natural Language Processing. Perl Tutorial CSCI 4152/6509. CSCI 4152/6509, Perl Tutorial 1

CSCI 4152/6509 Natural Language Processing. Perl Tutorial CSCI 4152/6509. CSCI 4152/6509, Perl Tutorial 1 CSCI 4152/6509 Natural Language Processing Perl Tutorial CSCI 4152/6509 Vlado Kešelj CSCI 4152/6509, Perl Tutorial 1 created in 1987 by Larry Wall About Perl interpreted language, with just-in-time semi-compilation

More information

VENTURE. Section 1. Lexical Elements. 1.1 Identifiers. 1.2 Keywords. 1.3 Literals

VENTURE. Section 1. Lexical Elements. 1.1 Identifiers. 1.2 Keywords. 1.3 Literals VENTURE COMS 4115 - Language Reference Manual Zach Adler (zpa2001), Ben Carlin (bc2620), Naina Sahrawat (ns3001), James Sands (js4597) Section 1. Lexical Elements 1.1 Identifiers An identifier in VENTURE

More information

Chapter 1 & 2 Introduction to C Language

Chapter 1 & 2 Introduction to C Language 1 Chapter 1 & 2 Introduction to C Language Copyright 2007 by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. Chapter 1 & 2 - Introduction to C Language 2 Outline 1.1 The History

More information

Chapter 2 - Introduction to C Programming

Chapter 2 - Introduction to C Programming Chapter 2 - Introduction to C Programming 2 Outline 2.1 Introduction 2.2 A Simple C Program: Printing a Line of Text 2.3 Another Simple C Program: Adding Two Integers 2.4 Memory Concepts 2.5 Arithmetic

More information

IT 374 C# and Applications/ IT695 C# Data Structures

IT 374 C# and Applications/ IT695 C# Data Structures IT 374 C# and Applications/ IT695 C# Data Structures Module 2.1: Introduction to C# App Programming Xianrong (Shawn) Zheng Spring 2017 1 Outline Introduction Creating a Simple App String Interpolation

More information

Basics of Java Programming

Basics of Java Programming Basics of Java Programming Lecture 2 COP 3252 Summer 2017 May 16, 2017 Components of a Java Program statements - A statement is some action or sequence of actions, given as a command in code. A statement

More information

15.1 Origins and Uses of Ruby

15.1 Origins and Uses of Ruby 15.1 Origins and Uses of Ruby - Designed by Yukihiro Matsumoto; released in 1996 - Use spread rapidly in Japan - Use is now growing in part because of its use in Rails - A pure object-oriented purely interpreted

More information

Lexical Considerations

Lexical Considerations Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.035, Fall 2005 Handout 6 Decaf Language Wednesday, September 7 The project for the course is to write a

More information

Full file at

Full file at Java Programming: From Problem Analysis to Program Design, 3 rd Edition 2-1 Chapter 2 Basic Elements of Java At a Glance Instructor s Manual Table of Contents Overview Objectives s Quick Quizzes Class

More information

A control expression must evaluate to a value that can be interpreted as true or false.

A control expression must evaluate to a value that can be interpreted as true or false. Control Statements Control Expressions A control expression must evaluate to a value that can be interpreted as true or false. How a control statement behaves depends on the value of its control expression.

More information

Features of C. Portable Procedural / Modular Structured Language Statically typed Middle level language

Features of C. Portable Procedural / Modular Structured Language Statically typed Middle level language 1 History C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC

More information

Visual C# Instructor s Manual Table of Contents

Visual C# Instructor s Manual Table of Contents Visual C# 2005 2-1 Chapter 2 Using Data At a Glance Instructor s Manual Table of Contents Overview Objectives s Quick Quizzes Class Discussion Topics Additional Projects Additional Resources Key Terms

More information

B.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University

B.V. Patel Institute of Business Management, Computer & Information Technology, Uka Tarsadia University Unit 1 Programming Language and Overview of C 1. State whether the following statements are true or false. a. Every line in a C program should end with a semicolon. b. In C language lowercase letters are

More information

C OVERVIEW BASIC C PROGRAM STRUCTURE. C Overview. Basic C Program Structure

C OVERVIEW BASIC C PROGRAM STRUCTURE. C Overview. Basic C Program Structure C Overview Basic C Program Structure C OVERVIEW BASIC C PROGRAM STRUCTURE Goals The function main( )is found in every C program and is where every C program begins speed execution portability C uses braces

More information

1. What type of error produces incorrect results but does not prevent the program from running? a. syntax b. logic c. grammatical d.

1. What type of error produces incorrect results but does not prevent the program from running? a. syntax b. logic c. grammatical d. Gaddis: Starting Out with Python, 2e - Test Bank Chapter Two MULTIPLE CHOICE 1. What type of error produces incorrect results but does not prevent the program from running? a. syntax b. logic c. grammatical

More information

Programming for Engineers Introduction to C

Programming for Engineers Introduction to C Programming for Engineers Introduction to C ICEN 200 Spring 2018 Prof. Dola Saha 1 Simple Program 2 Comments // Fig. 2.1: fig02_01.c // A first program in C begin with //, indicating that these two lines

More information

Chapter 1 Summary. Chapter 2 Summary. end of a string, in which case the string can span multiple lines.

Chapter 1 Summary. Chapter 2 Summary. end of a string, in which case the string can span multiple lines. Chapter 1 Summary Comments are indicated by a hash sign # (also known as the pound or number sign). Text to the right of the hash sign is ignored. (But, hash loses its special meaning if it is part of

More information

Chapter 2. Lexical Elements & Operators

Chapter 2. Lexical Elements & Operators Chapter 2. Lexical Elements & Operators Byoung-Tak Zhang TA: Hanock Kwak Biointelligence Laboratory School of Computer Science and Engineering Seoul National Univertisy http://bi.snu.ac.kr The C System

More information

ADARSH VIDYA KENDRA NAGERCOIL COMPUTER SCIENCE. Grade: IX C++ PROGRAMMING. Department of Computer Science 1

ADARSH VIDYA KENDRA NAGERCOIL COMPUTER SCIENCE. Grade: IX C++ PROGRAMMING. Department of Computer Science 1 NAGERCOIL COMPUTER SCIENCE Grade: IX C++ PROGRAMMING 1 C++ 1. Object Oriented Programming OOP is Object Oriented Programming. It was developed to overcome the flaws of the procedural approach to programming.

More information

C OVERVIEW. C Overview. Goals speed portability allow access to features of the architecture speed

C OVERVIEW. C Overview. Goals speed portability allow access to features of the architecture speed C Overview C OVERVIEW Goals speed portability allow access to features of the architecture speed C fast executables allows high-level structure without losing access to machine features many popular languages

More information

Language Reference Manual

Language Reference Manual ALACS Language Reference Manual Manager: Gabriel Lopez (gal2129) Language Guru: Gabriel Kramer-Garcia (glk2110) System Architect: Candace Johnson (crj2121) Tester: Terence Jacobs (tj2316) Table of Contents

More information

Dec Hex Bin ORG ; ZERO. Introduction To Computing

Dec Hex Bin ORG ; ZERO. Introduction To Computing Dec Hex Bin 0 0 00000000 ORG ; ZERO Introduction To Computing OBJECTIVES this chapter enables the student to: Convert any number from base 2, base 10, or base 16 to any of the other two bases. Add and

More information

\n is used in a string to indicate the newline character. An expression produces data. The simplest expression

\n is used in a string to indicate the newline character. An expression produces data. The simplest expression Chapter 1 Summary Comments are indicated by a hash sign # (also known as the pound or number sign). Text to the right of the hash sign is ignored. (But, hash loses its special meaning if it is part of

More information

1 Lexical Considerations

1 Lexical Considerations Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.035, Spring 2013 Handout Decaf Language Thursday, Feb 7 The project for the course is to write a compiler

More information

CSC Web Programming. Introduction to JavaScript

CSC Web Programming. Introduction to JavaScript CSC 242 - Web Programming Introduction to JavaScript JavaScript JavaScript is a client-side scripting language the code is executed by the web browser JavaScript is an embedded language it relies on its

More information

Indian Institute of Technology Kharagpur. PERL Part II. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T.

Indian Institute of Technology Kharagpur. PERL Part II. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T. Indian Institute of Technology Kharagpur PERL Part II Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T. Kharagpur, INDIA Lecture 22: PERL Part II On completion, the student will be able

More information

Lexical Considerations

Lexical Considerations Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.035, Spring 2010 Handout Decaf Language Tuesday, Feb 2 The project for the course is to write a compiler

More information

UNIT- 3 Introduction to C++

UNIT- 3 Introduction to C++ UNIT- 3 Introduction to C++ C++ Character Sets: Letters A-Z, a-z Digits 0-9 Special Symbols Space + - * / ^ \ ( ) [ ] =!= . $, ; : %! &? _ # = @ White Spaces Blank spaces, horizontal tab, carriage

More information

Course Outline. Introduction to java

Course Outline. Introduction to java Course Outline 1. Introduction to OO programming 2. Language Basics Syntax and Semantics 3. Algorithms, stepwise refinements. 4. Quiz/Assignment ( 5. Repetitions (for loops) 6. Writing simple classes 7.

More information

Object oriented programming. Instructor: Masoud Asghari Web page: Ch: 3

Object oriented programming. Instructor: Masoud Asghari Web page:   Ch: 3 Object oriented programming Instructor: Masoud Asghari Web page: http://www.masses.ir/lectures/oops2017sut Ch: 3 1 In this slide We follow: https://docs.oracle.com/javase/tutorial/index.html Trail: Learning

More information

Chapter 2 Getting Started with Python

Chapter 2 Getting Started with Python Chapter 2 Getting Started with Python Introduction Python Programming language was developed by Guido Van Rossum in February 1991. It is based on or influenced with two programming languages: 1. ABC language,

More information

9.1 Origins and Uses of Perl

9.1 Origins and Uses of Perl 9.1 Origins and Uses of Perl - Began in the late 1980s as a more powerful replacement for the capabilities of awk (text file processing) and sh (UNIX system administration) - Now includes sockets for communications

More information

Introduction to C Programming. Chih-Wei Tang ( 唐之瑋 ) Department of Communication Engineering National Central University JhongLi, Taiwan

Introduction to C Programming. Chih-Wei Tang ( 唐之瑋 ) Department of Communication Engineering National Central University JhongLi, Taiwan Introduction to C Programming Chih-Wei Tang ( 唐之瑋 ) Department of Communication Engineering National Central University JhongLi, Taiwan Outline Printing texts Adding 2 integers Comparing 2 integers C.E.,

More information

M/s. Managing distributed workloads. Language Reference Manual. Miranda Li (mjl2206) Benjamin Hanser (bwh2124) Mengdi Lin (ml3567)

M/s. Managing distributed workloads. Language Reference Manual. Miranda Li (mjl2206) Benjamin Hanser (bwh2124) Mengdi Lin (ml3567) 1 M/s Managing distributed workloads Language Reference Manual Miranda Li (mjl2206) Benjamin Hanser (bwh2124) Mengdi Lin (ml3567) Table of Contents 1. Introduction 2. Lexical elements 2.1 Comments 2.2

More information

Contents. Jairo Pava COMS W4115 June 28, 2013 LEARN: Language Reference Manual

Contents. Jairo Pava COMS W4115 June 28, 2013 LEARN: Language Reference Manual Jairo Pava COMS W4115 June 28, 2013 LEARN: Language Reference Manual Contents 1 Introduction...2 2 Lexical Conventions...2 3 Types...3 4 Syntax...3 5 Expressions...4 6 Declarations...8 7 Statements...9

More information

They grow as needed, and may be made to shrink. Officially, a Perl array is a variable whose value is a list.

They grow as needed, and may be made to shrink. Officially, a Perl array is a variable whose value is a list. Arrays Perl arrays store lists of scalar values, which may be of different types. They grow as needed, and may be made to shrink. Officially, a Perl array is a variable whose value is a list. A list literal

More information

ESCI 386 IDL Programming for Advanced Earth Science Applications Lesson 1 IDL Operators

ESCI 386 IDL Programming for Advanced Earth Science Applications Lesson 1 IDL Operators ESCI 386 IDL Programming for Advanced Earth Science Applications Lesson 1 IDL Operators ARITHMATIC OPERATORS The assignment operator in IDL is the equals sign, =. IDL uses all the familiar arithmetic operators

More information

QUIZ: What value is stored in a after this

QUIZ: What value is stored in a after this QUIZ: What value is stored in a after this statement is executed? Why? a = 23/7; QUIZ evaluates to 16. Lesson 4 Statements, Expressions, Operators Statement = complete instruction that directs the computer

More information

JME Language Reference Manual

JME Language Reference Manual JME Language Reference Manual 1 Introduction JME (pronounced jay+me) is a lightweight language that allows programmers to easily perform statistic computations on tabular data as part of data analysis.

More information

Preview from Notesale.co.uk Page 6 of 52

Preview from Notesale.co.uk Page 6 of 52 Binary System: The information, which it is stored or manipulated by the computer memory it will be done in binary mode. RAM: This is also called as real memory, physical memory or simply memory. In order

More information

CP FAQS Q-1) Define flowchart and explain Various symbols of flowchart Q-2) Explain basic structure of c language Documentation section :

CP FAQS Q-1) Define flowchart and explain Various symbols of flowchart Q-2) Explain basic structure of c language Documentation section : CP FAQS Q-1) Define flowchart and explain Various symbols of flowchart ANS. Flowchart:- A diagrametic reperesentation of program is known as flowchart Symbols Q-2) Explain basic structure of c language

More information

Chapter 2, Part I Introduction to C Programming

Chapter 2, Part I Introduction to C Programming Chapter 2, Part I Introduction to C Programming C How to Program, 8/e, GE 2016 Pearson Education, Ltd. All rights reserved. 1 2016 Pearson Education, Ltd. All rights reserved. 2 2016 Pearson Education,

More information

Introduction To Java. Chapter 1. Origins of the Java Language. Origins of the Java Language. Objects and Methods. Origins of the Java Language

Introduction To Java. Chapter 1. Origins of the Java Language. Origins of the Java Language. Objects and Methods. Origins of the Java Language Chapter 1 Getting Started Introduction To Java Most people are familiar with Java as a language for Internet applications We will study Java as a general purpose programming language The syntax of expressions

More information

C Language Part 1 Digital Computer Concept and Practice Copyright 2012 by Jaejin Lee

C Language Part 1 Digital Computer Concept and Practice Copyright 2012 by Jaejin Lee C Language Part 1 (Minor modifications by the instructor) References C for Python Programmers, by Carl Burch, 2011. http://www.toves.org/books/cpy/ The C Programming Language. 2nd ed., Kernighan, Brian,

More information

Programming - 1. Computer Science Department 011COMP-3 لغة البرمجة 1 لطالب كلية الحاسب اآللي ونظم المعلومات 011 عال- 3

Programming - 1. Computer Science Department 011COMP-3 لغة البرمجة 1 لطالب كلية الحاسب اآللي ونظم المعلومات 011 عال- 3 Programming - 1 Computer Science Department 011COMP-3 لغة البرمجة 1 011 عال- 3 لطالب كلية الحاسب اآللي ونظم المعلومات 1 1.1 Machine Language A computer programming language which has binary instructions

More information

Introduction to Perl. Perl Background. Sept 24, 2007 Class Meeting 6

Introduction to Perl. Perl Background. Sept 24, 2007 Class Meeting 6 Introduction to Perl Sept 24, 2007 Class Meeting 6 * Notes on Perl by Lenwood Heath, Virginia Tech 2004 Perl Background Practical Extraction and Report Language (Perl) Created by Larry Wall, mid-1980's

More information

Character Set. The character set of C represents alphabet, digit or any symbol used to represent information. Digits 0, 1, 2, 3, 9

Character Set. The character set of C represents alphabet, digit or any symbol used to represent information. Digits 0, 1, 2, 3, 9 Character Set The character set of C represents alphabet, digit or any symbol used to represent information. Types Uppercase Alphabets Lowercase Alphabets Character Set A, B, C, Y, Z a, b, c, y, z Digits

More information

SOFT 161. Class Meeting 1.6

SOFT 161. Class Meeting 1.6 University of Nebraska Lincoln Class Meeting 1.6 Slide 1/13 Overview of A general purpose programming language Created by Guido van Rossum Overarching design goal was orthogonality Automatic memory management

More information

VLC : Language Reference Manual

VLC : Language Reference Manual VLC : Language Reference Manual Table Of Contents 1. Introduction 2. Types and Declarations 2a. Primitives 2b. Non-primitives - Strings - Arrays 3. Lexical conventions 3a. Whitespace 3b. Comments 3c. Identifiers

More information

Ruby: Introduction, Basics

Ruby: Introduction, Basics Ruby: Introduction, Basics Computer Science and Engineering College of Engineering The Ohio State University Lecture 4 Ruby vs Java: Similarities Imperative and object-oriented Classes and instances (ie

More information

GridLang: Grid Based Game Development Language Language Reference Manual. Programming Language and Translators - Spring 2017 Prof.

GridLang: Grid Based Game Development Language Language Reference Manual. Programming Language and Translators - Spring 2017 Prof. GridLang: Grid Based Game Development Language Language Reference Manual Programming Language and Translators - Spring 2017 Prof. Stephen Edwards Akshay Nagpal Dhruv Shekhawat Parth Panchmatia Sagar Damani

More information

The PCAT Programming Language Reference Manual

The PCAT Programming Language Reference Manual The PCAT Programming Language Reference Manual Andrew Tolmach and Jingke Li Dept. of Computer Science Portland State University September 27, 1995 (revised October 15, 2002) 1 Introduction The PCAT language

More information

Fundamentals of Programming

Fundamentals of Programming Fundamentals of Programming Lecture 3 - Constants, Variables, Data Types, And Operations Lecturer : Ebrahim Jahandar Borrowed from lecturer notes by Omid Jafarinezhad Outline C Program Data types Variables

More information

Chapter 2: Using Data

Chapter 2: Using Data Chapter 2: Using Data Declaring Variables Constant Cannot be changed after a program is compiled Variable A named location in computer memory that can hold different values at different points in time

More information

Expressions and Data Types CSC 121 Spring 2015 Howard Rosenthal

Expressions and Data Types CSC 121 Spring 2015 Howard Rosenthal Expressions and Data Types CSC 121 Spring 2015 Howard Rosenthal Lesson Goals Understand the basic constructs of a Java Program Understand how to use basic identifiers Understand simple Java data types

More information

Computers Programming Course 6. Iulian Năstac

Computers Programming Course 6. Iulian Năstac Computers Programming Course 6 Iulian Năstac Recap from previous course Data types four basic arithmetic type specifiers: char int float double void optional specifiers: signed, unsigned short long 2 Recap

More information

B E C Y. Reference Manual

B E C Y. Reference Manual B E C Y Tabular data manipulation language Reference Manual Authors: Bong Koh Eunchul Bae Cesar Vichdo Yongju Bang bdk2109@columbia.edu eb2263@columbia.edu cv2139@columbia.edu yb2149@columbia.edu 1 1.

More information

Intro to Computer Programming (ICP) Rab Nawaz Jadoon

Intro to Computer Programming (ICP) Rab Nawaz Jadoon Intro to Computer Programming (ICP) Rab Nawaz Jadoon DCS COMSATS Institute of Information Technology Assistant Professor COMSATS IIT, Abbottabad Pakistan Introduction to Computer Programming (ICP) What

More information

Introduction to C# Applications

Introduction to C# Applications 1 2 3 Introduction to C# Applications OBJECTIVES To write simple C# applications To write statements that input and output data to the screen. To declare and use data of various types. To write decision-making

More information

Java Notes. 10th ICSE. Saravanan Ganesh

Java Notes. 10th ICSE. Saravanan Ganesh Java Notes 10th ICSE Saravanan Ganesh 13 Java Character Set Character set is a set of valid characters that a language can recognise A character represents any letter, digit or any other sign Java uses

More information

Programming Fundamentals (CS 302 ) Dr. Ihsan Ullah. Lecturer Department of Computer Science & IT University of Balochistan

Programming Fundamentals (CS 302 ) Dr. Ihsan Ullah. Lecturer Department of Computer Science & IT University of Balochistan Programming Fundamentals (CS 302 ) Dr. Ihsan Ullah Lecturer Department of Computer Science & IT University of Balochistan 1 Outline p Introduction p Program development p C language and beginning with

More information

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 11 Introduction to PHP

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 11 Introduction to PHP Chapter 11 Introduction to PHP 11.1 Origin and Uses of PHP Developed by Rasmus Lerdorf in 1994 PHP is a server-side scripting language, embedded in XHTML pages PHP has good support for form processing

More information

GO - OPERATORS. This tutorial will explain the arithmetic, relational, logical, bitwise, assignment and other operators one by one.

GO - OPERATORS. This tutorial will explain the arithmetic, relational, logical, bitwise, assignment and other operators one by one. http://www.tutorialspoint.com/go/go_operators.htm GO - OPERATORS Copyright tutorialspoint.com An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations.

More information

ARG! Language Reference Manual

ARG! Language Reference Manual ARG! Language Reference Manual Ryan Eagan, Mike Goldin, River Keefer, Shivangi Saxena 1. Introduction ARG is a language to be used to make programming a less frustrating experience. It is similar to C

More information

x = 3 * y + 1; // x becomes 3 * y + 1 a = b = 0; // multiple assignment: a and b both get the value 0

x = 3 * y + 1; // x becomes 3 * y + 1 a = b = 0; // multiple assignment: a and b both get the value 0 6 Statements 43 6 Statements The statements of C# do not differ very much from those of other programming languages. In addition to assignments and method calls there are various sorts of selections and

More information

Programming: detailed instructions which tell the computer hardware what to do aka software Computer Science: the study NOT of computers, but of what

Programming: detailed instructions which tell the computer hardware what to do aka software Computer Science: the study NOT of computers, but of what Programming: detailed instructions which tell the computer hardware what to do aka software Computer Science: the study NOT of computers, but of what can be computed what processes a computer can execute

More information

CGS 3066: Spring 2015 JavaScript Reference

CGS 3066: Spring 2015 JavaScript Reference CGS 3066: Spring 2015 JavaScript Reference Can also be used as a study guide. Only covers topics discussed in class. 1 Introduction JavaScript is a scripting language produced by Netscape for use within

More information

Language Reference Manual simplicity

Language Reference Manual simplicity Language Reference Manual simplicity Course: COMS S4115 Professor: Dr. Stephen Edwards TA: Graham Gobieski Date: July 20, 2016 Group members Rui Gu rg2970 Adam Hadar anh2130 Zachary Moffitt znm2104 Suzanna

More information

Java Bytecode (binary file)

Java Bytecode (binary file) Java is Compiled Unlike Python, which is an interpreted langauge, Java code is compiled. In Java, a compiler reads in a Java source file (the code that we write), and it translates that code into bytecode.

More information

CHW 469 : Embedded Systems

CHW 469 : Embedded Systems CHW 469 : Instructor: Dr. Ahmed Shalaby http://bu.edu.eg/staff/ahmedshalaby14# https://piazza.com/fci.bu.edu.eg/spring2017/chw469/home Assignment no. 3 kindly read the following paper [Software Engineering

More information

4. Inputting data or messages to a function is called passing data to the function.

4. Inputting data or messages to a function is called passing data to the function. Test Bank for A First Book of ANSI C 4th Edition by Bronson Link full download test bank: http://testbankcollection.com/download/test-bank-for-a-first-book-of-ansi-c-4th-edition -by-bronson/ Link full

More information