wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Review PreTest

Total questions: 107

Worksheet time: 55mins

Name
Class
Date
1.

Which of the items listed below is not one of the software engineering layers?

a)

Manufacturing

b)

Tools

c)

Methods

d)

Process

2.

Which of the following is a key principle of software engineering?

a)

Low Cohesion

b)

High Coupling

c)

Single Responsibility

d)

Code Reusability

3.

What is the primary goal of software testing?

a)

To find bugs

b)

To improve performance

c)

To enhance user experience

d)

To reduce costs

4.

Which of the following methodologies emphasizes iterative development?

a)

V-Model

b)

Agile

c)

Waterfall

d)

Spiral

5.

A servlet is a Java class that extends the:

a)

HttpGenericServlet class

b)

HttpServletRequest class

c)

Servlet class

d)

HttpServlet class

6.

Usability questionnaires are most meaningful to the interface designers when completed by

a)

customers

b)

experienced programmers

c)

product users

d)

project managers

7.

Enter your email address in the Cc - Carbon Copy section for what?

a)

Send a copy of the email to the recipient, not allowing other recipients to see this recipient's email address

b)

Send a copy of the email to the recipient, allowing all other recipients to see this recipient's email address

c)

Copy email into carbon paper for archiving

d)

Send a copy of the email to yourself for archiving and follow-up purposes

8.

To achieve consensus on decisions in a group, the group leader needs?

a)

Everyone should be involved in the decision-making process

b)

Each person gives an opinion or the pros and cons of a goal-based decision needing to reach a certain consensus.

c)

Decide for yourself in the direction you think is right

9.

What is Flutter framework?

a)

Javascript Framework

b)

Javascript Framework

c)

Programming Language

d)

Mobile UI Framework

10.

To organize elements into groups we use

a)

Class

b)

Object

c)

Method

d)

Package

11.

What is wrong with this sequence of code?

total = 100;

int total;

a)

Nothing is wrong

b)

A variable must be declared before it can be used

c)

"total" is a reserved word

d)

Runtime error

12.

Choose the correct HTML element to define important text?

a)

<a>

b)

<i>

c)

<b>

d)

<h1>

13.

Which of the following mindsets will always help you be more successful in your communication?

a)

Always see what I can learn from others and how I will communicate to be better

b)

Let's simplify the problem

c)

Always look at others with a positive eye

d)

See what other people do wrong so that I can avoid

14.

S3 in AWS is...

a)

Serialization Storage Service

b)

Simple Storage Service

c)

Shortly Storage Service

d)

Super Storage Service

15.

Inheritance is also known as:

a)

Stereotyping

b)

Association

c)

Polymorphism

d)

Generalization

16.

Where in an HTML document is the correct place to refer to an external style sheet?

a)

In the <head> section

b)

In the <body> section

c)

Any where

d)

At the end of the document

17.

If you are the leader of the group, which of the following can resolve conflicts in the group?

a)

Ask a more reputable person to find out the cause and find a solution

b)

All is correct

c)

Be willing to admit fault, if you are the one at fault.

d)

Meet the members directly to ask for the reaso

18.

Which of following are advantages of using LOC (lines of code) as a size-oriented metric?

a)

LOC is easily computed.

b)

LOC can be computed before a design is completed.

c)

LOC is a language dependent measure.

d)

LOC is a language independent measure.

19.

____________ is a network diagramming technique used to predict total project duration.

a)

Critical path method

b)

A Gantt chart

c)

PERT

d)

Crashing

20.

Which of the following processes in Time Management that outputs include an activity list, activity attributes, a milestone list, and project management plan updates.

a)

planning schedule management

b)

activity sequencing

c)

estimating activity resources

d)

defining activities

21.

Which of the following guidelines should you follow to ensure successful communication? Please choose 2 answers.

a)

Just thank your listeners when they ask questions.

b)

Observe and listen to see if people are paying attention to the information you present.

c)

Presented in a dignified manner.

d)

Presented in a friendly manner.

22.

What is Amazon S3?

a)

