1/85
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
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
NC State students must be enrolled in 2 factor authentication to secure their accounts.
True
False
True
If you forget your password, you can simply reset it via an online system.
True
False
True
Software you must purchase before using
Buyware
Software distributed for a multitude of users
Network
Software distributed free of charge
Freeware
Software distributed with a limited license
Shareware
Consider a computer that only has a Graphical user interface. How would this computer receive input?
Keyboard and mouse click
What is the correct order of the following user interfaces from the earliest to the most current?
CLI, TUI, GUI
A Unity ID must always have a number.
True
False
False
A Unity ID can never have a number.
True
False
False
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
Your Unity ID is also the first part of your NCSU email address.
True
False
True
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
Which is a type of software license?
a.Buyware
b.All of these
c.Network License
d.Shareware
e.Freeware
b. all of these
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
What is keylogging?
Capturing keystrokes to steal credentials
As an NCSU student, having antivirus software is optional.
True
False
False
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
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
According to the E 115 textbook, what are methods to backup files?
NFS space, CD's, Internet Storage, External Hard Drive
According to the E 115 textbook, what should you backup?
Legal Music, School Assignments, Pictures,E-mail
An Operating System manages hardware resources, provides a user interface, and allows the execution of application software.
True
False
True
common Operating System for "general-purpose" computers such as desktops and laptops
Linux
Mac OS X
Windows
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
The Kernel is responsible for handling interfaces, the file system, process management, scheduling, and memory management.
True
False
True
What is the correct order of the layers of software from closest to the user to closest to the hardware?
Applications, Kernel, Drivers, Hardware
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
What does API stand for?
Application Programming Interface
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
The abstraction that the kernel provides for application developers is called the _________?
System call API
NIX (Linux and Unix) operating systems historically have what type of interaction with the user?
Command Line
Android is a type of Operating System.
True
False
True
What does GUI stand for?
Graphical User Interface
Microsoft Windows 10 provides what kind of interaction with the user?
Hybrid
Which is an example of an operating system with only command line interface?
MS-DOS
What is the software that allows the operating system to communicate with hardware devices like printers, graphics cards, and network adapters?
Device driver
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
An absolute path in the NFS file tree always starts from....
The root
Relative pathnames describe how to navigate from your current location to a new location.
True
False
True
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
The ls command (with -a option) provides output.
True
False
True
The proper syntax for the mkdir command is _____
mkdir directory
The copy command provides output.
True
False
False
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
The proper (full) syntax for the script command is _____
script -options filename.extension
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.
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.
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.
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.
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.
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.
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.
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
What is inside the root?
directories
/
root directory
~
home directory
.
current working directory
..
Parent of current working directory
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)
What command makes a new directory?
mkdir
options for rm
rm(deletes file with that name) or rm -f (removes everything in temporary directory)
Options for script?
-a (appends a log file)
-f (flushed, writes to the file in real time and always use this)
* expect an output
Is there an output for man command?
yes
Is there an output for pwd?
yes (absolute pathname)
Used for determining the users location in file tree
~/
home directory
ls -a ~/
ls -l ~/
ls -al ~/
- all files in home directory
- info on files in home directory
- all files in home directory with details
mkdir ~/MyE115
creates directory named MyE115 in my home directory
*
wildcard, matches anything
for 0 or more repetitions
Ex: grep "colou*r" color.txt
?
wildcard, matches any one character
!
history substitution, do not use
&
run a job in the background, or redirect errors
grep
global regular expression print
- text editor search command
Adding up selected values in excel
=SUM(range)
Finds average of selected values
=AVERAGE(range)
Smallest value in range
=MIN(range)
Largest value in range
=MAX(range)
Number of cells in a range (only with numerical data)
COUNT(range)
Number of cells in a range (with names of a country lets say)
COUNTA(range)
Syntax for if statement
=IF(condition, "value if true", "value if false")
* Condition can be =,>,<,>=,<=.
Nested IF statement
=IF(condition 1, "value if C1 is true",IF(condition 2, "value if C2 is true","if nothing is true))
Count IF statement
=COUNTIF(range, condition)
Sum If statement
=SUMIF(A1:A150, ">18",G1:G150)
And statement
=AND(A1="Thursday",B1="rainy")
Or statement
=OR(A1="H",B1="sunny")
To gray out every other row in a data table:
mod(row(),2)=1