# Quiz ### What is a variable? - [x] a placeholder for a value, mapped by a name - [ ] a blueprint for an object - [ ] a template for a method - [ ] a declaration of a type ### What is variable-declaration? > Hint: `int x`; - [x] expressing the creation of a new variable - [ ] expressing the creation of a new value - [ ] expressing the creation of a new object - [ ] expressing the creation of a new variable and setting its value ### What is variable-initialization? > Hint: `x = 10`; - [ ] expressing the creation of a new variable - [ ] expressing the creation of a new value - [ ] expressing the creation of a new object - [X] setting the value of a new variable that has been previously declared ### What is variable-declaration-and-initialization? > Hint: `int x = 10`; - [ ] expressing the creation of a new variable - [ ] expressing the creation of a new value - [ ] expressing the creation of a new object - [X] expressing the creation of a new variable and setting its value ### What is object instantiation? > Hint: `Object obj = new Object()`; - [ ] expressing the creation of a new variable - [ ] expressing the creation of a new value - [X] expressing the creation of a new object - [ ] expressing the creation of a new variable and setting its value ### Can a variable be delcared and initialized on the same line? > Hint: `int x = 10`; - [X] Yes - [ ] No ### Can an Object be delcared and instantiated on the same line? > Hint: `Object obj = new Object()`; - [X] Yes - [ ] No ### What is a variable type? - [ ] The encapsulation of any combination of fields or methods - [X] The name of the class of a particular object. - [ ] A String ### What is a parameter? - [X] a variable in the signature of a function definition. - [ ] The name of the class of a particular object. - [ ] a value passed during function invocation ### What is an argument? - [ ] The name of the class of a particular object. - [ ] a variable in the signature of a function definition. - [X] a value passed during function invocation ### What is a procedure? - [X] a series of instructions to be performed. - [ ] a series of instructions to be performed dependent on some input and returning some output. - [ ] a series of instructions to be performed by an object. ### What is a function? > Hint: A function is a type of _procedure_; - [ ] a series of instructions to be performed. - [X] a series of instructions to be performed dependent on some input and returning some output. - [ ] a series of instructions to be performed by an object. ### What is a method? > Hint: A method is a type of **function defined in a class**. - [ ] a series of instructions to be performed. - [ ] a series of instructions to be performed dependent on some input and returning some output. - [X] a series of instructions to be performed by an object. ### What is a class? > Hint: it is the cookie-cutter to a cookie - [X] a template or blueprint from which objects are made. - [ ] the name of the class of a particular object. - [ ] the properties or attributes of a particular object. - [ ] the behvaiors or actions of a particular object.