1) What kind of statements are used in branching to tell a computer what to do? a) If...then b) Then...else c) True or false d) Char 2) Which of these has a decimal place? a) Char b) String c) Integer d) Floats 3) In Boolean, what represents a true condition? a) 0 b) 1 c) True d) Constant 4) What kind of logic is used in looping? a) Flowchart b) Boolean c) Circular d) Vectors 5) What is a visual representation of a program comprised of boxes? a) Pseudocode b) Flowchart c) Containers d) Arrays 6) What is the purpose of pseudocode? a) Keep code tidy b) Keep a record of changes c) Make comments or explanations d) Make it easier to fix bugs 7) Which of these must all be of the same data type? a) Containers b) Arrays c) Vectors d) Objects 8) What can a dynamically allocated vector do? a) Compress data b) Be reusable c) Change its attributes, properties and methods d) Change size 9) Which of these are sections of reusable code and linear in nature? a) Functions b) Objects c) Properties d) Attributes 10) What are functions for objects known as? a) Methods b) Vectors c) Attributes d) Properties

Understanding Programming Concepts and Techniques

Papan mata

Gaya visual

Pilihan

Tukar templat

Pulihkan autosimpan: ?