Font size
WorksheetsReview PreTest
Total questions: 107
Worksheet time: 55mins
Which of the items listed below is not one of the software engineering layers?
Manufacturing
Tools
Methods
Process
Which of the following is a key principle of software engineering?
Low Cohesion
High Coupling
Single Responsibility
Code Reusability
What is the primary goal of software testing?
To find bugs
To improve performance
To enhance user experience
To reduce costs
Which of the following methodologies emphasizes iterative development?
V-Model
Agile
Waterfall
Spiral
A servlet is a Java class that extends the:
HttpGenericServlet class
HttpServletRequest class
Servlet class
HttpServlet class
Usability questionnaires are most meaningful to the interface designers when completed by
customers
experienced programmers
product users
project managers
Enter your email address in the Cc - Carbon Copy section for what?
Send a copy of the email to the recipient, not allowing other recipients to see this recipient's email address
Send a copy of the email to the recipient, allowing all other recipients to see this recipient's email address
Copy email into carbon paper for archiving
Send a copy of the email to yourself for archiving and follow-up purposes
To achieve consensus on decisions in a group, the group leader needs?
Everyone should be involved in the decision-making process
Each person gives an opinion or the pros and cons of a goal-based decision needing to reach a certain consensus.
Decide for yourself in the direction you think is right
What is Flutter framework?
Javascript Framework
Javascript Framework
Programming Language
Mobile UI Framework
To organize elements into groups we use
Class
Object
Method
Package
What is wrong with this sequence of code?
total = 100;
int total;
Nothing is wrong
A variable must be declared before it can be used
"total" is a reserved word
Runtime error
Choose the correct HTML element to define important text?
<a>
<i>
<b>
<h1>
Which of the following mindsets will always help you be more successful in your communication?
Always see what I can learn from others and how I will communicate to be better
Let's simplify the problem
Always look at others with a positive eye
See what other people do wrong so that I can avoid
S3 in AWS is...
Serialization Storage Service
Simple Storage Service
Shortly Storage Service
Super Storage Service
Inheritance is also known as:
Stereotyping
Association
Polymorphism
Generalization
Where in an HTML document is the correct place to refer to an external style sheet?
In the <head> section
In the <body> section
Any where
At the end of the document
If you are the leader of the group, which of the following can resolve conflicts in the group?
Ask a more reputable person to find out the cause and find a solution
All is correct
Be willing to admit fault, if you are the one at fault.
Meet the members directly to ask for the reaso
Which of following are advantages of using LOC (lines of code) as a size-oriented metric?
LOC is easily computed.
LOC can be computed before a design is completed.
LOC is a language dependent measure.
LOC is a language independent measure.
____________ is a network diagramming technique used to predict total project duration.
Critical path method
A Gantt chart
PERT
Crashing
Which of the following processes in Time Management that outputs include an activity list, activity attributes, a milestone list, and project management plan updates.
planning schedule management
activity sequencing
estimating activity resources
defining activities
Which of the following guidelines should you follow to ensure successful communication? Please choose 2 answers.
Just thank your listeners when they ask questions.
Observe and listen to see if people are paying attention to the information you present.
Presented in a dignified manner.
Presented in a friendly manner.
What is Amazon S3?
Is an object storage service that offers industry-leading scalability, data availability, security, and performance.
Is a storage hard drive provided by AWS.
Is an object storage service that does not allow to industry-leading scalability, data availability, security, and performance.
Is storage hard drive that offers industry-leading scalability, data availability, security, and performance.
In general, you should use the Post method instead of the Get method when
When you're transferring 4 KB or less of data
The request writes data to the server
You want users to be able to include parameters in their bookmarks
The request reads data from the server
Which of the following is not one of the requirement classifications used in Quality Function Deployment (QFD)?
expected
exciting
mandatory
normal
If x is an integer, the expression (x > 0) ? 1 : ((x == 0) ? 0 : -1)
Has the value 1 if x is greater than 0
Has the value 0 if x is equal to 0
All of the above
Has the value -1 if x is less than 0
Data encapsulation means
Putting all the data inside the program code
Archiving data to a file so it can later be read back in
Storing an object's data in its instance variables with access through its methods
Putting some information in a time capsule and burying it in your backyard
Which HTML attribute is used to define inline styles?
class
styles
id
style
When everyone criticizes you, what is your reaction?
all are correct
Feeling very angry, because you hate being looked down on the most
Unmoved, you know what's right, no one can change your mind
The expression on your face is very happy because thanks to them you know what your flaws are
In your opinion, what is the sitting position that shows you are a professional listener?
Eyes looking straight, hands on the table
Eyes looking straight, body leaning forward
Eyes looking straight, back against the chair, legs crossed
Eyes looking straight, body facing forward, hands resting on the table, head nodding according to the story
What is wrong with this code?
int i, j, sum;
i= 100;
sum = i + j;
You can't declare and initialize a variable in the same line of code
The value of j is not initialized
Nothing is wrong
You can't initialize the variable i to 100
Socket Programming: What are major differences between UDP and TCP protocols? Select one or more:
TCP is best for speed demanding applications; UDP is best for applications that require reliability.
TCP ensures that data arrives exactly as it was sent; UDP does not guarantee data transfer, packets may be lost.
TCP is faster than UDP, because TCP has good control over error checking of data streams, tracking data packets.
UDP is faster than TCP, because UDP does not provide error checking and does not control the flow of data.
The cyclomatic complexity metric provides the designer with information regarding the number of
statements in the program
errors in the program
independent logic paths in the program
cycles in the program
Which framework to develop Hybrid App?
React Native
All of above
NativeScript
Flutter
What is the value of sum after executing this loop:
for( int i = 0 ; sum = 0; i < 10 ; i + = 3 )
sum + = i;
multiple syntax errors
0
18
20
What is the value of sum after executing this loop:
for( int i = 0 , sum = 0; i < 10 ; i + = 3 )
sum + = i;
18
0
multiple syntax errors
20
What is a socket?
A socket is one endpoint of a two-way communication link between two programs running on the network.
A socket is a client program that runs on a computer on the internet.
A socket is a server program that runs on a computer on the internet.
Socket provides a number of services for clients to connect to and use.
Choose the 1 item below that is not typically listed as a major component of object oriented languages:
Inheritance
Abstraction
Polymorphism
Encapsulation
When is written communication more appropriate than face-to-face communication?
When you want to avoid talking to someone.
When you want to ask a lot of questions.
When you want to quickly get a reply on a problem.
When you want to present a complex idea.
What will the following code print when compiled and run?
import java.util.ArrayList;
public class Main {
public static void main (String[] args) throws Exception {
ArrayList<String> arr = new ArrayList<>();
arr.add("aaa");
arr.add("bbb");
System.out.println(arr.get(arr.size()));
}
}
IndexOutOfBoundsException
aaa
bbb
a
Amazon EC2 provides the following feature:
Virtual computing environments, known as instances
Provide only one type of operating system for the server
Provide only one type of database management system for the server
Provide only one physical hard drive per instance
A ____________ maps the work of a project, as described in the WBS, to the people responsible for performing the work.
Responsibility assignment matrix
Resource histogram
Work definition and assignment process
Project organizational chart
What does Cross-platform mobile development mean?
Hybrid mobile app development
The creation of software applications that are compatible with multiple mobile operating systems
Progressive web apps
Rapid mobile app development
How many ways to access Amazon EC2?
2
1
3
4
What kind of relationship should be used to model the connection between an interface and a class?
Association
Realization
Generalization
Dependency
What is the difference between thread and Task?
A thread is the flow of execution, from beginning to end, of a task. Task is an object that represents some work that needs to be done.
In a program there must be at least one task, but there may be no threads (in the classical programming model).
At a time, a thread can execute many tasks.
Thread is not allowed to access the shared data of other threads in the same process.
It's likely that the process model of preference for most software teams as we move into the 21st century will be
Spiral models
Formal models
Linear sequential models
Agile, incremental models
What conditions does the Client - Server model satisfy?
A server can serve multiple clients. The connection to each client is handled by one thread
A server only serves the request of a client.
A client can serve multiple Servers. The connection to each server is handled by one thread
A client only serves the request of a server.
If a project is halfway completed, its schedule performance index is 110 percent, and its cost performance index is 95 percent, how is it progressing?
It is ahead of schedule and over budget.
It is behind schedule and under budget.
It is behind schedule and over budget
It is ahead of schedule and under budget.
RDS is a service provided by...
IBM
Microsoft
AWS
class BaseClass {
static {
System.out.print("super ");
}
}
class Class1 {
static {
System.out.print("one ");
}
}
class Class2 extends BaseClass {
static {
System.out.print("two ");
}
}
public class Main {
public static void main(String[] args) {
Class1 cls1 = null;
Class2 cls2 = new Class2();
}
}
super one two
two super
compile error
super two
class BaseClass {
static {
}
System.out.print("super ");
}
class Class1 {
static {
System.out.print("one ");
}
}
class Class2 extends BaseClass {
static {
System.out.print("two ");
}
}
public class Main {
public static void main(String[] args) {
Class1 cls1 = null;
Class2 cls2 = new Class2();
}
}
super one two
none of the above
two super
super two
Which of the following interface design principles does not reduce the user's memory load?
provide an on-line tutorial
disclose information in a progressive fashion
establish meaningful defaults
define intuitive shortcuts
Which framework to develop Hybrid App?
React Native
Flutter
All of above
NativeScript
What is the correct HTML for creating a hyperlink?
<a href=”http://www.iuhs.edu.vn”> Industrial University of HoChiMinh</a>
<a name=”http://www.iuh.edu.vn”> Industrial University of HoChiMinh</a>
<a http://www.iuh.edu.vn </a>
<a url=”http://www.iuh.edu.vn"> Industrial University of HoChiMinh</a>
Pressing a button generates a(n) __________ event
MouseEvent
ActionEvent
ItemEvent
MouseMotionEvent
Cloud Platform (GCP) is a cloud computing service provided by...
Microsoft
AWS
IBM
Choose the correct HTML element for the largest heading:
<h6>
<heading>
<head>
<h1>
Scope ______ is often achieved by a customer inspection and then sign-off on key deliverables.
close-out
Acceptance
Completion
Validation
When you implement a method that is defined in a superclass, you __________ the original method.
copy
override
overload
call
What is React Native?
Web Framework
Javascript Framework
Programming Language
Database name
How do you declare a JavaScript variable?
v stdName;
string stdName;
variable stdName;
var stdName;
When writing an email, you should ... Choose 2 answers.
Always specify the purpose of the message in the "Subject" field.
Present it comfortably as e-mail is not a formal form of business correspondence.
State your requirements (if any) in the letter.
Use a different style and tone of voice than the recipient, never imitate their style
In Socket TCP programming, when you want to receive data from the Client sent to the Server through the input stream (InputStream), which method to use?
read()
send()
receive()
write()
Which of the following is a common technique for managing project risks?
Risk mitigation
All of the above
Risk acceptance
Risk avoidance
What is the primary purpose of a version control system?
To manage project timelines
To optimize database performance
To enhance user interface
To track changes in code
In object-oriented programming, what does encapsulation refer to?
Defining a class without methods
Creating multiple instances of a class
Inheriting properties from a parent class
Hiding the internal state of an object
What is the primary purpose of a constructor in a class?
To define methods for the class
To destroy an object when it is no longer needed
To initialize an object when it is created
To provide a string representation of the object
Which of the following is a characteristic of a RESTful API?
It uses HTTP methods to perform CRUD operations
It requires a specific protocol for communication
It can only return data in XML format
It is stateful and maintains session information
What does the acronym SQL stand for?
Simple Query Language
Structured Query Language
Sequential Query Language
Standard Query Language
What is the main purpose of a version control system?
To track changes in code
To improve software performance
To enhance user interface
To reduce software costs
Which of the following is a common software development methodology?
Waterfall
Scrum
All of the above
Agile
What is the primary function of a database management system (DBMS)?
To store and retrieve data
To compile programming languages
To create user interfaces
To manage network connections
Which of the following is a cloud computing model?
Infrastructure as a Service (IaaS)
Software as a Service (SaaS)
Platform as a Service (PaaS)
All of the above
What is the purpose of a version control system?
To monitor application performance
To compile code into executable files
To deploy applications to production
To manage changes to source code over time
Which of the following is a common programming paradigm?
Procedural programming
Object-oriented programming
Functional programming
All of the above
What is the primary purpose of Amazon RDS?
To provide a scalable cloud storage solution
To manage relational databases in the cloud
To host virtual machines
To provide serverless computing capabilities
Which of the following is a key benefit of using Agile methodology?
Increased documentation
Faster delivery of functional software
Strict adherence to initial requirements
Less customer involvement
What does the term 'API' stand for?
Application Programming Interface
Application Process Integration
Advanced Programming Interface
Application Protocol Interface
Which of the following factors belongs to the Product Operation category in McCall’s model?
Portability
Reliability
Reusability
Maintainability
What is the main objective of software testing?
Ensure the software runs on every operating system
Detect defects and ensure the software meets the specified requirements
Increase the number of software users
Maximize project revenue
Which type of review is formal and includes well-defined roles such as moderator, reader, and recorder?
Walkthrough
Peer review
Inspection
Informal review
How many main stages are there in the software testing process?
3
4
5
6
In software testing, what is the purpose of a “Checklist”?
Store source code
Generate financial reports
Ensure completeness of documentation
Execute test cases
What does NCE stand for in software quality metrics?
Number of errors detected in the operational phase
Number of code errors found through inspections and testing
Number of defects reported by users
Number of missing functions in the software
Which of the following organizations developed the ISO standards?
IEEE
IEC
ISO
ANSI
Which type of review is usually led by the author and involves participants giving feedback?
Inspection
Walkthrough
Peer review
Static analysis
Which of the following test techniques belongs to the white-box category?
Equivalence Partitioning
State Transition
Statement Coverage
Use Case Testing
In the IEEE 829 standard test plan, which section defines when testing can be considered
Scope
Features to be tested
Suspension criteria
Exit criteria
In Java, a class can inherit from how many other classes?
A class cannot inherit from another class
A class can inherit only from one another class
A class can inherit from many other classes
A class can inherit from many other classes but it has to be in the same package
In general, you should use the Post method instead of the Get method when
You want users to be able to include parameters in their bookmarks
The request reads data from the server
The request writes data to the server
When you're transferring 4 KB or less of data
In Java, when should we declare an abstract class?
When we want to avoid repeating code in subclasses.
When we don't want to create objects from that class.
When we want to solve the multiple inheritance problem.
When we want to create a general class that can be inherited by subclasses.
In object-oriented programming, what does abstraction focus on?
Provides only the necessary characteristics of an object, hiding its complex details.
How to implement methods of a class.
How to create an abstract class.
How subclasses inherit properties and methods from another class.
Inside which HTML element do we put the JavaScript?
<js>
<script>
<javascript>
<scripting>
A "has a" relationship is the best description for:
Composition
Inheritance
Aggregation
Polymorphism
What language does Flutter framework use?
Groove
Dart
Flutter
Java
Suppose that thrd is an object of type Thread. Explain the difference between calling thrd.start() and calling thrd.run().
thrd.start() will create a new thread and the code inside the run() method is executed in the new thread; thrd.run() will not create a new thread, it will join the current thread.
thrd.run() cannot be called if thrd.start() has not been called before.
There is no difference between the above two calls. Both calls with the same number of threads are created and produce the same result.
It is possible to call thrd.start() multiple times and call thrd.run() only once.
Which HTML element is used to create a hyperlink?
<link>
<href>
<a>
<url>
What is the primary purpose of a wireframe in UI design?
To outline the structure of a webpage
To test the usability of the application
To create a final design
To write the code for the application
Which of the following is a popular version control system?
Jenkins
Git
Node.js
Docker
What will be the output of the following code snippet?
for(int i = 0; i < 5; i++) {
System.out.print(i + " ");
}
5
0 1 2 3 4 5
1 2 3 4 5
0 1 2 3 4
What is the purpose of a Gantt chart in project management?
To visualize the project schedule
To show the relationship between tasks
To define project scope
To track project costs
What will the following code print when compiled and run?
public class Test {
public static void main(String[] args) {
int[] numbers = {1, 2, 3, 4, 5};
System.out.println(numbers[5]);
}
}
ArrayIndexOutOfBoundsException
5
4
3
Which of the following is a key principle of Agile methodology?
Comprehensive documentation
Customer collaboration over contract negotiation
Following a strict plan
Extensive upfront design
In project management, what does the term 'scope creep' refer to?
Delays caused by resource unavailability
Changes made to the project schedule
Uncontrolled changes or continuous growth in a project’s scope
Reduction in project scope due to budget cuts
Which of the following is a feature of AWS Lambda?
It requires server management
It can only be used for data storage
It allows you to run code without provisioning servers
It is limited to Java programming language
What is the output of the following code snippet?
int x = 5; System.out.println(x++);
Compilation error
6
Runtime error
5
Which of the following is a common use case for a RESTful API?
Real-time data streaming
Data retrieval and manipulation over HTTP
File storage and management
Database transactions