Is an object storage service that offers industry-leading scalability, data availability, security, and performance.

b)

Is a storage hard drive provided by AWS.

c)

Is an object storage service that does not allow to industry-leading scalability, data availability, security, and performance.

d)

Is storage hard drive that offers industry-leading scalability, data availability, security, and performance.

23.

In general, you should use the Post method instead of the Get method when

a)

When you're transferring 4 KB or less of data

b)

The request writes data to the server

c)

You want users to be able to include parameters in their bookmarks

d)

The request reads data from the server

24.

Which of the following is not one of the requirement classifications used in Quality Function Deployment (QFD)?

a)

expected

b)

exciting

c)

mandatory

d)

normal

25.

If x is an integer, the expression (x > 0) ? 1 : ((x == 0) ? 0 : -1)

a)

Has the value 1 if x is greater than 0

b)

Has the value 0 if x is equal to 0

c)

All of the above

d)

Has the value -1 if x is less than 0

26.

Data encapsulation means

a)

Putting all the data inside the program code

b)

Archiving data to a file so it can later be read back in

c)

Storing an object's data in its instance variables with access through its methods

d)

Putting some information in a time capsule and burying it in your backyard

27.

Which HTML attribute is used to define inline styles?

a)

class

b)

styles

c)

id

d)

style

28.

When everyone criticizes you, what is your reaction?

a)

all are correct

b)

Feeling very angry, because you hate being looked down on the most

c)

Unmoved, you know what's right, no one can change your mind

d)

The expression on your face is very happy because thanks to them you know what your flaws are

29.

In your opinion, what is the sitting position that shows you are a professional listener?

a)

Eyes looking straight, hands on the table

b)

Eyes looking straight, body leaning forward

c)

Eyes looking straight, back against the chair, legs crossed

d)

Eyes looking straight, body facing forward, hands resting on the table, head nodding according to the story

30.

What is wrong with this code?

int i, j, sum;

i= 100;

sum = i + j;

a)

You can't declare and initialize a variable in the same line of code

b)

The value of j is not initialized

c)

Nothing is wrong

d)

You can't initialize the variable i to 100

31.

Socket Programming: What are major differences between UDP and TCP protocols? Select one or more:

a)

TCP is best for speed demanding applications; UDP is best for applications that require reliability.

b)

TCP ensures that data arrives exactly as it was sent; UDP does not guarantee data transfer, packets may be lost.

c)

TCP is faster than UDP, because TCP has good control over error checking of data streams, tracking data packets.

d)

UDP is faster than TCP, because UDP does not provide error checking and does not control the flow of data.

32.

The cyclomatic complexity metric provides the designer with information regarding the number of

a)

statements in the program

b)

errors in the program

c)

independent logic paths in the program

d)

cycles in the program

33.

Which framework to develop Hybrid App?

a)

React Native

b)

All of above

c)

NativeScript

d)

Flutter

34.

What is the value of sum after executing this loop:

for( int i = 0 ; sum = 0; i < 10 ; i + = 3 )

  sum + = i; 

a)

multiple syntax errors

b)

0

c)

18

d)

20

35.

What is the value of sum after executing this loop:

for( int i = 0 , sum = 0; i < 10 ; i + = 3 )

sum + = i;

a)

18

b)

0

c)

multiple syntax errors

d)

20

36.

What is a socket?

a)

A socket is one endpoint of a two-way communication link between two programs running on the network.

b)

A socket is a client program that runs on a computer on the internet.

c)

A socket is a server program that runs on a computer on the internet.

d)

Socket provides a number of services for clients to connect to and use.

37.

Choose the 1 item below that is not typically listed as a major component of object oriented languages:

a)

Inheritance

b)

Abstraction

c)

Polymorphism

d)

Encapsulation

38.

When is written communication more appropriate than face-to-face communication?

a)

When you want to avoid talking to someone.

b)

When you want to ask a lot of questions.

c)

When you want to quickly get a reply on a problem.

d)

When you want to present a complex idea.

39.

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()));

}

}

