Quiz
Interactive Media Specialist Mid Term
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (40)
1Before you create an object, you must declare a
- AField
- BMethod
- CClass
- DFunction
2Dynamic typing are languages that type checking is done at
- ACompile-Time
- BRuntime
- CControl time
- DUp time
3Strict typing are languages that type checking is done at
- ACompile time
- BRuntime
- CBed time
- DUp time
4Some functions return values(calculates radius); others perform a task (moves a square), but return no value.
- ATrue
- BFalse
5A variable is a placeholder for storing
- AInformation
- BMemory
- CProcesses
- DData
6Functions are:
- Apre-written algorithm
- Bpre-written chunk of code that performs a specific task
- Cpre-written information that performs a specific task
- DCommands to perform a specific task
7Programming is the process of creating a set of code to tell a computer how to perform a particular function.
- ATrue
- BFalse
8Processing is a
- Aset of instruction to perform a specific task
- Bsoftware suite that has the basic tools developers need to write and test software
- Csoftware sketchbook and a language for learning how to code within the context of the visual arts
- Da filter for receiving data and giving instructions
9Processing IDE:
- AInteractive Digital Environment
- BIntegrated Development Environment
- CIntegrated Driven Environment
- DIndividualized Data Entry
10Processing IDE: Integrated Development Environment is a
- AA software suite that teaches code in the context of visual arts
- BA software suite that has basic tools developers need to write and test languages
- CA software suite that has basic tools developers need to practice coding
- DA software suite that has the basic tools developers need to write and test software
11A scope of a variable defines the section of the code in which the variable is visible/accessible
- ATrue
- BFalse
12Local variables, variables declared outside of setup() and draw(), may be used anywhere within the program.
- ATrue
- BFalse
13Conditions:
- Aallow a program to decide to take one action if the answer to a question is true or false
conditionals are the for loops in a script - Ballow a program to decide to take multiple actions if the answer to a question is true or false
conditionals are the for loops in a script - Callows a program to set parameters
- Dallows a program to add variables and functions
- Aallow a program to decide to take one action if the answer to a question is true or false
14Each sketch can have only one setup() and one draw() function, when the program starts the code outside of setup and draw runs., next the code inside the setup() block is run once.
- ATrue
- BFalse
15Int - a number with a decimal place. Used when more precision is needed.
- ATrue
- BFalse
16Methods are
- Aa set of instructions to perform a specific task
- Ba way functions are coded
- Care functions within an object or predefined functions within the language
- Dinstructions to add variables to functions
17Parameters: values placed inside of the parenthesis of a function
- ATrue
- BFalse
18An Array is
- Aa set of data used in various locations
- Ba set of data used in different functions
- Ca set of data elements stored under the same name
- Da set of data used in different variables
19function println() function writes to the console area, the black rectangle at the bottom of the Processing environment.
- ATrue
- BFalse
20How to create an Array?
3 steps to create an array:
1) declare a variable to hold array
2) create a new array object & assign it to array variable
3) store things in that array- ATrue
- BFalse
21for loops and arrays work in hand as a loop allows:
- Ato easily cycle through an array
- Brepeat a function over and over
- Crepeat through an array
- Dto easily cycle through vriables
22OOP:
- AObject Oriented Project
- BObject Oriented Programming
- COriented Obstructive Plan
- DOverly Objected Programming
23objects group variables with related functions in a package.
- ATrue
- BFalse
24in context of an object, a variable is called a_________ & a function is called a ____________.
- AArray, Object
- BSetup, draw
- CArray, draw
- DField, Method
25The purpose of the constructor is to:
- Abuild functions and variables to create code
- Bassign initial values to the fields when an object or instance of the class in created
- Cassign values to array and create objects
- Dtell an object when to use class or a field
26JavaScript is an ____________________. it allows for ____________________________
- Ainterpreted language, it allows for the user to interact with HTML pages to create code
- Blanguage, creative coding with HTML pages & interactive processing of data
- Cinterpreted language, the creation of dynamic HTML pages, processing input data & outputting data.
- Dpredefined language, coding for all HTML pages
27DOM is Document Object Model
- ATrue
- BFalse
28DOM is an
- Aan application programming interface that defines logical structure of HTML documents
- Ban application that defines objects and orients them
- Can application programming interface that allows variables to be moved
- Dan application that creates functions and array's
29DOM
document means the page (web page is the document.
object means the elements, components, individual pieces of this document.
model means the ability to take any HTML and represent it as a tree structure.- ATrue
- BFalse
30DOM is a programming language
- ATrue
- BFalse
31DOM represents a document as a tree. the tree is a parent-child relationship. parent can have one or more children nodes.
Example of DOM structure on page. Firefox > Tools > Web Developer > Inspector- ATrue
- BFalse
32We link our own Java Script file to the top of the page
- ATrue
- BFalse
33SEAF = self executing anonymous function
- ATrue
- BFalse
34the variables declared in the SEAF are only available to the code within the self-executing function.
- ATrue
- BFalse
35Strict Mode: opt into a restricted variant of JS. it eliminates some JS silent errors by changing them to throw errors.
strict mode makes it possible to accidently create global variables. eg. score = 10;
to implement: add 'use strict'; at the top of your file before starting to code.- ATrue
- BFalse
36translate () function:
- Ait translates the code into a different language
- Bit moves the variables and functions
- Cit moves the whole coordinate system
- Dit translates coding languages into one
37Coordinates can be translated, rotated, and scaled so shapes are drawn to the display window with different position and size.
- ATrue
- BFalse
38Rotation:
- ARadian is the standard unit of code
- BRadian is the standard unit of angular measure
- CRadian is the standard unit of math in code
- DRadian is the standard unit of the radius
39The Processing IDE contains
- ACode editor
- BCompiler
- CDebugger
- DAll of the above
40In Processing, a computer program is called a ________________ and is stored in the _________________which is a folder on your computer
- Asoftware, suite
- Bcode, office suite
- Cdrawing, notepad
- Dsketch, sketchbook
Information
- Description
- Quiz on Interactive Media Specialist Mid Term, created by Jaremy Bannon on 15/10/2018.
- Author
- Jaremy Bannon
- Language
- English
- Views
- 7
- Rating
- No ratings yet Rate this quiz