wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Technical Writing Exam

Total questions: 39

Worksheet time: 31mins

Name
Class
Date
1.

The command used to check the current branch pointer is (a)   .

2.

Which command is used to stage a file in Git?

a)

git push

b)

git add

c)

git commit

d)

git merge

3.

What does git clone do?

a)

Deletes a repository

b)

Creates a backup

c)

Copies a remote repository

d)

Creates new branches

4.

The file used to configure Doxygen is called a (a)   .

5.

Which tag provides a brief summary in Doxygen?

a)

\brief

b)

\details

c)

\enum

d)

\explain

6.

git status shows the state of the working directory and staging area.

a)

True

b)

False

7.

Which Git command shows unstaged modifications?

a)

git revert

b)

git diff

c)

git status

d)

git restore

8.

To generate a new SSH key using ED25519, the command is: (a)   -t ed25519 -C "email@domain.com"

9.

git revert deletes a commit permanently.

a)

True

b)

False

10.

A Git conflict uses the markers <<<<<<< and >>>>>>> to indicate ________.

a)

merge conflicts

b)

branch names

c)

file permissions

d)

remote URLs

11.

Which command creates a new branch named "parallel"?

a)

git switch parallel

b)

git branch parallel

c)

git create parallel

d)

git new parallel

12.

To send changes to a repository named origin, the command used is: git (a)   origin master.

13.

Which Git command returns you to the most recent commit on a branch?

a)

git restore

b)

git revert

c)

git checkout branch-name

d)

git pop

14.

Google Docs’ ________ feature allows a user to view and restore previous document states.

a)

Version History

b)

Track Changes

c)

Document Outline

d)

Activity Dashboard

15.

To generate a default Doxygen configuration file, the command used is: (a)   .

16.

When creating documentation for a mathematical function like power(), the tags used must include \param and (a)   .

17.

Which of the following must be set to YES in Doxyfile to generate PDFs?

a)

GENERATE_XML

b)

GENERATE_RTF

c)

GENERATE_LATEX

d)

GENERATE_MARKDOWN

18.

What happens when git merge parallel is executed on the main/master branch?

a)

Only the latest commit from parallel is copied

b)

Commits from parallel are integrated into main/master

c)

The parallel branch is deleted

d)

The merge is always fast-forward

19.

Doxygen can extract documentation from both comments and actual code structure.

a)

True

b)

False

20.

In Git, the pointer that represents your current working location in the repository is called ______.

a)

HEAD

b)

ORIGIN

c)

INDEX

d)

TAG

21.

(a)   Beamer theme is known for its minimalistic, plain look?

22.

Which combination correctly compares Doxygen and Google Docs?

a)

Doxygen = Real-time collaboration; Docs = Code API documentation

b)

Doxygen = Cloud-editor; Docs = Local-only editor

c)

Doxygen = Automated code-linked documentation; Docs = General collaborative documents

d)

Doxygen = WYSIWYG tool; Docs = Static PDF generator

23.

To add a subtitle to a frame, the command is \framesubtitle{______}.

a)

\framesubtitle

b)

\frametitle

c)

\subtitle

d)

\subsection

24.

Which command sets a remote repository?

a)

git remote set

b)

git remote add origin

c)

git set origin

d)

git add-remote

25.

You are trying to push changes to a remote repository but receive the error: [rejected] main -> main (non-fast-forward). What is the most likely cause?

a)

The repository has merge conflicts.

b)

The repository does not have write permissions.

c)

The local branch is behind the remote branch.

d)

The branch does not exist on the remote repository.

26.

When running git pull, you encounter the error fatal: refusing to merge unrelated histories. What does this mean?

a)

The local and remote repositories do not share a common commit history.

b)

The branch names in the local and remote repositories do not match.

c)

There are uncommitted changes in the working directory.

d)

The remote repository is corrupted.

27.

A teammate pushes updates to the remote branch main. You try to pull those changes but encounter a merge conflict in index.html. What is the best way to resolve this?

a)

Delete the remote branch and push your changes.

b)

Edit the conflicting file manually and resolve conflicts.

c)

Use git rebase --skip to ignore the conflicts.

d)

Revert the entire pull request.

28.

You fork a public GitHub repository and make changes in your forked repository. You want to

contribute these changes to the original repository. What is the correct process to do this?

a)

Push your changes directly to the original repository.

b)

Open a pull request from your forked repository to the original repository.

c)

Ask the repository owner for write access.

d)

Merge the original repository into your forked repository.

29.

The preamble command to choose a slide theme in Beamer is \usetheme{______}.

a)

\usetheme{theme_name}

b)

\usepackage{theme_name}

c)

\usetheme[theme_name]

d)

\usefonttheme{theme_name}

30.

To insert a table of contents in Beamer, use the command \\________.

a)

\tableofcontents

b)

\maketitle

c)

\listoffigures

d)

\contentsline

31.

In Beamer, to add a navigation bar at the bottom of slides, you use the \useoutertheme{_______} command.

a)

navigation

b)

sidebar

c)

split

d)

default

32.

The package most commonly used to include graphics in Beamer is \usepackage{ (a)   }.

33.

For itemized lists, the environment used in Beamer is \begin{_______} ... \end{_______}.

a)

itemize

b)

enumerate

c)

description

d)

list

34.

\ (a)   command gives incremental revealing of list items?

35.

What is the default output file extension for Beamer presentations?

a)

pdf

b)

tex

c)

pptx

d)

dvi

36.

\ (a)   command is used for vertical spacing between blocks?

37.

Which command in the preamble adds section navigation at the top of slides?

a)

\useoutertheme{sections in head/foot}

b)

\usetheme{sections}

c)

\useinnertheme{head/foot}

d)

\setbeamertemplate{navigation}

38.

What command is used to begin each slide?

a)

\begin{frame}

b)

\startslide

c)

\framebegin

d)

\maketitle

39.

What environment is used for numbered lists?

a)

enumerate

b)

itemize

c)

description

d)

list