a)

IndexOutOfBoundsException

b)

aaa

c)

bbb

d)

a

40.

Amazon EC2 provides the following feature:

a)

Virtual computing environments, known as instances

b)

Provide only one type of operating system for the server

c)

Provide only one type of database management system for the server

d)

Provide only one physical hard drive per instance

41.

A ____________ maps the work of a project, as described in the WBS, to the people responsible for performing the work.

a)

Responsibility assignment matrix

b)

Resource histogram

c)

Work definition and assignment process

d)

Project organizational chart

42.

What does Cross-platform mobile development mean?

a)

Hybrid mobile app development

b)

The creation of software applications that are compatible with multiple mobile operating systems

c)

Progressive web apps

d)

Rapid mobile app development

43.

How many ways to access Amazon EC2?

a)

2

b)

1

c)

3

d)

4

44.

What kind of relationship should be used to model the connection between an interface and a class?

a)

Association

b)

Realization

c)

Generalization

d)

Dependency

45.

What is the difference between thread and Task?

a)

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.

b)

In a program there must be at least one task, but there may be no threads (in the classical programming model).

c)

At a time, a thread can execute many tasks.

d)

Thread is not allowed to access the shared data of other threads in the same process.

46.

It's likely that the process model of preference for most software teams as we move into the 21st century will be

a)

Spiral models

b)

Formal models

c)

Linear sequential models

d)

Agile, incremental models

47.

What conditions does the Client - Server model satisfy?

a)

A server can serve multiple clients. The connection to each client is handled by one thread

b)

A server only serves the request of a client.

c)

A client can serve multiple Servers. The connection to each server is handled by one thread

d)

A client only serves the request of a server.

48.

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?

a)

It is ahead of schedule and over budget.

b)

It is behind schedule and under budget.

c)

It is behind schedule and over budget

d)

It is ahead of schedule and under budget.

49.

RDS is a service provided by...

a)

IBM

b)

Google

c)

Microsoft

d)

AWS

50.

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();

}

}

a)

super one two

b)

two super

c)

compile error

d)

super two

51.

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();

}

}

a)

super one two

b)

none of the above

c)

two super

d)

super two

52.

Which of the following interface design principles does not reduce the user's memory load?

a)

provide an on-line tutorial

b)

disclose information in a progressive fashion

c)

establish meaningful defaults

d)

define intuitive shortcuts

53.

Which framework to develop Hybrid App?

a)

React Native

b)

Flutter

c)

All of above

d)

NativeScript

54.

What is the correct HTML for creating a hyperlink?

a)

<a href=”http://www.iuhs.edu.vn”> Industrial University of HoChiMinh</a>

b)

<a name=”http://www.iuh.edu.vn”> Industrial University of HoChiMinh</a>

d)

<a url=”http://www.iuh.edu.vn"> Industrial University of HoChiMinh</a>

55.

Pressing a button generates a(n) __________ event

a)

MouseEvent

b)

ActionEvent

c)

ItemEvent

d)

MouseMotionEvent

56.

Cloud Platform (GCP) is a cloud computing service provided by...

a)

Microsoft

b)

AWS

c)

IBM

d)

Google

57.

Choose the correct HTML element for the largest heading:

a)

<h6>

b)

<heading>

c)

<head>

d)

<h1>

58.

Scope ______ is often achieved by a customer inspection and then sign-off on key deliverables.

a)

close-out

b)

Acceptance

c)

Completion

d)

Validation

59.

When you implement a method that is defined in a superclass, you __________ the original method.

a)

copy

b)

override

c)

overload

d)

call

60.

What is React Native?

a)

Web Framework

b)

Javascript Framework

c)

Programming Language

d)

Database name

61.

How do you declare a JavaScript variable?

a)

v stdName;

b)

string stdName;

c)

variable stdName;

d)

var stdName;

62.

When writing an email, you should ... Choose 2 answers.

a)

Always specify the purpose of the message in the "Subject" field.

b)

Present it comfortably as e-mail is not a formal form of business correspondence.

