E115 Midterm Review

0.0(0)
studied byStudied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/85

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 8:54 PM on 2/4/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

86 Terms

1
New cards

In regards to Unity IDs at NC State, match whether the concept is a Rule or an Exception:

Short last names

First name initial

Common last names

Middle name initial

No middle name

First six letters of last name

- Exception

- Rule

- Exception

- Rule

- Exception

- Rule

2
New cards

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

True

False

True

3
New cards

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

True

False

True

4
New cards

Software you must purchase before using

Buyware

5
New cards

Software distributed for a multitude of users

Network

6
New cards

Software distributed free of charge

Freeware

7
New cards

Software distributed with a limited license

Shareware

8
New cards

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

Keyboard and mouse click

9
New cards

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

CLI, TUI, GUI

10
New cards

A Unity ID must always have a number.

True

False

False

11
New cards

A Unity ID can never have a number.

True

False

False

12
New cards

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

a.None of these

b.A middle initial

c.All of these

d.The first six letters of their last name

e.A first initial

c. All of these

13
New cards

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

True

False

True

14
New cards

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

15
New cards

Which is a type of software license?

a.Buyware

b.All of these

c.Network License

d.Shareware

e.Freeware

b. all of these

16
New cards

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

a.Network

b.Buyware

c.Shareware

d.None of these

e.Freeware

e. Freeware

17
New cards

What is keylogging?

Capturing keystrokes to steal credentials

18
New cards

As an NCSU student, having antivirus software is optional.

True

False

False

19
New cards

Which of the following would help you defend against phishing?

a.

using the same password for all accounts

b.

sharing passwords

c.

using short passwords

d.

checking the URL of a website

d. checking the URL of a website

20
New cards

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?

Professor

21
New cards

According to the E 115 textbook, what are methods to backup files?

NFS space, CD's, Internet Storage, External Hard Drive

22
New cards

According to the E 115 textbook, what should you backup?

Legal Music, School Assignments, Pictures,E-mail

23
New cards

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

True

False

True

24
New cards

common Operating System for "general-purpose" computers such as desktops and laptops

Linux

Mac OS X

Windows

25
New cards

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

True

26
New cards

The Kernel is responsible for handling interfaces, the file system, process management, scheduling, and memory management.

True

False

True

27
New cards

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

Applications, Kernel, Drivers, Hardware

28
New cards

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

Scheduling

29
New cards

What does API stand for?

Application Programming Interface

30
New cards

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

31
New cards

The abstraction that the kernel provides for application developers is called the _________?

System call API

32
New cards

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

Command Line

33
New cards

Android is a type of Operating System.

True

False

True

34
New cards

What does GUI stand for?

Graphical User Interface

35
New cards

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

Hybrid

36
New cards

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

MS-DOS

37
New cards

What is the software that allows the operating system to communicate with hardware devices like printers, graphics cards, and network adapters?

Device driver

38
New cards

A printer device driver allows a word processing application to send a print job to a printer. The device driver is a piece of hardware that sits in between the printer and the word processing application.

True

False

False

39
New cards

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

The root

40
New cards

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

True

False

True

41
New cards

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

a. mv E115

b. cd e115

c. None of these

d.

mv /mnt/coe/workspace/csc/admin/e115

e. cd/mnt/coe/workspace/csc/admin/e115

e

42
New cards

The ls command (with -a option) provides output.

True

False

True

43
New cards

The proper syntax for the mkdir command is _____

mkdir directory

44
New cards

The copy command provides output.

True

False

False

45
New cards

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?

I cannot move that file. You cannot move any files from the E 115 course locker

46
New cards

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

script -options filename.extension

47
New cards

PWD Command

pwd stands for Print Working Directory. This command lets you see at which directory you're currently in. It outputs the absolute pathname of the current directory.

- Type pwd in the terminal and it outputs the absolute pathname to your home directory.

48
New cards

LS Command

This command is used to list all the contents of a directory. If you only type ls in the command line and press enter, you will see the contents of the directory that you're currently in. You can also type ls [pathname] to see the contents of a specific directory.

