WorksheetsCoding (JavaScript)
Total questions: 25
Worksheet time: 13mins
_________________ consists of specific words and symbols to express a problem solution.
A programming language
Software
Hardware
A computer
An application
Java is _____________
A procedural language
A functional language
An object oriented language
A fourth generation language
A spoken language
Problem domain describes
The set of problems that are encountered when testing a program
The alternate ways to design the solution
The challenges in implementing the solution
The real world issues that are key to a solution
All of the above
In order for a program to run on a computer, it must be expressed in_______________
An assembly language
A machine language
A high level language
An object oriented language
A fourth generation language
A syntax error is a __________________
A logical error
A compile time error
A run time error
A bug
An exception
Which of the following is NOT one of the four basic software development activities?
Establishing the requirements
Creating a design
Preliminary practice coding
Testing
Implementing the design
Software requirements specify _______________
What a program should accomplish
Which programming language the developer should use
How objects should be encapsulated
How a solution should be implemented
A programming schedule
The______________ of an object define it define it's potential behaviors.
Attributes
White spaces
Variables
Methods
Name
Which of the following will is considered a logical error?
Forgetting a semicolon at the end of a programming statement
Typing a curly bracket when you should have typed a parenthesis
Multiplying two numbers when you meant to add them
Dividing by zero
Misspelling an identifier
Which of the following lines is a properly formatted comment?
// This is a comment
/* This is a comment */
/*
this is a comment
*/
Both a and b
A, b and c
The Java compiler translates Java source code into_____________.
Java bytecode
C++
Assembly code
Machine code
An object oriented language
Classes can be created from other classes by using__________.
Encapsulation
Polymorphism
Inheritance
Attributes
Machine code
Which of the following is not a valid Java identifier?
answer_7
highest$
anExtremelyLongIdentifierIfYouAskMe
2ndlevel
thirdNumber
Which tasks is/are done in the implementation activity in the software development process?
Specify what the program must accomplish
Determine how a program will accomplish it's requirements
Write the source code that will solve the problem
Ensure that the program solves the targeted problem
All of the above
Which of the following describes the act of ensuring that a problem solved the intended problem in all cases?
Establishing the requirements
Testing
Preliminary practice coding
Implementing the design
Creating a design
An editor is typically included as part of an IDE.
Comments affect the run-time execution of a program.
A reserved word can be used to name a method.
"Purchase a computer" is one of the problem-solving steps.
In Java, total, ToTal and TOTAL are all different identifiers.
Testing is the act of ensuring that a program will solve the targeted problem.
The attribute of an object defines it's potential behaviors.
An interpreter is a program that translates code that is written in one language into equivalent code in another language.
Syntax rules dictate the form of a program. Semantics dictate the meaning of the program statements.
An object should never be encapsulated.