c)

State your requirements (if any) in the letter.

d)

Use a different style and tone of voice than the recipient, never imitate their style

63.

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?

a)

read()

b)

send()

c)

receive()

d)

write()

64.

Which of the following is a common technique for managing project risks?

a)

Risk mitigation

b)

All of the above

c)

Risk acceptance

d)

Risk avoidance

65.

What is the primary purpose of a version control system?

a)

To manage project timelines

b)

To optimize database performance

c)

To enhance user interface

d)

To track changes in code

66.

In object-oriented programming, what does encapsulation refer to?

a)

Defining a class without methods

b)

Creating multiple instances of a class

c)

Inheriting properties from a parent class

d)

Hiding the internal state of an object

67.

What is the primary purpose of a constructor in a class?

a)

To define methods for the class

b)

To destroy an object when it is no longer needed

c)

To initialize an object when it is created

d)

To provide a string representation of the object

68.

Which of the following is a characteristic of a RESTful API?

a)

It uses HTTP methods to perform CRUD operations

b)

It requires a specific protocol for communication

c)

It can only return data in XML format

d)

It is stateful and maintains session information

69.

What does the acronym SQL stand for?

a)

Simple Query Language

b)

Structured Query Language

c)

Sequential Query Language

d)

Standard Query Language

70.

What is the main purpose of a version control system?

a)

To track changes in code

b)

To improve software performance

c)

To enhance user interface

d)

To reduce software costs

71.

Which of the following is a common software development methodology?

a)

Waterfall

b)

Scrum

c)

All of the above

d)

Agile

72.

What is the primary function of a database management system (DBMS)?

a)

To store and retrieve data

b)

To compile programming languages

c)

To create user interfaces

d)

To manage network connections

73.

Which of the following is a cloud computing model?

a)

Infrastructure as a Service (IaaS)

b)

Software as a Service (SaaS)

c)

Platform as a Service (PaaS)

d)

All of the above

74.

What is the purpose of a version control system?

a)

To monitor application performance

b)

To compile code into executable files

c)

To deploy applications to production

d)

To manage changes to source code over time

75.

Which of the following is a common programming paradigm?

a)

Procedural programming

b)

Object-oriented programming

c)

Functional programming

d)

All of the above

76.

What is the primary purpose of Amazon RDS?

a)

To provide a scalable cloud storage solution

b)

To manage relational databases in the cloud

c)

To host virtual machines

d)

To provide serverless computing capabilities

77.

Which of the following is a key benefit of using Agile methodology?

a)

Increased documentation

b)

Faster delivery of functional software

c)

Strict adherence to initial requirements

d)

Less customer involvement

78.

What does the term 'API' stand for?

a)

Application Programming Interface

b)

Application Process Integration

c)

Advanced Programming Interface

d)

Application Protocol Interface

79.

Which of the following factors belongs to the Product Operation category in McCall’s model?

a)

Portability

b)

Reliability

c)

Reusability

d)

Maintainability

80.

What is the main objective of software testing?

a)

Ensure the software runs on every operating system

b)

Detect defects and ensure the software meets the specified requirements

c)

Increase the number of software users

d)

Maximize project revenue

81.

Which type of review is formal and includes well-defined roles such as moderator, reader, and recorder?

a)

Walkthrough

b)

Peer review

c)

Inspection

d)

Informal review

82.

How many main stages are there in the software testing process?

a)

3

b)

4

c)

5

d)

6

83.

In software testing, what is the purpose of a “Checklist”?

a)

Store source code

b)

Generate financial reports

c)

Ensure completeness of documentation

d)

Execute test cases

84.

What does NCE stand for in software quality metrics?

a)

Number of errors detected in the operational phase

b)

Number of code errors found through inspections and testing

c)

Number of defects reported by users

d)

Number of missing functions in the software

85.

Which of the following organizations developed the ISO standards?

a)

IEEE

b)

IEC

c)

ISO

d)

ANSI

86.

Which type of review is usually led by the author and involves participants giving feedback?

a)

Inspection

