Practice Final Questions 2

GitHub repo and webpages

Please log into GitHub Enterprise, and if you haven’t already, create a repo called webpages. Make a GitHub page out of it.  In GitHub, create a file called exam.html that says “Hello World”. You should not need to use any HTML tags.

 

We will review your webpages so make sure it is public. We’ll be checking it here:

https://pages.github.ncsu.edu/unityID/webpages/exam.html

We will see if they are visible (using your own unityID; please replace it properly). For this question, you do not need to put any information in the answer box below.

 

Log file Upload – Exam Practical

 

For this question, you will need to login to NCSU drive. Here is a review of the sign-in procedure:

For Mac or Linux:

Go to the terminal application, type in the following address:

ssh -x unityid@remote.eos.ncsu.edu

Replace unityid with your own Unity ID. Afterwards, enter your password.

Please keep in mind that it will look like your password is not being typed, but it will get typed and that is a security feature. Then you hit enter and you should be logged in.

For Windows:

Go to the PuTTY application, use the hostname remote.eos.ncsu.edu and port 22, press connect, enter your Unity ID, and then hit enter again. Afterwards, enter your password again.

Keep in mind that it will not show up. Press enter and you should be logged in.

Once you’ve logged into remote:

  1. Create a Log File named exam_log.txt
  2. Use a command to determine your current location in the NFS file tree. Write the command you used below.
  3. In one line, change to your MyE115 directory, then create a directory called Test_2. Remember that case and spelling are important. Write the command you used below.
  4. Without changing from your current directory, verify that Test_2 was created successfully. Write the command you used below.
  5. exit the log file

Move the exam_log.txt using FileZilla (or the terminal) into a local folder and upload it to this question.

 

Log in to VCL AVD

 

  1. Go to https://vcl.ncsu.edu/
  2. Open an instance of Microsoft Office (AVD)
  3. Launch NCSU from the AVD Portal
  4. Click the top right circle to show your name and unityID, and take a screenshot after you’ve logged all the way in of the top so that we see “NCSU”, your name/unityID, and a few programs. Save this screenshot as a .png and upload it into the question.

 

 

Write your unityID

 

Write your own unityID.

 

Match the authentication methods and tools with their descriptions

Write the letter (A, B, or C) next to the correct description below.

_____ Passwords, security questions, or PINs
_____ Phones, 2FA keys, or photo IDs
_____ Biometrics (e.g., fingerprints or facial recognition)

A. What You Know (knowledge)

B. What You Have (possession)

C. What You Are (inherency)

Match the components of Duo Authentication with their descriptions

Write the letter (A, B, or C) next to the correct component below.

_____ Duo Mobile App
_____ Push Notification
_____ Two-Factor Authentication

A. A mobile app used to generate passcodes or receive push notifications for account verification.

B. A real-time request sent to your mobile device for approving or denying access.

C. A method that requires a combination of two elements, such as a password and a mobile device, for login.

 

Move up a directory

 

Using relative pathnames, move up a directory into your home directory. Which is the correct command for this?

 

  • cd ..

  • cd ~

  • cd /mnt/

Alice Practice

 

For these questions, you will need to log into the NFS (via ssh or PuTTY) and create a log file.