- If you type ls ~ and press enter, this gives us all the contents of our home directory. If your home directory looks barren, don't worry as you may not have worked in it before.

49
New cards

MKDIR Command

This command allows you to create a directory based on the name and pathname you specified. For this course, you are required to create a MyE115 folder in your home directory. To do this, type:

mkdir MyE115

You can use the ls command to check if the directory was created.

50
New cards

CD Command

cd stands for change directory. This command allows you to move around within NCSU drive into different directories. To move into the newly created MyE115 directory, type:

cd MyE115

It will not give any output, but you can use the pwd command to check your current directory.

51
New cards

CP Command

The copy command allows you to copy items from a specified location to another specified location. The -r option allows you to copy a directory. For this assignment, we will be copying one file. To copy the downloads directory to the MyE115 directory and rename it, type:

cp -r downloads MyE115/copyOfDownloads

You can use the ls command to check if the copying was successful.

52
New cards

MV Command

The move command is similar to the copy command but it deletes the items specified in the source. To rename the copyOfDownloads directory, type:

mv MyE115/copyOfDownloads MyE115/downloadsCopy

You can use the ls command to check if the renaming was successful.

53
New cards

RM Command

his command allows you to remove files or directories. The -r option allows you to remove directories and -f removes items without confirmation. To remove the downloadsCopy directory, type:

rm -rf MyE115/downloadsCopy

You can use the ls command to check if the removal was successful.

54
New cards

MAN Command

If you want to know more about a command, like rm, you need to use man.

Type man rm to learn more about

55
New cards

What is inside the root?

directories

56
New cards

/

root directory

57
New cards

~

home directory

58
New cards

.

current working directory

59
New cards

..

Parent of current working directory

60
New cards

options for ls

-1 = long listing, shows all files including hidden ones

-lrt = above, but sorted by time

-a = shows files in long format

* expect output (contents of directory)

61
New cards

What command makes a new directory?

mkdir

62
New cards

options for rm

rm(deletes file with that name) or rm -f (removes everything in temporary directory)

63
New cards

Options for script?

-a (appends a log file)

-f (flushed, writes to the file in real time and always use this)

* expect an output

64
New cards

Is there an output for man command?

yes

65
New cards

Is there an output for pwd?

yes (absolute pathname)

Used for determining the users location in file tree

66
New cards

~/

home directory

67
New cards

ls -a ~/

ls -l ~/

ls -al ~/

- all files in home directory

- info on files in home directory

- all files in home directory with details

68
New cards

mkdir ~/MyE115

creates directory named MyE115 in my home directory

69
New cards

*

wildcard, matches anything

for 0 or more repetitions

Ex: grep "colou*r" color.txt

70
New cards

?

wildcard, matches any one character

71
New cards

!

history substitution, do not use

72
New cards

&

run a job in the background, or redirect errors

73
New cards

grep

global regular expression print

- text editor search command

74
New cards

Adding up selected values in excel

=SUM(range)

75
New cards

Finds average of selected values

=AVERAGE(range)

76
New cards

Smallest value in range

=MIN(range)

77
New cards

Largest value in range

=MAX(range)

78
New cards

Number of cells in a range (only with numerical data)

COUNT(range)

79
New cards

Number of cells in a range (with names of a country lets say)

COUNTA(range)

80
New cards

Syntax for if statement

=IF(condition, "value if true", "value if false")

* Condition can be =,>,<,>=,<=.

81
New cards

Nested IF statement

=IF(condition 1, "value if C1 is true",IF(condition 2, "value if C2 is true","if nothing is true))

82
New cards

Count IF statement

=COUNTIF(range, condition)

83
New cards

Sum If statement

=SUMIF(A1:A150, ">18",G1:G150)

84
New cards

And statement

=AND(A1="Thursday",B1="rainy")

85
New cards

Or statement

=OR(A1="H",B1="sunny")

86
New cards

To gray out every other row in a data table:

mod(row(),2)=1