b)

Walkthrough

c)

Peer review

d)

Static analysis

87.

Which of the following test techniques belongs to the white-box category?

a)

Equivalence Partitioning

b)

State Transition

c)

Statement Coverage

d)

Use Case Testing

88.

In the IEEE 829 standard test plan, which section defines when testing can be considered

a)

Scope

b)

Features to be tested

c)

Suspension criteria

d)

Exit criteria

89.

In Java, a class can inherit from how many other classes?

a)

A class cannot inherit from another class

b)

A class can inherit only from one another class

c)

A class can inherit from many other classes

d)

A class can inherit from many other classes but it has to be in the same package

90.

In general, you should use the Post method instead of the Get method when

a)

You want users to be able to include parameters in their bookmarks

b)

The request reads data from the server

c)

The request writes data to the server

d)

When you're transferring 4 KB or less of data

91.

In Java, when should we declare an abstract class?

a)

When we want to avoid repeating code in subclasses.

b)

When we don't want to create objects from that class.

c)

When we want to solve the multiple inheritance problem.

d)

When we want to create a general class that can be inherited by subclasses.

92.

In object-oriented programming, what does abstraction focus on?

a)

Provides only the necessary characteristics of an object, hiding its complex details.

b)

How to implement methods of a class.

c)

How to create an abstract class.

d)

How subclasses inherit properties and methods from another class.

93.

Inside which HTML element do we put the JavaScript?

a)

<js>

b)

<script>

c)

<javascript>

d)

<scripting>

94.

A "has a" relationship is the best description for:

a)

Composition

b)

Inheritance

c)

Aggregation

d)

Polymorphism

95.

What language does Flutter framework use?

a)

Groove

b)

Dart

c)

Flutter

d)

Java

96.

Suppose that thrd is an object of type Thread. Explain the difference between calling thrd.start() and calling thrd.run().

a)

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.

b)

thrd.run() cannot be called if thrd.start() has not been called before.

c)

There is no difference between the above two calls. Both calls with the same number of threads are created and produce the same result.

d)

It is possible to call thrd.start() multiple times and call thrd.run() only once.

97.

Which HTML element is used to create a hyperlink?

a)

<link>

b)

<href>

c)

<a>

d)

<url>

98.

What is the primary purpose of a wireframe in UI design?

a)

To outline the structure of a webpage

b)

To test the usability of the application

c)

To create a final design

d)

To write the code for the application

99.

Which of the following is a popular version control system?

a)

Jenkins

b)

Git

c)

Node.js

d)

Docker

100.

What will be the output of the following code snippet?

for(int i = 0; i < 5; i++) {

  System.out.print(i + " ");

}

a)

5

b)

0 1 2 3 4 5

c)

1 2 3 4 5

d)

0 1 2 3 4

101.

What is the purpose of a Gantt chart in project management?

a)

To visualize the project schedule

b)

To show the relationship between tasks

c)

To define project scope

d)

To track project costs

102.

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]);

}

}

a)

ArrayIndexOutOfBoundsException

b)

5

c)

4

d)

3

103.

Which of the following is a key principle of Agile methodology?

a)

Comprehensive documentation

b)

Customer collaboration over contract negotiation

c)

Following a strict plan

d)

Extensive upfront design

104.

In project management, what does the term 'scope creep' refer to?

a)

Delays caused by resource unavailability

b)

Changes made to the project schedule

c)

Uncontrolled changes or continuous growth in a project’s scope

d)

Reduction in project scope due to budget cuts

105.

Which of the following is a feature of AWS Lambda?

a)

It requires server management

b)

It can only be used for data storage

c)

It allows you to run code without provisioning servers

d)

It is limited to Java programming language

106.

What is the output of the following code snippet?

int x = 5; System.out.println(x++);

a)

Compilation error

b)

6

c)

Runtime error

d)

5

107.

Which of the following is a common use case for a RESTful API?

a)

Real-time data streaming

b)

Data retrieval and manipulation over HTTP

c)

File storage and management

d)

Database transactions