1.Question 1Which of the following is a piece of structured, stand-alone, and reusable code that will perform a single specific action? 1 pointA function A vector A container An array 2.Question 2Which of the following words is used for the data stored in an object? 1 pointMethod Property Function Behavior 3.Question 3Which of the following identifiers contains a single data item that can change value during the execution of the program? 1 pointVariable Constant Vector Array 4.Question 4Which of the following is a type of programming logic? 1 pointMoving Deciding Looping Hopping 5.Question 5A Boolean variable can have which of the following values? 1 point0, -1 0, 1 1, 2 0, 1, 2
Question
1.Question 1Which of the following is a piece of structured, stand-alone, and reusable code that will perform a single specific action? 1 pointA function A vector A container An array 2.Question 2Which of the following words is used for the data stored in an object? 1 pointMethod Property Function Behavior 3.Question 3Which of the following identifiers contains a single data item that can change value during the execution of the program? 1 pointVariable Constant Vector Array 4.Question 4Which of the following is a type of programming logic? 1 pointMoving Deciding Looping Hopping 5.Question 5A Boolean variable can have which of the following values? 1 point0, -1 0, 1 1, 2 0, 1, 2
Solution
-
A function is a piece of structured, stand-alone, and reusable code that will perform a single specific action.
-
The data stored in an object is referred to as a Property.
-
A Variable contains a single data item that can change value during the execution of the program.
-
Looping is a type of programming logic.
-
A Boolean variable can have the values 0, 1.
Similar Questions
Question 2In object-oriented programming, objects can contain both data and useful code that manipulates that data.1 pointFalseTrue
Question 17In programming, which paradigm separates data and functionality?1 pointDeclarative programmingImperative programmingFunctional programmingObject-oriented programming18.Question 18
Explain the concept of data types in programming.
Q1 [50 points] – Basic Java Programming & Arrays (both Single & Multi-dimensional)(a) Explain the following terms related to Java methods with the aid of suitable examples.i) Method Signature (2 Marks)ii) Method Overloading (4 Marks)iii) Call by value and Call by reference (4 Marks)
1.Question 1Which of the following is the generic term for referencing a program component such as a stored value, method, interface, or class by a custom-named label? 1 pointContainer Constant Variable Identifier 2.Question 2Which one of the following applies to interpreted programming languages? 1 pointMore difficult to write in, but creates faster applications Better for programs installed on the computer or device A smaller program, normally scripted code, that must be created and repeated every time the code is run Available to users who have the same operating system or a device that understands the same language 3.Question 3Which one of the following applies to a compiled programming language compared to an interpreted language? 1 pointBetter for websites and smaller processes that need to be repeated Takes longer to write the code, but it runs faster Creates a smaller program, normally using scripted code Easier to learn and use, but requires an interpreter that can translate the source code into machine code 4.Question 4Which one of the following is an example of a low-level programming language? 1 pointSQL Pascal Python ARM 5.Question 5Which of the following is a type of programming logic with only two values, "true" or "false", and is used in both branching and looping programming logic? 1 point“if-then-else” statement Boolean expression “And-do-while” loop Branching statements 6.Question 6What are the three key standpoints for organizing code? 1 pointReadability, maintainability, and accessibility Maintainability, accessibility, and scalability Readability, maintainability, and scalability Readability, scalability, and accessibility 7.Question 7Which of the following is also often referred to as a scripting language? 1 pointA query language An interpreted programming language A compiled programming language An assembly programming language 8.Question 8Which of the following is a type of looping programming logic? 1 pointwhile switch goto if 9.Question 9Which of the following is the best type of identifier for a data item whose value does not change? 1 pointConstant Variable Array Vector 10.Question 10Which of the following is a software methodology that focuses on objects rather than functions? 1 pointModular programming SDLC OOP Extreme programming
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.