Most of these questions have you use commands that you have been explicitly taught (see [E 115 textbook](https://e115.engr.ncsu.edu/basic-unix-commands/)). A few have you use new commands that you may not have seen before. For the former, you’re expected to know the commands. For the latter, the questions tell you what the name of the command is.

If you’re ever stuck or don’t know how a command works, use `man`. It is fine if your logfile contains `man` in some of the entries.

Log into the terminal and make a new directory called AlicePractice.

Using absolute pathnames, copy the alice.txt file into AlicePractice. Use the shorthand ~ for your home directory.

cp /mnt/coe/workspace/csc/admin/e115/common/assignments/basicunix/alice.txt ~/AlicePractice

 

alice.txt size in bytes

 

In the directory where you have alice.txt, list the contents. When listing the contents, you should include details such as the size of the file. What is the size in bytes of the file alice.txt?

 
 
Grading comment

 

  • Answer____________________________

Count instances of White Rabbit

 

Give a grep command for counting all instances of “White Rabbit”. You need to grep as usual but use the option -c to get the count.

 

  • Answer____________________________

Count number of lines

 

Count the number of lines in alice.txt using wc -l

 

  • Answer____________________________

Back-up plan

 

If you have a personal computer and it breaks, what is your back-up plan? Or do you intend to complete all assignments in the lab?

 

  • Answer____________________________

cd to Test_1 directory and check contents

 

In one line: Navigate to your Test_1 directory and check its contents. Chain your commands, but do not use conditional chaining.

 

  • Answer____________________________

cp to Test_1

 

There is a file named test1.exe located in the common/exam directory of the E 115 course locker. Copy it from this location to your newly created Test_1 directory, without changing directories. You should be in your home directory, so use ~.

 

  • Answer____________________________

Create a new directory

 

In your home directory, create a directory called Test_1. Remember that case and spelling are important. Don’t use any options. What was the command you used?

 

  • Answer____________________________

pwd

 

Use a command to determine your current location in the NFS file tree. Write the command below.

 

  • Answer____________________________

Condition Example

Which of the following is an example of a condition that would check to see if E10 is greater than 5?

  • E10 < 5
  • E10 = 5
  • E10 > 5
  • E10 gt 5
  • None of these

Conditional Logic: Choose All (4)

 

Which of the following are Conditional Logic Statements? [Choose all that apply]

 

  • Simple If
  • Complicated If
  • Nested If
  • Maybe
  • And
  • Or
  • Count
  • Sum

Text Condition Example

 

Which of the following is an example of a condition that would check to see if E10 contains the word “jump”?

 

  • E10 = jump
  • E10 = “jump”
  • Either will work
  • None of these

Quotations

 

In Excel conditional functions, text must be enclosed in quotations, while cell names and numerical values do not.

  • True
  • False

Average

I want to calculate my overall homework grade percentage. I have a range of cells which contain the percentage grades of all individual homework assignments. Which single function would be the best for me to use?

  • average
  • sum
  • count
  • autofill

Average Syntax

 

Which of the following is the correct syntax, using a function, for finding the sum of a range divided by the count of that same range (the mean)?

 

  • =average(J10:J29)
  • =count(J10:J29)
  • average(J10:J29)
  • =sum(J10:J29)

  • None of these

Count

I want to count only the cells within a range that store numeric data. Which single function would be the best for me to use?

  • count
  • counta
  • countif
  • sumif

Count Syntax

 

Which of the following is the correct syntax, using a function, for determining the number of cells in a given range? Assume the cells in the range are numerical in data.

 

  • =sum(A9:A29)
  • =E10+E11+E12+E13+E14+E15+E16+E17+E18+E19…E29
  • =count(E10:E29)
  • =counta(E10:E29)

Function Example

 

Which of these uses an Excel function?

 

  • =3*A1
  • =3*$A$1
  • =A1+tax_rate
  • =sum(A1:A3)
  • All of these are functions

Max Syntax

 

Which of the following is the correct syntax, using a function, for determining the largest value in a given range?

 

  • =max(J10:J29)
  • =min(J10:J29)
  • max(J10:J29)
  • =count(J10:J29)

  • None of these

Min Syntax

 

Which of the following is the correct syntax, using a function, for determining the smallest value in a given range?

 

  • =max(G9:G29)
  • =sum(G10:G29)
  • min(J10:J29)
  • =min(J10:J29)
  • None of these

Sum

I want to add the values of all cells within a range. Which single function would be the best for me to use?

  • sum
  • sumif
  • count
  • average

GitHub Hosting Service Name

 

What is the name of the hosting service used to host your website and store your files?

 

  • GitHub

  • NotePad++

  • Repository

  • Master branch

  • None of them

GitHub Repository Permissions

 

Which individual permission(s) need to be given to your GitHub repository in order for your webpage to be viewed?

 

  • Public
  • Private
  • Transferrable
  • All of them
  • None of them

Body Tag

 

Which tag contains all of the information to be directly rendered onto a web page?

 

  • head
  • body
  • DOCTYPE
  • img
  • html

Body Tag2

Where does the actual website information (links, tables, lists, paragraphs, etc.) go?

  • body
  • head
  • title
  • doctype

Choose the correct HTML element for the largest heading:

 

Choose the correct HTML element for the largest heading:

 

Doctype Tag

 

What is the first tag required for all XHTML web documents?

 

  • anchor
  • DOCTYPE declaration
  • body
  • table data
  • title

Head Tag

 

Where is the information that is not viewed directly in the webpage found?

 

  • head
  • body
  • DOCTYPE
  • None of These
  • paragraph

Head Tag2

 

The title goes in which section of the code?

 

  • body
  • comment
  • head
  • attribute

Doctype T/F

 

Every website must have a DOCTYPE declaration tag.

 

  • True
  • False

Headings Order

Which of the following lists the heading tag in order of smallest text to largest text?

  • <h1>, <h3>, <h6>
  • <h6>, <h1>, <h3>
  • None of These
  • <h6>, <h3>, <h1>

Headings Order2

Which of the following lists the heading tag in order of largest text to smallest text?

  • <h1>, <h3>, <h6>
  • <h6>, <h1>, <h3>
  • None of These
  • <h6>, <h3>, <h1>

hr

 

To add a horizontal line to help breakup text, which tag would you use?

 

  • <hr />
  • <br />
  • <line>
  • None of These
  • <h1>

Headings T/F

With heading tags, 1 is small and 6 is large.

  • True
  • False

Headings T/F2

With heading tags, 6 is small and 1 is large.

  • True
  • False

alt

 

Which attribute provides a description of the picture and is used with the image tag?

 

  • img
  • src
  • border
  • alt
  • target

alt2

 

Which attribute can you use with the image tag to provide alternate text in the event that your image does not display?

 

  • alternate
  • text
  • txt
  • alt
  • src

img Attributes

 

Which of the following is NOT a valid attribute for the image tag?

 

  • src
  • txt
  • alt
  • All of these choices are valid attributes

img Syntax

 

Select the appropriate syntax for the image tag:

 

  • <img src=”dog.jpg” alt=”dog”>Picture</img>
  • <image source=”dog.jpg” alt=”dog”>
  • <img src=”dog.jpg” alt=”dog” />
  • None of These
  • insert image

Required img Attributes (2)

 

Which of the following are required attributes for an image? Choose all that apply.

 

  • height
  • width
  • alt
  • src
  • style

alt Required Attribute

For E 115, image tags require alternative text.

  • True
  • False

height width Required Attribute

Image tags require height and width attributes.

  • True
  • False

img

Image tags allow you to add a picture to a webpage.

  • True
  • False

src Required Attribute

Image tags require the src attribute.

  • True
  • False

Link Match (3)

Match the type of link with its definition. Write the correct letter (A, B, or C) next to each link type.

_____ Text
_____ Picture
_____ Mailto

A. allows the user to click on text that takes you from one webpage to another

B. allows the user to click on an image that takes you from one webpage to another

C. allows the user to click on text that will send an e-mail to the indicated user

a Tag

 

Which tag would you use to create a link to another website?

 

  • create
  • img
  • link
  • a
  • You cannot create links to other websites

Email Link

 

Select the appropriate syntax for emailing Ms. Marini (tamarini@ncsu.edu):

 

  • <a href=mailto:tamarini@ncsu.edu>Email the Coordinator</href>
  • <a href=”mailto:tamarini@ncsu.edu”>Email the Coordinator</a>
  • <a href=mailto:tamarini@ncsu.edu>Email the Coordinator</a>
  • <a href=”mailto:tamarini@ncsu.edu”>Email the Coordinator</href>

Image Link

Select the appropriate syntax for linking a picture to Facebook:

  • <a href=facebook.com><img src=”facebook.jpg” /></href>
  • <a href=”facebook.com”><img src=”facebook.jpg” alt=”Facebook” /></href>
  • <a href=”facebook.com”><img src=”facebook.jpg /></a>
  • <a href=”facebook.com”><img src=”facebook.jpg”alt=”Facebook” /></a>

Link Syntax

 

Select the appropriate syntax for creating a link to cnn.com.

 

  • <a href=cnn.com>CNN</href>
  • <a href=cnn.com>CNN</a>
  • <a href=”cnn.com”>CNN</href>
  • <a href=”cnn.com”>CNN</a>

Link to a File

 

Which tag allows you to offer the file, exam.zip, for download as a link (assuming it is in the same location as your XHTML file)?

 

  • <a href=”exam.zip”>Download</a>
  • <download>exam.zip</download>
  • <link src=”exam.zip” type=”download” />
  • <a download=”exam.zip”>Download</a>
  • None of these

Optional Attributes

 

For the tag that makes a link, whick of the following is an optional attribute?

 

  • target
  • href
  • a
  • src

target Attribute

 

To open a link in a different tab or page, which of the following attributes is required?

 

  • href
  • name
  • target
  • None of These
  • blank

href Attribute

 

Anchor tags require the href attribute.

 

  • True
  • False

List Item

 

Which tag would you use to create a listed item?

 

  • ol
  • li
  • table
  • ul

Ordered List

 

Which tag would you use to create a list of numbered items?

 

  • ol
  • li
  • table
  • ul

Ordered List Components (2)

 

Select all of the following that go with an ordered list:

 

  • ol
  • ul
  • li
  • tr
  • list

  • item

Unordered List

 

Which tag would you use to start a list of bulleted items?

 

  • ol
  • li
  • table
  • ul

Unordered List Components (2)

 

Select all of the following that go with an unordered list:

 

  • ol
  • ul
  • li
  • tr
  • list

  • item

Nesting

 

You can place any kind of list inside any other kind of list.

 

  • True
  • False

ol ul T/F

Unordered lists use ol tags, while ordered lists use ul tags.

  • True
  • False

ol ul T/F2

Ordered lists use ol tags, while unordered lists use ul tags.

  • True
  • False

Table Components (4)

 

Select all of the following tags that go with a table:

 

  • th
  • table
  • td
  • tr
  • ol
  • ul
  • img
  • li

table Tag

 

Which of the following tags creates a table?

 

  • <table>
  • <tr>
  • <td>
  • <cell>
  • <tab>

td Tag

 

Which of the following tags creates a new column in a table?

 

  • <table>
  • <tr>
  • <td>
  • <cell>

th Tag

 

How would you add a table heading in XHTML?

 

  • Use an <h1> tag within a table cell.
  • Use a <td> tag but style it with CSS.
  • Use a <head> tag within a table.
  • Use a <th> tag within a table row.
  • You cannot accomplih that task.

tr Tag

 

Which of the following tags creates a row in a table?

 

  • <table>
  • <tr>
  • <td>
  • <cell>
  • That cannot be accomplished

td Contents

 

HTML allows you to put any type of data inside the td tag.

 

  • True
  • False

Hex Color Order

 

Select the appropriate color order for a hex code.

 

  • rrggbb
  • rrbbgg
  • bbrrgg
  • ggbbrr

Hex First Two Digits

 

In the hex color code system, what color is represented by the first two digits?

 

  • red
  • green
  • yellow
  • blue
  • black

Hex Last Two Digits

 

In the hex color code system, what color is represented by the last two digits?

 

  • red
  • green
  • yellow
  • blue
  • black

Hex Middle Digits

 

In the hex color code system, what color is represented by the middle two digits?

 

  • red
  • green
  • yellow
  • blue
  • black

Hexadecimal Digits (2)

 

Select the digits that  can make up a hexadecimal color code: (Choose all that apply)

 

  • numbers 0 through 9
  • letters A though F
  • all letters
  • spaces

Color Combinations T/F

Modern computer monitors mix the amount of red, blue, and green light to create 16,777,216 color combinations.

  • True
  • False

Hex Numbering T/F

Hex colors use a binary numbering system.

  • True
  • False

Monitors and Color T/F

Computer monitors use light to display colors.

  • True
  • False

B/D Conversion Desc.

 

The following questions involve Binary/Decimal/Hexadecimal Conversions. For full credit on each question you are expected to:

  • Properly convert without the use of a calculator
  • Fill in the blank with the correct answer (final answer only, no leading zeroes).

 

REPEAT Router Definition

Which piece of hardware is designed to talk between networks, not within one?

  • Hub
  • Firewall
  • Switch
  • Router
  • None of these

Router Definition

Which of the following devices generally works between networks rather than within an individual network?

  • Hub
  • Switch
  • Router
  • Node

Wired Connections (4)

Match the appropriate wired connection with its definition. Write the correct letter (A, B, or C) next to each connection type.

_____ Twisted Pair Cable
_____ Coaxial Cable
_____ Fiber Optic

A. Might be a CAT5 cable

B. Central (copper) conductor, insulating layer, metallic shield, outer insulating layer

C. Not susceptible to electronic interference like traditional copper wired connections

Cables Max Length2

What is the correct order of these cables from shortest maximum length (length possible before signal loss is experience) to longest?

  • CAT5 (Twisted Pair Cable), Fiber Optic Cable, Coaxial Cable
  • CAT5 (Twisted Pair Cable), Coaxial Cable, Fiber Optic Cable
  • Fiber Optic Cable, Coaxial Cable, CAT5(Twisted Pair Cable)
  • Fiber Optic Cable, CAT5(Twisted Pair Cable), Coaxial Cable

IEEE

Which organization creates and specifies the current 802.11 family of wireless standards?

  • FCC
  • IEEE
  • DNS
  • None of these

Network Medium

Which of the following is not a network medium?

  • Coaxial cable
  • Fiber optic cable
  • Twisted pair
  • WiFi
  • RJ-72

Wireless Connections (4)

 

Which of the following is a form of a wireless connection, as discussed in the E 115 online textbook? [Hint: there are 3 correct answers]

 

  • Wi-Fi
  • WireFree
  • Multiple Input Multiple Output
  • Broadband cell phone microwaves
  • Bluetooth

MAN Definition

What does MAN stand for?

  • Metropolitan Area Notebook
  • Metropolitan Area Network
  • Metropolis Area Network
  • Metropolis Area Notebook

VLAN Definition

What does VLAN stand for?

  • Viral LAN
  • Visual LAN
  • Video LAN
  • Virtual LAN
  • None of these

WAN Definition

 

What does WAN stand for?

 

  • Windows Area Network
  • Windows Area Navigation
  • Wide Area Navigation
  • Wide Area Network
  • None of these

DNS Definition

 

What does DNS stand for?

 

  • Default Naming System
  • Domain Name System
  • Doesn’t Need Service
  • Don’t Name Systems

DNS Domain Names

What technology allows you to use domain names instead of network addresses?

  • RDP
  • VCL
  • DNS
  • DHCP
  • IP

IP Definition

What does IP stand for?

  • Internet Prices
  • Intricate Protocols
  • In sPace
  • Internet Protocol
  • Does not stand for anything

NAT Share External IP

Which of the following allows multiple computers to share a single external IP Address?

  • NAT
  • USB
  • DNS
  • DHCP
  • None of these

Valid IPv4

Which of the following is a valid IPv4 address?

  • 127.0.0.1
  • 192.168.1256.1
  • 2001:db8:0:1234:0:567:1:1
  • 2001:db8:85a3:0:0:8a2e:370:7334

HTTP

 

What protocol is used for transmitting web pages over the Internet?

 

  • Answer____________________________

RDP Definition

What does RDP stand for?

  • Rapid Desktop Protocol
  • Rapid Decision Protocol
  • Remote Desktop Protocol
  • Remote Decision Protocol
  • None of these

SSH and NFS

 

What protocol do we use in order to connect to our NFS space through applications such as PuTTY?

 

  • SFTP
  • SSH
  • Tunneling
  • Piping
  • None of these

33 in binary fill in the blank

 

33 in binary (write your final answer in the blank; no leading 0’s).

 

33 in binary fill in the blank

 

33 in binary (write your final answer in the blank; no leading 0’s).

 

74 to binary fill-in-the-blank

 

Convert 74 to binary (write your final answer in the blank; no leading 0’s).

 

74 to binary fill-in-the-blank

 

Convert 74 to binary (write your final answer in the blank; no leading 0’s).

 

80 to binary fill-in-the-blank

 

Convert 80 to binary.

 

80 to binary fill-in-the-blank

 

Convert 80 to binary.

 

87 to binary fill-in-the-blank

 

Convert 87 to binary (no leading 0’s).

 

87 to binary fill-in-the-blank

 

Convert 87 to binary (no leading 0’s).

 

D to B: 91 fill in the blank

 

Convert 91 to binary. (no leading 0’s).

 

D to B: 91 fill in the blank

 

Convert 91 to binary. (no leading 0’s).

 

27 D to B Fill-in-the-blank

 

What is 27 in binary? (please avoid leading zeroes)

 

  • Answer____________________________

01011101, 93 fill-in-the-blank

 

Convert the binary number 01011101 to decimal. 

 

  • Answer____________________________

01100001, 97 fill-in-the-blank

 

Convert the binary number 01100001 to decimal. 

 

  • Answer____________________________

01100110, 102 fill-in-the-blank

 

Convert the binary number 01100110 to decimal. 

 

  • Answer____________________________

01100111, 103 fill-in-the-blank

 

Convert the binary number 01100111 to decimal. 

 

  • Answer____________________________

01110001,113

 

Convert 01110001 to decimal

 

  • Answer____________________________

01110010,114

 

Convert 01110010 to decimal

 

  • Answer____________________________

BIOS Memory Type

 

What type of memory is loaded with your computer’s BIOS?

 

  • RAM
  • Flash
  • ROM
  • SODIMM
  • None of these

RAM Definition

 

What does RAM stand for?

 

  • Random Access Memory
  • Random Actual Memory
  • Really Acute Memory
  • Rarely Accessed Memory
  • It has no meaning

ROM Definition

 

What does ROM stand for?

 

  • Random Access Memory
  • Read Only Memory
  • Really Obtuse Memory
  • Rarely Online Memory
  • It has no meaning

Download RAM

 

If you need addition RAM, you can always download it online.

 

  • True
  • False

RAM Reboot T/F

 

If you were to reboot a computer, the memory stored in RAM would still be present upon turning the computer back on.

 

  • True
  • False

Virtual Memory T/F

 

Not all programs and processes are small enough to fit the physical memory, so in some cases the memory management system must also provide virtual memory.

 

  • True
  • False

Hard Drive Configuration

 

Which of the following is actually a type of hard drive configuration rather than hard drive interface?

 

  • SATA
  • RAID
  • SCSI
  • IDE
  • These are all configurations

  • These are all interfaces

Hard Drive vs Floppy

 

Floppy disks and hard disk drives are both what type of data storage?

 

  • Magnetic data storage
  • Solid state
  • Optical
  • Cloud
  • Pen and paper

Solid-state Hard Drive T/F

 

Solid-state hard drives emulate a hard drive disk interface to store data.

 

  • True
  • False

Solid-state Hard Drive T/F2

 

Solid-state drives are more durable because they have moving parts.

 

  • True
  • False

DVI

 

This video port can handle audio data. Select all that apply.

 

  • VGA
  • DVI
  • HDMI
  • DisplayPort

Ethernet

 

Which port is common on all modern computers allowing the user to connect to the network and internet via a wired connection?

 

  • Modem
  • Ethernet
  • VGA
  • DVI
  • Sound

Ethernet Names

 

Which port is known by many different names?

Example: twisted-pair.

 

  • Modem
  • Ethernet
  • VGA
  • DVI
  • HDMI

Firewire

 

Which port was originally developed by Apple?

 

  • Serial
  • Firewire
  • USB
  • Parallel
  • PS/2

HDMI

 

Which display port is used to handle both audio and video?

 

  • Serial
  • Parallel
  • VGA
  • DVI
  • HDMI

Modem

 

Which port was used to access dialup networks in the early days of computing?

 

  • Modem
  • Ethernet
  • VGA
  • DVI
  • Parallel

Parallel

Which of the following was used for printers in the 1980’s through 1990’s?

  • Serial
  • PS/2
  • USB
  • Parallel

PS/2 Mouse

 

This green port was used for the mouse in the early days of computing.

 

  • Serial
  • PS/2
  • USB
  • Parallel
  • None of these

Serial2

 

Which port was used primarily for connecting modems and joysticks throughout the 1980s and 1990s?

 

  • Serial
  • PS/2
  • USB
  • Parallel
  • None of these

USB

 

This port has become one of the most versatile interfaces used on modern computers.

 

  • Serial
  • PS/2
  • USB
  • Parallel
  • None of these

VGA

 

This port is being replaced by DVI.

 

  • Modem
  • Ethernet
  • VGA
  • DVI

Dual Core

Of the following, which type of processor can perform two tasks at the exact same time?

  • Single Core
  • Dual Core
  • Neither of them
  • Both of them

64-bit Data Addressing

True or False: A 64-bit processor can address exactly twice as much data as a 32-bit processor.

  • True
  • False

Dual Core T/F

A dual core processor is capable of performing two separate tasks at the exact same time.

  • True
  • False

Program speed

 

Putting more processors in a computer will always make a single program run faster.

 

  • True
  • False

Program Speed 2

 

A computer with more processors will run multiple programs faster than a computer with fewer processors.

 

  • True
  • False

Single Core T/F

A single core processor is capable of performing two separate tasks at the exact same time.

  • True
  • False

Kernel

 

On July 19, 2024, the company Crowdstrike pushed faulty code to many computers worldwide, pulling them into an infinite cycle of rebooting. Where did this code have to run to cause the entire computer system to break down, instead of just a single program crashing?

 

  • Kernel
  • User Application
  • Microsoft Word
  • Shell
  • Popcorn

Software Layers from User to Hardware

 

What is the correct order of the following layers of software from closest to the user to closest to the hardware?

 

  • Kernel, Applications, Drivers, Hardware
  • Applications, Kernel, Drivers, Hardware
  • Drivers, Kernel, Applications, Hardware
  • Applications, Drivers, Kernel, Hardware

API Acronym

What does API stand for?

  • Answer____________________________

OS File Systems

 

All operating systems use exactly the same file system.

 

  • True
  • False

Virtual Memory

 

Not all programs and processes are small enough to fit the physical memory, so in some cases the memory management system must also provide virtual memory.

 

  • True
  • False

*nix Interface

 

*NIX (Linux and Unix) operating systems historically have what type of interaction with the user?

 

  • GUI-based
  • Command Line
  • Hybrid (GUI + CLI)
  • None of these
  • Text Line Interface

CLI Acronym

 

What does CLI stand for?

 

  • Command Linear Interface
  • Comrade Line Interpol
  • Command Line Interface
  • Cool Line Interface
  • None of these

CLI Example

Which is an example of an operating system with only command line interface?

  • MS-DOS
  • Windows 10
  • Windows XP
  • Mac OS X

CLI Input

How does a command line interface receive input?

  • Mouse click
  • Keyboard
  • Text Editor
  • Virtual Machine
  • Graphically

GUI Acronym

 

What does GUI stand for?

 

  • Graphical User Introduction
  • Grand User Interface
  • Grand User Introduction
  • Graphical User Interface
  • None of these

Historical Interface Order

 

What is the correct order of the following user interfaces from the earliest to the most current?

 

  • TUI, CLI, GUI
  • GUI, CLI, TUI
  • CLI, TUI, GUI
  • GUI, TUI, CLI

Mac OS X Interface

 

Mac OS X provides what kind of interaction with the user?

 

  • GUI-based
  • Command Line-based
  • GUI based with a Command Line interface
  • None of these
  • TUI

Red Hat Linux Interface

 

Red Hat Linux provides what kind of interaction with the user?

 

  • GUI-based
  • Command Line-based
  • GUI based with a Command Line interface
  • None of these
  • TLI

Win 11 Interface

 

Microsoft Windows 11 provides what kind of interaction with the user?

 

  • GUI-based
  • Command Line-based
  • Hybrid
  • None of these
  • CLI

Android OS

 

Android is a type of Operating System.

 

  • True
  • False

Unity ID Assignment

 

If Ian Michael Short was the first person with his initials to come to State, what would his cousin, Ingrid Margaret Short’s Unity ID be if she were second?

 

  • imshort
  • imshor2
  • imshort2
  • imshort_2
  • None of the above.

Unity ID Assignment1

 

If John Fitzgerald comes to college and does not have a middle name, what might his Unity ID be?

 

  • jfitzger
  • jfitzge1
  • jfitzgerald
  • jfitzge
  • 2000987654

Unity ID Elements

 

Which of the following can be an element of someone’s Unity ID?

 

  • A middle initial
  • The first six letters of their last name
  • A first initial
  • All of these
  • None of these

Valid Unity ID

Which of the following could be a valid Unity ID for John Thomas Smith?

  • 000123456
  • jtsmith8
  • smithjt
  • john_t_smith

Account Space

 

As an NCSU student, your Unity account gives you space to save documents on school computers.

 

  • True
  • False

Unity ID AKA

 

Your Unity ID is also known as a username, login name, login ID and userid.

 

  • True
  • False

Unity ID Characters

 

A Unity ID must always have 8 characters.

 

  • True
  • False

Unity ID Characters2

 

A Unity ID cannot exceed 8 characters.

 

  • True
  • False

Unity ID Elements1

 

Your Unity ID is comprised of a string of 9 numbers.

 

  • True
  • False

Unity ID Elements2

 

Your Unity ID is comprised of lowercase letters and, in some cases, a number or two.

 

  • True
  • False

Unity ID Elements3

 

A Unity ID can never have a number.

 

  • True
  • False

Unity ID Elements4

 

A Unity ID must always have a number.

 

  • True
  • False

Unity ID Email

 

Your Unity ID is also the first part of your NCSU email address.

 

  • True
  • False

Unity ID vs Student ID

 

Your Unity ID and your Student ID number are the same.

 

  • True
  • False

8. EXIT

 

*EXIT THE LOG FILE NOW*

 

Check to make sure that after you have exited the log file, that there is content in it by either opening the file via File Transfer system or viewing it in the terminal window.

Move it from its current location to your Test_1 directory.

 

UNIX commands description

 

For the following problems, you should open up your terminal and log into remote.eos.ncsu.edu. You may also open FileZilla.

Complete all questions in order (do not change directories between questions). DO NOT close the terminal until prompted.

You will need to log into your terminal and execute the correct answers AND write what you wrote in the terminal window in the space provided below each question. In the last question of this section, you will upload the file you created in the terminal.

 

5. edit file

 

On your computer, open up your copy of MS Office 2007 or higher.

Edit the document named toptvshows.docx that was given to you in the zip file. Make sure it contains the following information:

  1. Your name
  2. Your Unity ID
  3. Your individual section number
  4. The number of Learning Objectives from Chapters 1 through 4 as stated in the Online Textbook (Remember this exam is closed book, but you were required to read the instructions for this exam)
  5. Highlight, in red, all of the 90’s TV shows you have heard of. Then, add your favorite current TV show as #11 (and leave it un-highlighted). If you have never heard of ANY of the shows, then highlight #11 in red.

Save the file with the name NEWtoptvshows.docx and make sure the updated file is also saved to your Test_1 directory (use your file transfer system). Also, be sure to submit the file here.

In your own words and in the space below, write a few sentences on how you used the file transfer system (or saved to the appropriate locker if on a lab machine).

 

7a. log file

 

You may now close your terminal window.

Upload your log file here.

 

exit script file

 

Exit your log file. What command did you use?  {#1}

 

1. script

 

  1. You should be in your home directory.
  2. Create a log file that will capture all of your commands.
    • Your log file should be named test1.txt (DO NOT exit until prompted)
    • For full credit you should use the option that allows you to write to the log file in real time
  3. In the space below, write what you typed into the terminal window to complete Step 2 only (short answer questions are CASE sensitive)

 

  • Answer____________________________

2a. ls (all)

 

How would you list all files and directories (including hidden files) in the E 115 course locker?

Things to keep in mind: 

  • You do not want to include extra details about each file.
  • Remember where you currently are in your file space after answering the previous question.

In the space below, write what you would type into a terminal window (short answer questions are CASE sensitive).

 

  • Answer____________________________

5a. rm

 

Using your terminal window, delete test1.exe from your NFS space.

Things to keep in mind:

  • You are currently in the same directory as the file.
  • You want the file to be deleted without you having to tell the system in an additional step.

Please provide what you wrote in the terminal window in the space below.

 

  • Answer____________________________

6. man

 

There’s a command called touch, but you forgot how to use it. What should you type into your terminal to get the manual pages for it?

 

  • Answer____________________________

6a. rm (no terminal)

 

How would you remove the file picture6.txt?

Things to keep in mind:

  • You are currently in the same directory as the file
  • You want the file to be deleted without you having to tell the system in an additional step

Please provide what you would write in the terminal window in the space below.

 

  • Answer____________________________

OS/Interface Match (6)

Match the operating system with its user interface. Each answer choice may be used more than once. Write the correct letter (A, B, C, or D) next to each operating system:

_____ DOS
_____ Windows 10
_____ Terminal
_____ Linux Ubuntu
_____ Mac OS X
_____ DOS running a program

A. CLI

B. GUI with CLI

C. GUI

D. TUI

Common OS

 

Which of these is a common Operating System for “general-purpose” computers such as desktops and laptops [Hint: there are 3 correct answers]?

 

  • Windows
  • Mac OS X
  • Linux
  • Android
  • HarmonyOS

OS Acronym

What does OS stand for?

  • Answer____________________________

OS Required T/F

 

An Operating System manages hardware resources, provides a user interface, and allows the execution of application software.

 

  • True
  • False

Leaf and Child

 

In a file tree, an arbitrary file named stuff.txt would be considered a…

(Select all that apply)

 

  • Leaf
  • Parent
  • Child
  • Root

Root and Parent

 

The / directory in a NFS file tree is considered a…

 

  • Root
  • Parent
  • Child
  • Root and Parent
  • Root and Child

Child

 

A child node has a parent.

 

  • True
  • False

Leaf

 

A leaf node has at least one child.

 

  • True
  • False

NFS Root

 

In the NFS File Tree, the topmost node is known as the home directory.

 

  • True
  • False

Parent

 

A parent node has at least one child.

 

  • True
  • False

Root

 

A root node has a parent.

 

  • True
  • False

Abs Pathname NFS

 

An absolute path in the NFS file tree always starts from….

 

  • The root
  • My Home directory
  • The E 115 course locker
  • My current working directory

Abs Rel Pathname Diff & Sim

 

An absolute pathname begins at the __________ whereas a relative pathname begins at the __________. Both types of path end at the __________.

 

  • root, current working directory, specified file
  • current working directory, root, specified file
  • root, specified file, current working directory
  • current working directory, specified file, root
  • None of these

Forward Slash

As you step down a level within a file tree, you place a ____ to denote a change in directory.

  • /
  • ..
  • space

Rel Pathname – Current Dir

 

What is the relative pathname for your current directory?

 

  • ./
  • ../
  • ~/
  • /
  • None of these

Rel Pathname – Home Dir2

 

Assuming you are in your home directory:

Do ~/ and ./ refer to the same location?

 

  • Yes
  • No

Rel Pathname – Parent Dir

 

What is the relative pathname for your parent directory?

 

  • ./
  • ../
  • ~/
  • /
  • None of these

Rel Pathname Start (2)

 

A relative path in the NFS file tree can start from… (Choose all that apply)

 

  • The root
  • My home directory
  • The E 115 course locker
  • My current working directory

Abs Pathname T/F

This is an appropriate absolute pathname:  ~/MyE115/Test_3

  • True
  • False

Abs Pathnames T/F2

 

Absolute path names include the root directory and all directories leading to the specific file or directory.

 

  • True
  • False

Pathname Address

 

Pathnames are like street addresses to where files live.

 

  • True
  • False

Rel Pathname T/F

This is an appropriate relative pathname: ~/../.
(Everything after the semi-colon is part of the pathname)

  • True
  • False

Rel Pathnames T/F2

 

Relative pathnames describe how to navigate from your current location to a new location.

 

  • True
  • False

Dangerous Exe

 

Which of the following could be a potentially dangerous executable file (a virus)?

 

  • funnypic.exe
  • funnypic.jpg
  • funnypic.txt
  • All of these
  • None of these

Accurate Ext

 

File extensions are always an accurate representation of the file type.

 

  • True
  • False

Ext Changes

 

Users can manually rename a file and change its extension.

 

  • True
  • False

Ext Changing

 

Changing the extension of a file also changes the file type.

 

  • True
  • False

Image in text editor

 

It is possible to open a .jpg file with a text editor, but you will likely corrupt or destroy the image.

 

  • True
  • False

Fields Matching (4)

Please match the following email fields with what they are used for. Write the correct letter (A, B, C, or D) next to each description:

_____ Address (or list of addresses) that the email will be sent to
_____ Address (or list of addresses) that a copy of the email chain will be sent to
_____ Address (or list of addresses) that a copy of the email chain will be sent to without any other recipients knowing
_____ A brief description of what the body of the email will be about

A. To

B. CC

C. BCC

D. Subject

Appropriate Address of Instructor in Email

 

What is the most appropriate way to address your college instructor in an email, if they have not told you to call them something else?

 

  • First name

  • Miss/Mrs./Mr.

  • Professor

  • Their last name without a title

Appropriate E-mail Address

If John Q. Public wanted to e-mail his E 115 lab instructor about a Homework question, which e-mail address should he use?

  • jqpublic@ncsu.edu
  • jqpublic@gmail.com
  • hot_pants68@hotmail.com
  • mr1337guy@aol.com
  • All of these are OK to use

Appropriate E-mail Subject2 (3)

Which of the following should you ALWAYS include in the subject of an e-mail to your NC State lab instructors or professors? [Hint: there are 3 correct answers]

  • Course letter and number
  • Section Number
  • Brief Description of the content of your e-mail
  • I should leave the subject blank
  • Random Numbers

Appropriate E-mail Subject3 (2)

Select the two most appropriate e-mail subjects for a question on Homework 1 from an E 115 student?

  • Homework 1 question
  • E 115 Section XXX Homework 1 Question
  • E 115 Homework 1 Question
  • Section XXX HW Question
  • None of these

BCC

 

If CC stands for Carbon Copy, what does BCC stand for?

 

  • Bandwidth Carbon Copier
  • Binary Carbon Copy
  • Blind Carbon Copy
  • Blind Cache Code
  • Big Chili Corndog

BCC2

Which of the following fields will send copies of an e-mail to multiple people, without showing the recipients that a third party might have gotten it, perhaps in secret?

  • CC
  • BCC
  • To
  • From
  • None of these

CC & BCC

If tamarini sends an e-mail to ahphilli, CC’s cmburget and BCC’s e115-005, who will ahphilli see received the e-mail?

  • ahphilli, cmburget, e115-005
  • ahphilli, e115-005
  • cmburget, e115-005
  • tamarini
  • ahphilli, cmburget

E-mail Subject Elements (3)

Choose the three different parts to an appropriate e-mail subject line.

  • Course letter & number
  • Section Number
  • A long explanation of the contents of your e-mail
  • Your Name
  • A short description of the reason for your e-mail
  • Your Student ID number
  • Your Unity ID

Inappropriate E-mail Subject

Which is the most inappropriate subject for a question on Homework 1 from an E 115 student?

  • Homework 1 question
  • E 115 Section XXX Homework 1 Question
  • E 115 Homework 1 Question
  • Section XXX HW Question
  • They are all equally appropriate

Label & Filter (2)

Which of these features can be implemented in order to automatically categorize incoming emails through your NCSU Gmail account? [Hint: there are 2 correct answers]

  • Labels
  • Filtering
  • Automated replies
  • Gmail Chat
  • Background Images

NCSU E-mail Site

 

To access the NCSU email system, which website should you go to?

 

  • gmail.ncsu.edu
  • gmail.org
  • yahoo.com
  • moodle.wolfware.ncsu.edu

Email Domain

 

An email domain is the part of an email address that comes after the “@” symbol, and it typically represents the mail server that handles the email. What is the required email domain you must send emails from to access staff support in E 115?

 

  • Answer____________________________

Mock E-mail Subject

 

You have a question about E 115 Homework 1 and want to email your Lab Instructor. Below type an appropriate subject.

 

  • Answer____________________________

Appropriate E-mail Address T/F

 

It is okay to e-mail your instructor from your unityid@hotmail.com account.

 

  • True
  • False

Appropriate E-mail Address T/F2

For the purpose of E 115 (and my other NCSU classes), I should use my personal (non-NCSU) e-mail address.

  • True
  • False

E-mail Address Elements

 

Your NCSU email address is comprised of your Student ID number.

 

  • True
  • False

Licenses Matching (4)

Match each type of software license with the appropriate definition. Each answer choice is used only once. Write the correct letter (A–D) next to each description:

_____ Software distributed free of charge
_____ Software distributed with a limited license
_____ Software you must purchase before using
_____ Software distributed for a multitude of users

A. Freeware

B. Shareware

C. Buyware

D. Network

Freeware

 

Open source software would fall under which software license, which allows the user to use the full software as they see fit without purchasing it?

 

  • Freeware
  • Shareware
  • Network
  • Buyware
  • None of these

Freeware Linux

Under which of the following would a distribution of Ubuntu Linux fall under?

  • Freeware
  • Shareware
  • Network
  • Buyware
  • None of these

Network License

What type of software license is used by larger companies, which might have hundreds, if not thousands of copies of a particular piece of software?

  • Freeware
  • Shareware
  • Network License
  • Buyware
  • None of these

Network License2

Which of the following would consider buying a Network License?

  • Government Agency
  • School/University System
  • Corporate World
  • All of these
  • None of these

Shareware

What type of software license is most similar to a ‘test drive’ of software, so you can use the software before purchasing a full license?

  • Freeware
  • Shareware
  • Network
  • Buyware
  • None of these

Software Licenses

Which is a type of software license?

  • Network License
  • Buyware
  • Freeware
  • Shareware
  • All of these

AVD Overview

What is Azure Virtual Desktop (AVD)?

  • A Windows environment deployed via Microsoft Azure cloud services for accessing lab software
  • A physical lab environment on the Azure cloud

Printing via web

 

In order to print a document on campus, which online service could you use?

 

  • Papercut
  • Packprint
  • Pawprints
  • Ink Saver
  • None of these

Register Devices

 

To authenticate your computer on the NCSU network, or register your mobile device, which system is utilized?

 

  • sysnews.ncsu.edu
  • nomad.ncsu.edu
  • www.ncsu.edu
  • www.eos.ncsu.edu/e115
  • None of These

Reserving a VCL Computer

How can you reserve a VCL computer?

  • By logging in to the web-based reservation system and selecting the desired application and operating system
  • By calling the IT department and requesting access
  • By visiting the physical VCL lab on campus
  • By downloading and installing the VCL client software

Unity Resources

 

Which of the following are resources of any Unity account?

 

  • E-mail
  • Nightly backup
  • Personal webs pace
  • Networked printing
  • All of these

Using VCL on MAC

What must be installed before using VCL on a MAC computer?

  • Microsoft Remote Desktop
  • Adobe Creative Suite
  • VMware Fusion
  • Google Chrome

VCL

 

Which of these NCSU services allows you to use certain software or operating systems without installing them on your personal computer?

 

  • VCL
  • OIT
  • ITECS
  • Papercut
  • EOS

VCL Access

What is the Virtual Computing Lab (VCL)?

  • A method of remotely accessing and using University machines
  • A physical computing laboratory on campus
  • An application for reserving lab equipment
  • A campus organization for computer science students

VCL Features

What is a feature of the Virtual Computing Lab (VCL)?

  • Easy-to-use remote access from one’s own desktop or mobile computer
  • Access restricted to physical computing laboratories
  • Only accessible through specialized client software
  • Access limited to specific campus departments

VPN Purpose

What is the purpose of a VPN (Virtual Private Network)?

  • To securely access campus network resources from off-campus locations
  • To increase internet speed
  • To block access to certain websites
  • To remotely control other computers

Internet Login

 

Unless you have registered your device, every time you want to login to the internet on NCSU’s campus you have to put in your Unity ID and password.

 

  • True
  • False

Storage Space

 

As an NCSU student, your Unity account gives you space to save documents on school computers.

 

  • True
  • False

Leaf Image (2)

 

Refer to the image of a hypothetical file tree below to answer this question:

Node C is which of the following? [Hint: there are 2 correct answers.]

 

  • Parent

  • Child

  • Root

  • Leaf

Leaf Image (3)

 

Refer to the diagram of a hypothetical file tree below to answer this question:

Root
├── Alice
│   ├── Document1_Alice.txt
│   └── Letter_Alice.txt
└── Bob
    ├── Resume_Bob.txt
    └── Projects
        └── Project_Bob.txt

Node Project_Bob.txt is which of the following? [Hint: there are 2 correct answers.]

 

  • Parent

  • Child

  • Root

  • Leaf

Parent/Child Image (2)

 

Refer to the image of a hypothetical file tree below to answer this question:

Node G is which of the following? [Hint: there are 2 correct answers.]

 

  • Parent

  • Child

  • Root

  • Leaf

Root Image (2)

 

Refer to the image of a hypothetical file tree below to answer this question:

Node A is which of the following? [Hint: there are 2 correct answers.]

 

  • Parent

  • Child

  • Root

  • Leaf

Number of leaves

 

How many leaves does the following tree have? (put the number in digits)

 

 

 

  • Answer____________________________

Knowledge factor

 

Provide a specific example of something that would be considered a type of knowledge factor for authentication purposes.
Do NOT provide any of your own knowledge factors (or anything resembling them) themselves as an answer to this question. We are looking for you to answer the question in the general sense (a “type of”).
 
If you provide an answer that is, or appears to be, an actual specific knowledge factor, the answer WILL be marked incorrect, without exception, and you should consider that knowledge factor to have been compromised.

 

Closed Terminal Reminder

 

REMINDER: The Final Exam is CLOSED TERMINAL. Consider the following questions as hypothetical scenarios and complete them WITHOUT the use of your Terminal.

 

cd-mv-rm

 

There is a folder named final_exam under your home directory on EOS. Please answer the following questions:

  1. You are currently in the home directory. Please provide what you would write in the terminal window to enter final_exam directory.
  2. You are currently in the home directory. Please provide what you would write in the terminal window to change the name of the folder final_exam to my_exam.
  3. You are currently in the final_exam directory. There are two files in the directory: picture.txt and figure.txt. Please provide what you would write in the terminal window to delete picture.txt.

 

 

cp: Final Exam

 

There is a file named final.txt in the E 115 course locker (/mnt/coe/workspace/csc/admin/e115). You are in your home directory.

In the space below, write how you would copy the file to your home directory and then list the contents of your home directory, all without moving from your home directory.

You must use the absolute path of the E 115 course locker. Please provide as many steps as needed.

 

cd: Final Exam

 

You are in the NFS file tree and you wish to move from your current directory to the E 115 course locker.

In the space below, write the command you would use.

For credit use only the absolute path name.

 

  • Answer____________________________

mkdir: Final Exam

 

Regardless of where you are in the file tree, you want to create a directory called Final_Exam. You want this directory to be located in your home directory.

In the space below, write the command you would use.

Use only the relative path name for your home directory for full credit.

 

  • Answer____________________________

script: Final Exam

 

You are in your home directory.

You wish to create a log file named final.txt that will capture your commands in real time.

In the space below, write what you would type into the terminal window.

 

  • Answer____________________________

unity ID

 

Your NCSU Unity ID is comprised solely of numbers.

 

  • True
  • False

unity ID

 

Your NCSU Unity ID is comprised solely of numbers.

 

  • True
  • False

Log File Information (2)

 

The log file contains useful information including (Hint: There are 2 correct answers):

 

  • the commands typed into the terminal window
  • any mistakes made in the terminal window
  • a full how to guide for the terminal window
  • all the manual pages available

Saving Log Files

 

What must you type in the terminal window to save the log file?

 

  • exit
  • save
  • help
  • record

Saving Log Files2

 

If you did not use the –f option, what must you type to save the log file?

 

  • exit
  • save
  • help
  • record

script -a Function

 

I am making a log file that is recording my keystrokes in terminal in real time. My file is in my home directory and is called hw.txt.  I accidentally exit my log file prematurely.  Which of the following commands will allow me to begin writing to hw.txt where I left off? 

 

  • script -a ~/hw.txt

  • script -f hw.txt

  • script -f ~/hw.txt

  • script hw.txt

  • script -a ~/hw1.txt

script Function

 

The script command is used to ____

 

  • keep track of how the terminal is feeling today
  • create a file full of important course information
  • create a log of everything displayed in the terminal window
  • create a log of the commands used in the terminal window

script Options (2)

 

Which of the following options could you use with the script command? Choose all that apply.

 

  • -f

  • -a

  • -s

  • -l

  • -n

script Syntax

 

The proper (full) syntax for the script command is _____

 

  • script –options filename.extension
  • script filename
  • script
  • None of These

script example 1

 

What would you type into terminal to start a log file named homeworklog.txt? Make sure to follow the E 115 guidelines for starting a log file.

 

  • Answer____________________________

man cd

 

If the instructions say: “Display the manual page for the change directory command”, which command would you use?

 

  • cd
  • man
  • script
  • pwd

man cp

 

If you do not remember how to use the cp command, which command would you use to get more information about the cp command?

 

  • help cp
  • man cp
  • cp
  • cp help

man Function

 

The man command is used to ____

 

  • create a directory
  • display the documentation
  • change from one directory to another
  • tell you where you are located

man Function2

 

The man command is an important tool to help _____

 

  • understand where you are located
  • show the proper syntax of a command
  • tell you how to read a manual page
  • None of These

man man

 

What command would give you the manual page for the man command?

 

  • man man
  • man woman
  • man help
  • cp
  • attach

man Output

 

You are likely to get the following output from using the man command:

 

  • Information on the command

  • Options that can be used with the command

  • Syntax options of the command

  • Definition of the command

  • All of these

man Syntax

 

The proper syntax for the man command is _____

 

  • man
  • man command
  • command
  • None of These

man Output T/F

 

The man command provides output.

 

  • True
  • False

cd Function

 

Which command would you use to make your current working directory the E 115 course locker?

 

  • mv E115
  • cd /mnt/coe/workspace/csc/admin/e115
  • mv /mnt/coe/workspace/csc/admin/e115
  • cd e115
  • None of these

cd Function2

 

The cd command is used to ____

 

  • create a directory
  • list the contents of a directory
  • change from one directory to another
  • tell you where you are located

cd Syntax

 

The proper syntax for the cd command is _____

 

  • cd destination
  • destination
  • cd
  • None of These

cd www

 

Your current working directory is ~/.

What will your working directory be after you execute the following command: cd www?

 

  • /www
  • ~/www
  • ~/www4

ls -a

 

Which command would only list all of the files in your current directory?

 

  • ls
  • ls –a
  • ls –l
  • ls –al
  • ls -la

ls -l

 

What command lets you see a list of the files in a directory along with their sizes?

 

  • ls -a
  • ls -r
  • ls -l
  • ls –with-file-size

ls Function

 

The ls command is used to _____

 

  • show you the contents of a directory
  • create a file
  • open a file
  • None of These

mkdir

 

To create a directory, which command would you use?

 

  • script
  • ls
  • mkdir
  • cd

mkdir 2

 

If the instructions say: “Create a directory”, which command would you use?

 

  • cp
  • rm
  • script
  • mkdir

mkdir helps

 

The mkdir command is an important tool to help _____

 

  • create a file
  • create a logfile
  • create a directory
  • None of These

mkdir MyE115

 

From anywhere in the file tree, which command would create a directory called MyE115 in your home directory?

 

  • mkdir MyE115
  • create MyE115
  • mkdir ~/MyE115
  • create ~/MyE115
  • mkdir ~/mye115

mkdir Syntax

 

The proper syntax for the mkdir command is _____

 

  • mkdir directory
  • directory
  • mkdir
  • None of These

mkdir use

 

The mkdir command is used to ____

 

  • create a directory
  • list the contents of a directory
  • change from one directory to another
  • tell you where you are located

cp File Syntax

 

Assuming you are in your home directory, what is the correct syntax to copy the file ~/copy_this.txt to a subdirectory named hold?

 

  • copy copy_this.txt ~/hold
  • cp copy_this.txt ~/hold
  • copy ~/hold copy_this.txt
  • cp ~/hold copy_this.txt

cp File Syntax – General

 

The proper syntax for the cp command is _____

 

  • cp filename.txt destination
  • filename.txt destination
  • cp destination
  • None of These

cp Function

 

The cp command lets you  ____

 

  • create a directory
  • copy the contents of a directory
  • move from one directory to another
  • tell you where you are located

rm Directory

 

Which command would delete the directory MyE115 and all of its contents from anywhere in the file tree? (Note: MyE115 is in your home directory)

 

  • rm MyE115
  • rm –rf ~/MyE115
  • rm –rf ~/mye115
  • rmdir MyE115
  • remove MyE115

rm File

 

Which command would remove the file more_cheezburgers?

 

  • dlt more_cheezburgers
  • delete more_cheezburgers
  • rm
  • delete
  • rm more_cheezburgers

rm -f Output T/F

 

The remove command (with -f option) has output.

 

  • True
  • False

rm -rf Usage T/F DELETE THIS?

 

You should always use the options -rf whenever you use the remove command.  

 

  • True
  • False

rm Output T/F CHANGE/DELETE THIS?

 

The remove command (no options) has output.

 

  • True
  • False

Arrow Keys (2)

 

Which would you use in order to scroll through commands you have already typed? Choose all that apply.

 

  • tab
  • space
  • up arrow
  • down arrow
  • None of these can be used

Chaining Character

 

What character allows you to run two separate commands on one line?

 

  • , (Comma)
  • : (Colon)
  • ; (Semi-colon)
  • / (Forward slash)
  • None of these

Chaining Definition

 

What is the term that describes how a user can run two separate commands, normally on separate lines, on one line?

 

  • Chaining
  • Multi-commands
  • Concurrent
  • Stringing
  • None of these

Chaining Example

 

Which of the following is an example of chaining?

 

  • man zip , man cp
  • man zip : man cp
  • man zip # man cp
  • man zip ; man cp
  • man zip + man cp

Chaining Syntax

 

What is the correct syntax to run two commands, normally on two different lines, on one line?

 

  • mkdir E115, cd E115
  • mkdir E115/ cd E115
  • mkdir E115: cd E115
  • mkdir E115; cd E115
  • None of these

Tab

 

Which would you use in order to complete the name of a long file?

 

  • tab
  • space
  • up arrow
  • down arrow

pwd

 

If you are lost within the file tree, which command would you use?

 

  • pwd
  • ls
  • mkdir
  • cd

pwd 2

 

If the instructions say: “Determine your location”, which command would you use?

 

  • cp
  • rm
  • script
  • pwd

pwd Function

 

If you need to know the path of the current working directory, which of the following commands should you run?

 

  • cwd
  • pwd
  • which
  • wtf

pwd Output

 

The pwd command prints the __________ path to the current working directory on the screen.

 

  • convoluted
  • relative
  • gravel
  • absolute

pwd Syntax

 

The proper syntax for the pwd command is _____

 

  • pwd
  • pwd location
  • location
  • None of These

pwd use

 

The pwd command is used to ____

 

  • create a directory
  • list the contents of a directory
  • change from one directory to another
  • tell you where you are located

pwd Output T/F

 

The pwd command has output.

 

  • True
  • False

Active Cell

 

Any cell you have selected is known as a(n) _____.

 

  • active cell
  • gray cell
  • range
  • continuous range
  • none of these

Active Cell2

 

In Excel, when you click on a cell what could you refer to it as?

 

  • Active
  • Highlighted
  • Filled
  • Inactive
  • None of these

Cont. Range Ex.

 

What type of range is A10:A242?

 

  • Continuous
  • Non-continuous
  • Spacious
  • Current
  • Concurrent

Non-Cont. Range

 

A grouping of cells that are not next to each other is known as a (n)_____.

 

  • active cell
  • continuous range
  • non-continuous range
  • span
  • None of these

Non-Cont. Range Ex.

 

Which of the following is a non-continuous range?

 

  • A1:A16 , A18:A52
  • B1:B16 , B18:B52
  • A1:A16 , A18:A57
  • B1:A16 , C1:C17
  • These are all non-continuous

Non-Cont. Range Key

 

What keyboard key must you hold while selecting a non-continuous range?

 

  • Ctrl
  • Shift
  • Alt
  • Tab
  • None of these

Range

 

A grouping of cells is known as a(n) _________.

 

  • range
  • active cell
  • continuous range
  • non-continuous range
  • None of these

Range Types T/F

 

Ranges can either be continuous or non-continuous.

 

  • True
  • False

$ Constant Value

 

In regards to cell addressing, what does the dollar sign (“$”) represent?

 

  • Constant Value
  • Cost
  • Cell Size
  • The first cell in a row
  • None of these

Named Cell Autofill

 

Which of these would ensure that the same cell is always referenced, even after using the auto-fill feature?

 

  • Referencing a named cell
  • Removing all symbols
  • Referencing by A1
  • This cannot be done

Not a Formatting Feature

 

Which of the following is NOT a formatting feature in Excel?

 

  • Numbers
  • Font
  • Alignment
  • Border
  • Shading

Format Border

 

In Excel, you can add a border to a cell or range via Format Cells.

 

  • True
  • False

Format Cells

 

In Excel, you can format numbers, alignment, and font via Format Cells.  

 

  • True
  • False

Format Vertical Text

 

In Excel, you can change text to display vertically using via Format Cells.

 

  • True
  • False

Percentage and Currency Format T/F

 

It is possible to setup an Excel document so it recognizes percentages and currency.

 

  • True
  • False

“Static” Cell Autofill (2)

 

Which of these would ensure that the same cell is always referenced, even after using the autofill function? Choose all that apply.

 

  • referencing a named cell
  • Adding a “$” to the row and column descriptors for a cell (example: $A$1)
  • referencing by column-row address (example: A1)
  • this cannot be done in Excel
  • by clicking on the desired cell

Autofill Formula Down

 

If I autofill the following formula (=A1*B1) down a spreadsheet starting in C1, what will the formula be in cell C16?

 

  • =A1*B16

  • =A16*B16

  • =A16*B1

  • =C16*D16

Autofill Formula Down2

 

If I autofill the following formula (=A$1*B1) down a spreadsheet starting at C1, what will the formula be in cell C5?

 

  • =A1*B5

  • =A5*B$1

  • =A5*B5

  • =A$1*B5

Autofill Formula Down3

 

If I autofill the following formula (=A1*$B1) down a spreadsheet starting at C1, what will the formula be in cell C10?

 

  • =A10*B10

  • =A10*$B1

  • =A10*$B10

  • =A10*B$10

Autofill Formula Down4

 

If I autofill the following formula (=Tax_2010*B1) down a spreadsheet starting at C1, what will the formula be in cell C124?

 

  • =Tax_2010*B124

  • =Tax_2010*$B124

  • =A124*B124

  • =Tax_2010*B$1

Autofill Function Down5

 

If you entered =$B1+1 into cell A1 and then used the autofill function on cell A1 down several rows, what would be the formula stored in cell A3?

 

  • =$B3+1
  • =$B3+3
  • =$B1+1
  • =E3+1
  • None of these

Autofill Function Down6

 

If you entered =B$1+1 into cell A1 and then used the auto-fill function on cell A1 down several rows, what would be the formula stored in cell A3?

 

  • =B$3+1
  • =B$3+3
  • =B$1+1
  • =E3+1
  • None of these

Autofill Use (4)

 

Autofill can be used to increment the following type of data [choose all that apply]:

 

  • Formulas
  • Functions
  • Growth rates
  • Places
  • Proper names
  • Dates

REPEAT Named Cell Autofill

 

Which of these would ensure that the same cell is always referenced, even after using the autofill function?

 

  • referencing a named cell
  • removing all dollar signs (“$”)
  • referencing by column-row address (example: A1)
  • this cannot be done in Excel
  • by clicking on the desired cell

Autofill Handle

 

The autofill handle is the black box at the bottom of an active cell.

 

  • True
  • False

Autofill Use T/F2

 

Autofill is a tool that provides uniformity through a range and allows you to write one formula instead of an infinite number.

 

  • True
  • False

Equal Sign

 

In Excel, what must always be placed at the beginning of a formula or function?

 

  • =
  • y =
  • A variable
  • f(x):
  • None of these are needed

Formula Input

Write the Excel input for the following: F16 plus F25, divided by 2.

  • =F16 + F25/ 2
  • (F16 + F25)/2
  • =(F16 + F25)/2
  • =F16*2 + F25/2
  • =sum(F16+F25)

Invalid Formula

 

Which of the following is an invalid formula? [Select all that apply]

 

  • None of these are invalid

  • =A2*Tax_rate

  • =SUMIF(A1:A10,”>0″)/COUNTA(A1:A10)

  • =10*AVERAGE(B10:B17)

Named Cell Formula

 

Which of the following contains a named reference?

 

  • =A4*B2

  • =average(D34:D65)

  • =Tax_Income*45

  • =6+7

IF Spending Example

 

I ended up having a few days of vacation for July 4th during my internship. I need to figure out what I can do with my few days off. If I have saved at least $750.00 I can go to Orlando, FL with my friends. If I have saved at least $400.00 I can spend those few days at the beach. If I have saved at least $250.00 I can go home and do some things with my brother and sister. Which of these IF statements will give me the correct result if the amount of money I have saved is stored in cell A1?

 

  • =if(A1>=750, “Go to Orlando”, if(A1>=400, “Go to the Beach”, if(A1>=250, “Go Home”, “You have no money”)))

  • =if(A1>=750,Go to Orlando, if(A1>=400, Go to the Beach, if(A1>=250, Go Home, You have no money)))

  • if(A1>=750, “Go to Orlando”, if(A1>=400, “Go to the Beach”, if(A1>=250, “Go Home”, “You have no money”)))

  • =if(A1>=250,”Go Home”, if(A1>=400,”Go to the Beach”, if(A1>=750,”Go to Orlando”,”You have no money”)))

IF Text Condition

 

I found out about an event going on in Raleigh during my internship. I want to go to, but I need to make sure that at least one of my friends are free as well as myself. Which function would I use in Excel?

excelspending2

 

 

  • =and(b1=”Free”,b2=”Free”,b3=”Free”)

  • =or(b1=”Free”,b2=”Free”,b3=”Free”)

  • =if(b1=”free”,if(or(b2=”Free”,b3=”Free”),”Go to Event”,”Stay Home”),”Stay Home”))

  • =and(b1=”free”,b2=”Free”,b3=”Free”)

Nested IF Definition

When you place one or more IF functions inside of another, it is referred to as _______ ?

  • twins, triplets, etc.
  • combinatorics
  • chaining
  • teamwork
  • nesting

AND

Which Excel function makes it possible to require that all of the conditions are met?

  • combinatorics
  • ALL ( )
  • chaining
  • AND ( )
  • OR ( )

AND Concert Example

 

I found out about a concert in Raleigh that is going on while I am working. I want to go to the concert, but I need to make sure that both my friend and I are free for that night. Which function would I use in Excel?

excelspending1

 

 

  • =and(b1=”Free”, b2=”Free”)

  • =or(b1=”Free”, b2=”Free”)

  • =if(b1=”Free”,”Go to Concert”,”Can’t Go”)

  • =and(b1=”free”,b2=”Free”)

AND Example

 

Which would you use to see if a restaurant served brunch on Saturdays, in Excel?

 

  • =AND(B10=”Brunch”, C10=”Saturday”)
  • =OR(B10=”Brunch”, C10=”Saturday”)
  • =MAYBE(B10=”Brunch”, C10=”Saturday”)
  • Google

AND2

 

Which of the following are used if you have two conditions that must both be true?

 

  • nested if
  • simple if
  • and
  • or
  • maybe

IF and AND

 

If there are two or more conditions, and all need to be true, which of the following would work?

 

  • =if(Condition1, Condition2)
  • =if(OR(Condition1, Condition2), True, False)
  • =if(AND(Condition1, Condition2), True, False)
  • =if(AND(Condition1) True, False)

IF and OR

 

If there are two conditions and only one needs to be true, which of the following would work?

 

  • =if(Condition1, Condition2)
  • =if(OR(Condition1, Condition2), True, False)
  • =if(AND(Condition1, Condition2), True, False)
  • =if(OR(Condition1) True, False)

OR

Which function makes it possible to require that some of the conditions are met?

  • combinatorics
  • ALL ( )
  • chaining
  • AND ( )
  • OR ( )

OR Example

Which would you use to see if a restaurant had a discount on Mondays or Tuesdays, in Excel?

  • =AND(B10=”Monday”, C10=”Tuesday”)
  • =OR(B10=”Monday”, C10=”Tuesday”)
  • =MAYBE(B10=”Monday”, C10=”Tuesday”)
  • Google

OR2

Which of the following are used if you have two conditions and only one must be true?

  • nested if
  • simple if
  • and
  • or

CountIF

 

You want to count the number of gold medals won in a list of medals. Assume your medals are listed in column A from A2 to A100.  Which function would do this?

 

  • =sumif(condition, A2:A100, sumrange)
  • =countif(A2:A100, “Gold”)
  • =if(cell=”Gold”,True,False)
  • =countif(range=”Gold”,True,False)

CountIF Example

Which of the following is valid usage of the COUNTIF( ) function?

  • =COUNTIF(E10:E29 > 10)
  • =COUNTIF(E10:E29 >= 10)
  • =COUNTIF(E10:E29, >10)
  • =COUNTIF(E10:E29,”>10”)
  • None are correct

CountIF Syntax

What is the correct syntax for a countif statement?

  • =countif(condition, range)
  • =countif(range, condition)
  • =if(count(condition),True,False)
  • =if(count(range=condition),True,False)
  • =countif(range=condition,True,False)

CountIF2

 

In your spreadsheet, you want to count the number of times a particular city appears in a customer list. Which is the correct syntax for doing so?

 

  • =SUMIF(condition, range, sumrange)
  • =COUNTIF(A2:A5,”London”)
  • =IF(C2=”London”,1,2)
  • =SUMIF(B2:B25,”>5″)

SumIF

 

You want to determine the total amount of money given out by award type.  Which function would do this?

 

  • =sumif(range, condition, sum_range)
  • =countif(range, condition)
  • =if(cell=”Award Type”,True,False)
  • =sumif(range=”Award Type”,True,False)

SumIF Example

Which of the following is a valid usage of the SUMIF( ) function?

  • =SUMIF(G10:G29, =Monday,D10:D29)
  • =SUMIF(G10:G29, =”Monday”,D10:D29)
  • =SUMIF(G10:G29, “=Monday”,D10:D29)
  • =SUMIF(G10:G29, “Monday”,D10:D29)
  • None are correct

SumIF Syntax

What is the correct syntax for a sumif statement?

  • =sumif(condition, range, sumrange)
  • =sumif(range, condition, sumrange)
  • =if(sum(condition),True,False)
  • =if(sum(range=condition),True,False)
  • =sumif(range=condition,sumrange)

SumIF2

You want to determine the total amount of money spent on red items. Which function would do this?

  • =sumif(condition, range, sumrange)
  • =countif(range, condition)
  • =sumif(range, condition, sumrange)
  • =countif(range=”Red”,True,False)

1 Kb in Bytes

 

Using the software amount (that computers use), how many bytes are in a Kilobyte?

 

  • 1000
  • 1024
  • 1000^2
  • 1,048,576

1 MB in Bits (Equation)

 

Using the software amount (that computers use), how many bits are in a Megabyte?

 

  • 2000
  • 1024^2
  • (1024^2) * 8
  • 2000 * 8
  • 3000

1 MB in Bytes

 

Using the software amount (that computers use), how many bytes are in a Megabyte?

 

  • 1000
  • 1024^2
  • 1000^2
  • 1024

Bit Examples (2)

 

Which of the following can be considered to be a number in binary? Please choose all that apply.

 

  • 1000110
  • 11
  • FFFFFF
  • 301
  • DECAF

Bits in a Byte

 

How many bits make up a byte?

 

  • 2
  • 4
  • 6
  • 8
  • 1024

Base 2

 

Binary is a base 2 numbering system

 

  • True
  • False

Converting binary

 

Binary can be converted to any other numbering system (such as decimal or hexadecimal), with some amount of effort

 

  • True
  • False

Number of bits

 

A number N represented in binary requires log2(N) bits whereas the same number in decimal requires log10(N) digits.

 

  • True
  • False

mv File Rename

 

Within your home directory, there is a file named first.txt. How would you rename this file to second.txt? You are located in your home directory.

 

  • rm first.txt second.txt
  • mv first.txt second.txt
  • mv second.txt first.txt
  • rename first.txt second.txt
  • None of these

mv File Rename2

 

Which command would rename the file cows.txt to cheezburger.txt?

 

  • rename cows.txt
  • rn cows.txt cheezburger.txt
  • rm cows.txt
  • mv cows.txt cheezburger.txt
  • I can haz cheezburger!

mv File Syntax

 

You are currently located in the E 115 course locker and inside this directory there is a file called play.txt. How would you move this file to your home directory?

 

  • mv play.txt ~/
  • move play.txt ~/
  • mv ~/ play.txt
  • I cannot move that file
  • None of these

mv File Syntax – General

 

The proper syntax for the mv command is ______

 

  • mv oldfile.txt
  • mv newfile.txt
  • mv oldfile.txt newfile.txt
  • mv

mv Function

 

The mv command can be used to _____

 

  • rename a file
  • create a file
  • open a file
  • None of These

mv Syntax2

 

Does this syntax work for moving a file, assuming file.txt is in your current working directory? 

mv file.txt ~/MyE115

 

  • Yes
  • No

2-FA

 

NC State students must be enrolled in 2 factor authentication to secure their accounts.

 

  • True
  • False

Duo 2-FA Prompt

 

NC State uses Duo for 2 factor authentication with Shibboleth. Once you log in on Shibboleth, you could be prompted to use a text message code to finalize the log in.

 

  • True
  • False

Password Reset

 

If you forget your password, you can simply reset it via an online system.

 

  • True
  • False

Security Terms 1 (5)

 

Match the following security terms with their definition.

 

    • When malware takes advantage of security flaws in your programs to download to your computer without your permission.

Drive-by download Botnet Worm Zero-day exploit Backdoor
    • A serious security flaw for which no fix exists. Hackers can find and use it before the developer can release a patch, because there is no fix

Drive-by download Botnet Worm Zero-day exploit Backdoor
    • A secret entrance to your computer that lets someone bypass your security. These usually come from program flaws or are intentionally built in by the developer.

Drive-by download Botnet Worm Zero-day exploit Backdoor
    • An advanced type of virus that replicates and spreads with little or no action on your part.

Drive-by download Botnet Worm Zero-day exploit Backdoor
    • A collection of computers that has been infected with a specialized virus, usually a worm. The worm can control any infected computers, which are then sometimes referred to as “zombies”.

Drive-by download Botnet Worm Zero-day exploit Backdoor

Security Terms 2 (5)

 

Match the following security terms with their definition.

 

    • Looks like something trustworthy, but when you download it to your computer, it turns out to be malware. This can be done by hiding or misrepresenting a file extension.

Keyloggers Spyware Trojan Rootkit Ransomware
    • When one of these gets into your computer, a hacker can do almost anything to your machine. It can also be extremely difficult to detect and remove.

Keyloggers Spyware Trojan Rootkit Ransomware
    • Sometimes also referred to as “Scareware”, this type of malware spooks you into parting with actual money, and can take many forms. A common form is a fake anti-virus program that claims you have many viruses and must pay for the full version to get rid of them.

Keyloggers Spyware Trojan Rootkit Ransomware
    • Focused specifically on gathering information about you. Think: data mining.

Keyloggers Spyware Trojan Rootkit Ransomware
    • A program that copies everything you type and saves it to a file or sends the data to the owner. Technically considered an advanced form of spyware. Normal security software might not be able to shut them down, but they are usually operated by someone in the household or legally by employers.

Keyloggers Spyware Trojan Rootkit Ransomware

2FA

 

What is two factor authentication?

 

  • using two passwords

  • Using two different types of authentication factors

  • Using a username and a password

  • Using biometrics

3 types of authentication factors

 

What are the three types of authentication factors?

 

  • knowledge, possession, inherence

  • username, password, biometrics

  • encryption, decryption, hashing

  • username, password, one-time password

Keyloggers

 

Why does encrypting data between a client machine and server not protect against keyloggers?

 

  •  Because keyloggers can decrypt data

  • Because keyloggers intercept keyboard input before encryption

  • Because keyloggers are immune to encryption protocols

  • Because keyloggers alter data packets in transit

Keylogging

 

What attack method involves intercepting keyboard input?

 

  • phishing

  • keylogging

  • spoofing

  • tampering

keylogging is

 

What is keylogging?

 

  • Capturing keystrokes to steal credentials

  • Trying all possible passwords

  •  Intercepting SMS messages

  • Phishing for credentials

Phishing

Falsely claiming to be a legitimate company over the internet in order to scam the consumer is an unethical practice known as:

  • Phishing
  • Hooking
  • Hunting
  • Trashing
  • Pharming
  • None of these

Phishing defense

 

Which of the following would help you defend against phishing?

 

  • using short passwords

  • checking the URL of a website

  • sharing passwords

  • using the same password for all accounts

Phishing for Passwords

 

Suppose you get the following email (screenshot below) that asks you to follow a link to change your password. What security threat is this an example of?

Password has expired but from an unknown email address

 

 

  • adware

  • rootkit

  • phishing

  • botnet

Threat of phishing

 

Which threat involves tricking users into giving away their credentials?

 

  • phishing

  • keylogging

  • tampering

Two Factor

 

Which services do NCSU recommend for Two-Factor Authentication for user accounts? [Choose all that apply]

 

  • Duo

  • Google 2-Step

  • Duality

  • Another not listed

NCSU Antivirus

 

NCSU provides free antivirus software to students.

 

  • True
  • False

NCSU Antivirus Req

 

If you are connected to the NCSU network, you are required to have antivirus software running on your computer.

 

  • True
  • False

NCSU Antivirus Req2

 

As an NCSU student, having antivirus software is optional.

 

  • True
  • False

OS Updates

 

It is important that Operating Systems are updated regularly.

 

  • True
  • False

OS Virus

 

All operating systems are vulnerable to a virus attack.

 

  • True
  • False

Abs Pathname – Course Locker

What is the absolute path to the E 115 course locker? (Hint: spelling and case matter)

  • Answer____________________________

Abs Pathname – Home Dir

 

If a student’s Unity ID is jshmoe, what would be the absolute path to his home directory?

 

  • Answer____________________________

SSH

 

NCSU’s Network File System (NFS) is a remote system that you can access (via Terminal or PuTTY) using what protocol? Hint: this protocol has the ability to “tunnel” information and applications through a host.

 

  • Answer____________________________

Reminder about Essays

 

Please note… all “essay” questions must be answered in your own words. Copying and pasting from the E 115 Online Textbook, any posted slides, or any other material that is not from your own brain will result in a 0 on the question and will be sent in as an Academic Integrity violation.

 

Accessing NCSU’s Network File System (NFS)

 

NCSU’s Network File System (NFS) is a remote system that can be accessed using tools like SSH, PuTTY, or similar applications. Describe the process of accessing the NFS using SSH or PuTTY. Discuss the steps involved and any considerations for securely accessing the NFS.

 

Basic UNIX GL

 

Please submit the log file you completed during your Basic UNIX Guided Lab here.

 

Enhancing Security with Duo Authentication

 

Discuss using Duo Authentication as a form of two-factor authentication and explain: how does two-factor authentication contribute to strengthening account security?

 

Black Hex Code

 

In my XHTML code I want to have black text. So I write:

<p style=”color: ___________ “> …

 

  • Answer____________________________

Blue Hex Code

 

In my HTML code I want to have blue text. So I write:

<p style=”color: ___________ “>

 

  • Answer____________________________

Green Hex Code

 

In my HTML code I want to have green text. So I write:

<p style=”color: ___________ “> …

 

  • Answer____________________________

Red Hex Code

 

In my XHTML code I want to have red text. So I write:

<p style=”color: ___________ “> …

 

  • Answer____________________________

White Hex Code

 

In my XHTML code I want to have white text. So I write:

<p style=”color: ___________ “> …

 

  • Answer____________________________

man cp

 

What would you enter into terminal if you want to learn more about the command that copies files and directories?

 

  • Answer____________________________

man ls

 

What would you enter into terminal if you wanted to know more about the ls command?

 

  • Answer____________________________

man mv

 

What would you enter into terminal if you wanted to learn more about the command that moves files and directories?

 

  • Answer____________________________

man pwd

 

What would you enter in terminal if you wanted to learn more about the pwd command?

 

  • Answer____________________________

man script

 

What would you enter into terminal if you wanted to know more about the script command?

 

  • Answer____________________________

pwd

 

What would you enter into terminal if you wanted to know what directory you were located in?

 

  • Answer____________________________

pwd output

 

What would be the output of the pwd command if you were located in the directory in red?

 

  • Answer____________________________

pwd output 2

 

What would be the output of the pwd command if you were located in the directory in red?

 

  • Answer____________________________

pwd output 3

 

What would be the output of the pwd command if you were located in the directory in red?

 

  • Answer____________________________

cd example 1

 

What would you enter into terminal if you wanted to go to the red directory (you can assume you are currently in the green directory)? You can use either relative or absolute file paths.

 

 

  • Answer____________________________

cd example 2

 

What would you enter into terminal if you wanted to go to the red directory (you can assume you are currently in the green directory)?

 

 

  • Answer____________________________

cd example 3

 

What would you enter into terminal if you wanted to go to the red directory (you can assume you are currently in the green directory)?

 

 

  • Answer____________________________

ls example 1

 

Based off the file tree pictured below, what would you enter into terminal to get the following output using the ls command, no matter where you are in the file tree?:

cake.docx
pie.docx

 

 

  • Answer____________________________

ls example 2

 

Based off the file tree pictured below, what would you enter into terminal to get the following output using the ls command, no matter where you are in the file tree?:

AutoDesk
Microsoft Office

 

 

  • Answer____________________________

ls example with option

 

Based off the file tree pictured below, what would you enter into terminal to get the following output using the ls command, no matter where you are in the file tree?:

drwxr-xr-x  2 unityID ncsu      2048 Apr 25  2015 Paychecks

drwxr-xr-x  2 unityID ncsu      2048 Nov  4  2015 School

 

 

 

  • Answer____________________________

ls number of outputs 1

 

How many file/directory names will be displayed when you run the ls command? You are currently in the green directory.

 

 

  • Answer____________________________

ls number of outputs 2

 

How many file/directory names will be displayed when you run the ls command? You are currently in the green directory.

 

 

  • Answer____________________________

mkdir example 1

 

What would you enter into terminal to create a folder called Bills in the Important directory? The command should work no matter where you are in the file tree.

 

 

  • Answer____________________________

mkdir example 2

 

What would you enter into terminal to create a folder called Pictures in the Documents directory? The command should work no matter where you are in the file tree.

 

 

  • Answer____________________________

mkdir example 3

 

What would you enter into terminal to create a folder called Test_files in the AutoDesk directory? The command should work no matter where you are in the file tree.

 

 

  • Answer____________________________

cp example 1

 

What would you enter into terminal if you wanted to copy cat.jpg into the Important directory?  You should be able to execute this command from anywhere in the file tree.

 

 

  • Answer____________________________

cp example 2

 

What would you enter into terminal if you wanted to copy pie.docx into the Microsoft_Office directory and rename it pie_recipe.docx?  You should be able to execute this command from anywhere in the file tree.

 

 

  • Answer____________________________

cp example 3

 

What would you enter into terminal if you wanted to copy the directory Recipes into the Important directory?  You should be able to execute this command from anywhere in the file tree.

 

 

  • Answer____________________________

mv example 1

 

What would you enter into terminal if you want to move the cake.docx file into the Documents directory? You can assume you are already in the “Recipes” directory.

 

 

  • Answer____________________________

mv example 2

 

What would you enter into terminal if you want to move the Recipes directory into the Documents directory? You should be able to execute this command from anywhere in the file tree.

 

 

  • Answer____________________________

rm example 1

 

What would you enter into terminal if you wanted to remove the cat.jpg file?  You should be able to execute this command from anywhere in the file tree.

 

 

  • Answer____________________________

rm example 2

 

What would you enter into terminal if you wanted to remove the Recipes directory?  You should be able to execute this command from anywhere in the file tree.

 

 

  • Answer____________________________

script example 2

 

What would you type into terminal to continue recording on a log file named e115log.txt, after you previously exited it? Make sure to follow the E 115 guidelines for recording to a log file.

 

  • Answer____________________________

Match Shells to Operating Systems

Write the letter (A or B) next to each shell below.

_____ CMD
_____ PowerShell
_____ ZSH
_____ BASH

A. Windows

B. MacOS and Linux

Match Web Technologies

Match the descriptions to the appropriate web technologies. Write the letter (A, B, or C) next to each description.

_____ Used to structure content on a webpage.
_____ Used to style content on a webpage.
_____ Used to add interactivity to a webpage.

A. HTML

B. CSS

C. JavaScript

Wireless Std Frequencies (4)

Match the wireless standard with its frequency. Write the letter (A or B) next to each standard.

_____ 802.11a
_____ 802.11b
_____ 802.11g
_____ 802.11n

A. 2.4 GHz

B. 5 GHz

Cables Max Length

What is the correct order of these cables from longest maximum length (length possible before signal loss is experience) to shortest?

  • CAT5 (Twisted Pair Cable), Fiber Optic Cable, Coaxial Cable
  • CAT5 (Twisted Pair Cable), Coaxial Cable, Fiber Optic Cable
  • Fiber Optic Cable, Coaxial Cable, CAT5(Twisted Pair Cable)
  • Fiber Optic Cable, CAT5(Twisted Pair Cable), Coaxial Cable

Center Align Example

Which of the following should you use to begin a paragraph with its text center-aligned?

  • <center><p>
  • <p align=”center”>
  • <p align=”middle”>
  • <p “center”>
  • <p style=”text-align: center”>

Class Selector

 

Which of the following lets us identify a group of tags with a selector?

 

  • ID
  • Category
  • Group
  • Class
  • Identify

Counta

I want to count only the cells within a range that store a mixture of character and numerical data. Which single function would be the best for me to use?

  • count
  • counta
  • countif
  • sumif

cp File Syntax3

 

Which command would copy the file cows.txt from the common/assignments/basicunix directory of the E115 course locker and put it in your home directory? (Assume you are already in the E115 course locker)

 

  • cp cows.txt ~/
  • cp common/assignments/basicunix ~/
  • cp common/assignments/basicunix/cows.txt ~/
  • mv common/assignments/basicunix/cows.txt ~/
  • I cannot copy that file

DHCP Addressing

 

Which of the following automates the assignment of IP addresses, subnet masks, gateways, and other IP parameters?

 

  • RDP
  • VCL
  • DNS
  • DHCP
  • IP

Firewall Definition

 

Which piece of hardware (or software) is designed to prevent intruders and software alike from entering a computer?

 

  • Hub
  • Firewall
  • Router
  • Switch
  • None of these

Formatting Tags

 

Which of the following uses formatting tags to make a few words in the middle of a specific sentence italic, bold and/or underlined?

 

  • <strong><em><ins>
  • <p style=”text-decoration: underline; font-weight:bold; font-style:italic;”>
  • <p style=”text:strong,em,ins”>
  • <font bold, italic, underline>
  • Highlight the word and ctrl + b + u + i
  • <b><i><u>

GUI Input (2)

 

Consider a computer that only has a Graphical user interface.  How would this computer receive input? Choose all that apply.

 

  • Mouse click
  • Keyboard
  • Command line

Hex Primary Colors (3)

 

In an additive color system (the type used by hex color codes), what are the three primary colors? Choose all that apply.

 

  • Red
  • Green
  • Yellow
  • Blue
  • Orange
  • Purple
  • White
  • Black

ins

 

Inserted text tags are used to ____

 

  • bold an element
  • underline an element
  • emphasize an element
  • strike through an element

IPv6 Bits

How many bits are in an IPv6 address?

  • 32
  • 64
  • 128
  • 256

LAN Definition

What does LAN stand for?

  • Local Area Network
  • Local Area Navigation
  • Local Average Network
  • Local Average Navigation
  • None of these

Link Types (3)

 

Select the three types of links. Choose all that apply.

 

  • text
  • picture
  • email
  • table
  • movie

ls Syntax

 

Which of the following is NOT a valid example of the List Directory (ls) command?

 

  • ls -a
  • ls
  • ls ./pathway/to/directory
  • ls – ~/

Multi-Computer Network

 

Which of the following are needed for a network with more than one computer?

 

  • Router
  • Wireless Access Point
  • Network-based firewall
  • Ethernet switch
  • None of these

NAT Definition

What does NAT stand for?

  • Natural Address Translator
  • Network Address Translation
  • Neural Allocator for Transmutation
  • Network Addressor Tidbit
  • Does not stand for anything

Parent and Child

 

The users directory in the NFS file tree is considered a…

 

  • Root
  • Parent
  • Child
  • Root and Parent
  • Parent and Child

PS/2

 

Before the popularity of USB which port, developed by IBM, was used to connect keyboards and mice?

 

  • Parallel
  • PS/2
  • Serial
  • VGA
  • None of these

Rel Pathname – Home Dir

 

What is the pathname for your home directory?

 

  • ./
  • ../
  • ~/
  • /
  • None of these

Rel Pathname – Home Dir3

 

What does ~/ stand for?

 

  • Home directory
  • Your friend’s home directory
  • Parent directory
  • Your mom’s directory
  • Current working directory

Scheduling

What term is used to identify the process in which certain programs have priority for the processor, in other words, sets up a queue?

  • Multi-tasking
  • Shell
  • Control bus
  • Scheduling
  • None of these

Security Threat

 

What poses the greatest threat to a computer?

 

  • virus
  • spyware
  • your mother
  • adware

Serial

 

This port was as universal in the 1980’s as the USB port is today.

 

  • Serial
  • PS/2
  • USB
  • Parallel

Shareware2

If you were to buy a new laptop and you received a trial version of Microsoft Office, what kind of license would that be?

  • Freeware
  • Shareware
  • Network
  • Alpha
  • Buyware

Styling Example

 

Select the appropriate XHTML coding for this: 5210*43

 

  • 52<sub>10</sub>*4<sup>3</sup>
  • 52<sup>10</sup>*4<sub>3</sub>
  • <sup>52</sup>10*<sub>4</sub>3
  • None of These

Sum Syntax

 

Which of the following is the correct syntax, using a function, for determining how much a given range adds up to?

 

  • =count(A9:A29)
  • =E10+E11+E12+E13+E14+E15+E16+E17+E18+E19…+E29
  • =sum(E10:E29)
  • sum(E10:E29)
  • None of these

Switch Control

 

Which of the following devices has more control over which computers receive which data?

 

  • Switch
  • Hub
  • Node
  • Mouse
  • CPU

VGA2

 

Which port was used exclusively for video with older monitors?

 

  • Modem
  • Ethernet
  • VGA
  • DVI
  • HDMI

Win 10 + Putty Interface

 

Microsoft Windows 10, running Putty, provides what kind of interaction with the user?

 

  • GUI-based
  • Command Line-based
  • Hybrid (GUI + CLI)
  • None of these
  • CLI

IF Output3

 

What would be the result of this IF statement?

excelifresult3

 

 

  • Answer____________________________

Mini-Display Port

 

Based on the following image, which port is this?

This port is used by Apple computers to accomplish a wide range of data transmissions including video signals, audio signals, and high speed data transfer. It is similar to the Thunderbolt.

 

 

  • Answer____________________________

Exe Safety

You should always open a .exe file because it contains safe information for your computer.

  • True
  • False

Leaf 2

 

A leaf node has a parent.

 

  • True
  • False

Nested IF T/F2

The following equation is a valid example of nested IF functions. =IF(C10=“breakfast”, breakfastPrice, C10=“lunch”, lunchPrice, C10=“dinner”, dinnerPrice)

Note: “breakfastPrice”, “lunchPrice”, and “dinnerPrice” are names of cells that contain numerical data

  • True
  • False

Protection Req

 

To protect your computer, you need updated Antivirus software and OS updates turned on.

 

  • True
  • False

RAM vs ROM T/F

 

RAM is writable memory that is considered to be volatile (loses data upon power loss) while ROM is not writable, non-volatile memory that generally contains the BIOS.

 

  • True
  • False

GitHub vs FTP

 

Which of the following correctly compares NCSU GitHub Enterprise with file transfer systems like FileZilla?

 

  • NCSU GitHub Enterprise is designed for version control and collaboration, while FileZilla focuses on file transfers between a local system and a remote server.

  • FileZilla offers version control features, but NCSU GitHub Enterprise does not.

  • Both systems are equally suitable for managing large collaborative coding projects.

  • NCSU GitHub Enterprise is limited to those with NCSU UnityIDs, while FileZilla can connect to any server with appropriate credentials.

  • FileZilla encrypts all transferred files by default, whereas GitHub Enterprise does not.

Version Control

 

You don’t want to save multiple nearly-identical versions of the same document. How can GitHub help you with keeping your version history?

Piled Higher and Deeper by Jorge Cham, http://www.phdcomics.com

 

 

  • version control

  • file extensions

  • commit

  • cloning a repository

57 Convert 

 

Write 57 as a sum of powers of 2 .

____________________ 

 

67 Convert 

 

Write 67 as a sum of powers of 2.

____________________ 

 

75 Convert 

 

Write 75 as a sum of powers of 2.

____________________________

 

83 Convert

 

Write 83 as a sum of powers of 2.

__________________