Module 3 day 2: supplemental reading for mobile device storage through supplemental reading for windows package dependencies Flashcards

1
Q

what is often limited on mobile devices?

A

storage space

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is a best practice for space on mobile devices before installing new apps or saving new files?

A

Ensure that there is sufficient space on a mobile device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

on a mobile device, what should the first troubleshooting step for an installation or saving problem be?

A

Check if there is enough storage space for the install or save. Mobile devices can experience unusual problems when space runs low, and sometimes there is no error message.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is something that can fill up the last bit of storage space and cause unusual performance problems on a mobile device? a way that limitations can be reached without the user intentionally adding programs or files.

A

automatically generated temporary cache files can fill up the storage face

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What can you do to free up space for new items? what can you delete?

A

delete unused or rarely used apps and files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what should users use instead of storing the files locally on the mobile device. To prevent loss, protect files.

A

use cloud storage for photos, videos, other.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

but mobile device operating systems automatically analyze how much space apps occupying storage?

A

iOS and iPadOS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

with Apple, where can you see how much storage is available?

A

through device settings menu, on iTunes, or through a computer with a connection to the mobile devic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What can you do to Apple mobile devices to configure them to preserve space?

A

configure them to free up space automatically when they are low on storage space. The device will select files that can be downloaded again if needed for removal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what will apple devices remove if they need to free up space?

A

files that can be reinstalled again as needed. could be caches, local copies of a file that is stored on the cloud, streamed videos and music, and temp files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what will Apple devices do, or rather what should they do, when storage space is almost full to give the user an opportunity to select specific apps and files for removal?

A

generate an alert.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

how to check storage space available on iPhones and iPads

A

Navigate to Settings > General > iPhone Storage or iPad Storage.

The first item on the Storage screen should be a visual indicator of how much storage space has been used out of the total storage space available on the device. It might be color coded to delineate which types of items are occupying the used storage space, such as apps, messages, media, system data, etc.

Check the RECOMMENDATIONS section near the top of the screen (if available). This section might suggest automatically deleting messages that are over a year old or automatically uninstalling unused apps when space is running low. Be sure to investigate the suggested items for deletion to ensure that the items will not be missed before clicking Enable.

Review the next section, which lists the apps installed on the device. The file size and date last used will be listed for each app. If you open the detailed view for an app, you might see options like:

Offload the app - Removes the app only, but keeps app data and documents.

Delete the app - Removes the app, its data, and related documents.

Select the best option that suits the device user’s needs.

Move any photos, videos, and other user-created files to iCloud storage and remove the copy stored on the device’s storage space.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What type of mobile OS allows manufacturers to change the OS configuration?

A

open operating system, open OS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Where should most versions of Android have Storage listed?

A

immediately under settings, unless it is Samsung, which puts it under either Device Maintenance or Device Care

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What do you do if you can’t get Android device settings easily?

A

check manufacturer’s manual

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How to navigate storage for Android

A

Navigate to Settings > Storage

The Storage screen may display a visual indicator illustrating how much storage space has been used out of the total storage space available on the device. Like Apple devices, the graphic might be color coded to indicate which types of USER DATA are occupying the used storage space, such as images, videos, audio, documents, apps, etc.

Click the CLEAN UP button under the graphic (if available).

A new window should open to show a list of items that Android has analyzed and RECOMMENDED FOR CLEANUP. Next to each item may be a button labeled CLEAN UP. Scroll down to the bottom of the list to find the SPECIAL CLEANUPS section.

For some items, like Junk Files, clicking the CLEAN UP button will automatically remove the files.

For other items, like Images or Videos, clicking the CLEAN UP button will give the user a checklist of specific items to select for removal. Be sure to investigate the suggested items for deletion to ensure that the items will not be missed by the user.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

what is comprised of one or more files that is compressed into a single file?

A

an archive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

what are the core or source software files compressed into one file?

A

package archives

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

what is referred to as installing from source?

A

installing software from a source archive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

what are .tar, .zip, and .rar examples of?

A

archive types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

what must you first do when you install software from an archive?

A

first extract the contents of the archive so you can see the files inside.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

What does the installation of archive files depend on?

A

the type of code it was written in

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What can be archived?

A

anything. pictures, software, music files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

what have lots of different ways they can be extracted?

A

archive types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
Q

what is used for file archiving and unarchiving in Windows?

A

7-zip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
26
Q

How do you use 7-zip in the gui?

A

you move the cursor to the file in the file explorer, right click, select 7-zip, and extract here.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
27
Q

what file extraction tool is open source?

A

7-zip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
28
Q

how do you make a new zipped or archived folder? in the gui in file explorer

A

make a new file, name it, add files that you want to put in it into it by dragging and dropping them, right click the folder, 7-zip, add to archive, and it’ll make a new zipped folder for you.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
29
Q

how can you send a bunch of files over email?

A

combine them in one archive and send one single zipped file instead of many individual files.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
30
Q

what version of PowerShell can extract and compress archives from the command line?

A

version 5.0 or greater

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
31
Q

what is the command for compressing an archive?

A

Compress-Archive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
32
Q

What is the format for making a zip file in PowerShell? take everything from the oldfoldername directory and compress it into the archivename.zip

A

Compress-Archive -Path C:\Users\home\oldirectoryname\oldfoldername\ ~\Newdirectoryname\archivename.zip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
33
Q

what does teh Compress-Archive cmdlet ignore when creating or updating the archive file?

A

hidden files and folders.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
34
Q

what is also available to use in Linux?

A

7-zip

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
35
Q

what is the Linux version of 7-zip?

A

p7-zip-full

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
36
Q

what happens when you use the command 7z and the flag e, and then the file you want to extract?

A

you extract a file using 7zip. e for extract.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
37
Q

how would you extract the myarchive.tar folder in linux?

A

7z e myarchive.tar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
38
Q

what tool do lots of people use in Linux to extract zip files, which is often already installed on most linux distros?

A

the tar command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
39
Q

what might different archive types require in linux?

A

different commands in order to extract

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
40
Q

what is tar short for in linux?

A

tape archive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
41
Q

what is a single file that contains any number of individual files plus information to allow them to be restored to their original form by one or more extraction programs?

A

archive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
42
Q

what are convenient for storing files as well as for transmitting data and distributing programs?

A

archive files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
43
Q

what is tar’s basic syntax?

A

tar option(s) archivename filename(s)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
44
Q

what was originally designed for backups on magnetic tape?

A

tar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
45
Q

what are archives created with tar referred to as?

A

tarballs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
46
Q

what does tar not do?

A

compression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
47
Q

what does tar require the use of?

A

one or more options, unlike many other commands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
48
Q

what do the -c and -f options do with tar?

A

create tar files. former: tar make archive. latter: the next argument will be the name of the new archive file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
49
Q

what will tar -cf do?

A

make an archive, and then the next argument, or piece of data in the command, will be the name of the new archive file.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
50
Q

what will the command
tar -cf file.tar file1 file2 file3
do?

A

make an archive file called file.tar out of the three files, file1, file2, file3, in your current directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
51
Q

is it necessary for the new file to have the .tar extension?

A

no

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
52
Q

why is the .tar extension useful?

A

it allows the type of file to be visually identified.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
53
Q

what must be the last option used after .tar?

A

-f, or else the system will not understand the file name.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
54
Q

what option with tar will display a list of the files that are included in the archive?

A

-v

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
55
Q

how can you use tar to make archives from the contents of one or more directories?

A

the result is recursive, and includes all objects in the directories, in each level.
ex:
tar -cvf dir.tar dir1 dir2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
56
Q

how can you use tar with a wildcard to make an archive of every object in the current directory?

A

tar -cf *

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
57
Q

what does tar make by default?

A

an archive of copies of the original files/directories, while retaining the originals.

58
Q

how can you remove files when using tar?

A

the –remove-files option.

59
Q

what option is used to unpack a tar file?

A

-x for extract and -f are required, -v is optional to provide a running listing of the files being unpacked.

60
Q

what option can be used alone with tar?

A

–help, or –version

61
Q

what usually rely on other pieces of code to work?

A

packages of software

62
Q

what might a game program need to do to make the physics of the game work?

A

some calculations

63
Q

what might a game program have to do its calculations?

A

a dependency on a physics engine, and a rendering library to show the graphics

64
Q

What is Counting on other pieces of software to make an application work, since one bit of code depends on another in order to work..

A

Having dependencies

65
Q

A way to package a bunch of useful code that someone else wrote

A

library

66
Q

how is a library bundled?

A

to a single unit

67
Q

What are shared libraries called on Window?

A

DLL, dynamic link library

68
Q

What is one useful feature of a dynamic link library?

A

the same DLL can be used by lots of different programs, which means that shared code doesn’t need to be loaded into memory for each application that wants to use it, and less memory is used overall

69
Q

what do Windows applications typically have located together in a single installation package, along with an MSI file that tells Windows how to pull it together?

A

many dependencies

70
Q

what file tells Windows how to put it all together in a program?

A

MSI file

71
Q

What will a given installation package have?

A

all resources and dependencies like DLL in package.

72
Q

What manages dependencies and makes sure they are available to the program?

A

The windows Installer

72
Q

What was DLL hell?

A

different programs you wanted to run on your machine needed different versions of DLL or else they wouldn’t understand what was going on if you downloaded a new DLL to play a game as opposed to using a media player.

73
Q

What are most resources and shared libraries managed by in Windows to fix DLL hell?

A

Side by side assemblies, or SXS

74
Q

Where are most SXS stored?

A

in a folder at C:\Windows\winsxs

75
Q

If an application needs to use a shared library to perform a task what will the library be specified in?

A

a manifest

76
Q

What tells Windows to load the appropriate library from the SXS folder?

A

Manifest

77
Q

What supports access to multiple versions of the same shared library automatically?

A

sxs

78
Q

what bundles dependencies in installation packages?

A

sxs

79
Q

what can you use to install and maintain the libraries and other dependencies that your software needs to use?

A

Windows Package manager

80
Q

what cmdlet will let you find software and its dependencies? PowerShell

A

Find-Package

81
Q

what is the name we give to Windows PowerShell commands that use the verb-noun format. There are hundreds, and you can write your own.

A

cmdlet, commandlet

82
Q

what is a set of tools released by Microsoft that can help you troubleshoot all sorts of problems on your Windows computers?

A

Sys internals

83
Q

where can you get sys internals?

A

microsoft website, or by using the package management feature.

84
Q

How can you locate the Sys internals package in Powershell? to see if you can get it on your computer, or if it is a program your computer can access in order to install it.

A

Find-Package sysinternals -IncludeDependencies

85
Q

what happens if you run
Find-Package sysinternals -IncludeDependencies
and get an error? no match found?

A

the default source of packages in PowerShell is in the PowerShell gallery, which doesn’t contain the sysinternals package.

86
Q

What is Chocolatey?

A

where you find sysinternals, and all kinds of Windows software packages.

87
Q

What do we need to do before we can install any packages? in PowerShell

A

we need to add a package source that tells our computer where it can find the packages we want to install.

88
Q

how do we add something as a package source? what cmdlet do we use?

A

Register-PackageSource

88
Q

why do we need to add Chocolatey as a package source?

A

because we want to use it to find our packages

89
Q

Register-PackageSource -Name chocolatey -ProviderName Chocolatey -Location http://chocolatey.org/api/v2

A

what does this do? adds it as a package source.

90
Q

what cmdlet do we use to verify that software v2 is good to go for this source?

A

Get-PackageSource command.

91
Q

how do we locate our package and its dependencies again before installing it?

A

Find-Package sysinternals -IncludeDependencies

92
Q

What cmdlet can we use to install the program sysinternals and its corresponding dependencies?

A

Install-Package

93
Q

what are vital to the core functions of the windows OS?

A

Windows DLL files

94
Q

what do some Windows-compatible applications use to function?

A

DLL files

95
Q

What are DLL made up of?

A

programming modules that contain reusable code.

96
Q

what can use and reuse the same DLL files?

A

multiple applications

97
Q

What is used by many applications to provide Windows dialog box functions?

A

Comdlg32 DLL file

98
Q

how did Microsoft remedy DLL dependency problems?

A

used the .net framework and other methods.

99
Q

What does the reusable feature of DLL files do?

A

conserves disk space and use Ram more efficiently,which improves OS and application operating speed.

100
Q

what does the DLL modular structure do?

A

makes updating a DLL file fast and simple, eliminating the need to update the whole library.

101
Q

What are installed once for use by any number of applications?

A

DLL updates

102
Q

What are some common DLLs used by Windows? common file extensions.

A

.drv files, .ocx files, .cpl files

103
Q

what file extension is for files that are device drivers which manage the operation of physical devices like printers?

A

.drv files

104
Q

what file extension is for files that provide controls like the program object for selecting a date from a calendar?

A

.ocx files, active X controls

105
Q

what file extension is for files that manage each of the functions found in the Windows Control Panel?

A

.cpl files, control panel files

106
Q

what can an app use to load parts of the app as modules?

A

DLL

107
Q

What functionality is granted by loading parts of an app as modules?

A

if the application offers multiple functions, the app can selectively load only the modules that offer the functionality requested by the user.

108
Q

when does a printer driver not need to be loaded into memory?

A

if the user doesn’t access the print function within an application

109
Q

why does DLL system as it is now require the system to use less RAM to hold an application in working memory?

A

because we only need to load the dependencies and functions that we need at a time.

110
Q

what is created when an application uses a DLL file?

A

a windows package dependency

111
Q

what fails when an application overwrites the DLL dependency of another app?

A

the other app

112
Q

What can delete the DLLs needed by other applications installed on a system?

A

applications and malware

113
Q

What is DLL hell?

A

where an application installs a new version of the shared DLL for a computer system, but the other applications that are dependent on the shared DLL have not been updated to be compatible with it, which causes them to fail when the user tries to launch them. Applying upgrades or fixes to DLLs.

114
Q

When can a user cause a problem by reinstalling an older application that stopped working after a shared DLL file was upgraded by a newer app?

A

the reinstallation of the app that uses the old DLL version can overwrite the new DLL file, which can cause the new app with the shared DLL dependency to fail when it next tries to run.

115
Q

What controls the updates and deletions of system DLL files, and will only let applications with valid digital signatures to update and delete DLL files?

A

Windows File Protection

116
Q

What removes the sharing option from DLLs by creating a private version of the DLL and storing it in the application’s rot folder? Changes to the shared version of the DLL won’t affect the application’s private copy.

A

Private DLLs

117
Q

What resolves the DLL hell problem by allowing an application to add an updated version of a DLL file without removing the older version of the DLL file? Preventing the malfunction of applications that have dependencies on the older DLL file.

A

.NET Framework assembly versioning

118
Q

Where can DLL versions be found?

A

C:\Windows\assembly path

119
Q

What cache are DLL versions found in?

A

Global Assembly Cache, GAC.

120
Q

What does the GAC contain?

A

the .NET “Strong Name Assembly” of each DLL file version.

121
Q

What does the “Strong Name Assembly” include?

A

*name of the assembly
*version number
*culture
*public key token

122
Q

What Strong Name Assembly inclusion is: multiple DLL files can share this?

A

name of the assembly

123
Q

what differentiates the version of DLLs in Strong Name Assembly?

A

Version number

124
Q

in strong name assembly, what is the country or region where teh application is deployed and can be “neutral”?

A

culture

125
Q

what, in Strong Name Assembly, is a uniqe 16 character key assigned to an assembly when it is built?

A

public key token

126
Q

What can be locate in side-by-side assemblies?

A

DLLs and dependencies

127
Q

What is a public or private resource collection that is available to applications during run time?

A

Side-by-side assembly

128
Q

what assemblies contain XML files called manifests?

A

side-by-side assemblies

129
Q

What contain data similar to the configuration settings and other data that applications traditionally stored in the Windows registry?

A

manifests

130
Q

where do applications store their shared, side-by-side assembly manifests?

A

the WinSXS folder of the computer

131
Q

Where are private manifests stored?

A

inside the application’s folder or embedded in an application or assembly

132
Q

what can the metadata of a manifest include?

A

names, resource collection, classes, dependencies

133
Q

in a manifest’s metadata, what manages file naming/

A

names

134
Q

in a manifest’s metadata, what can include One or more DLL, COM server, Windows classes, interfaces, and/or type libraries?

A

resource collections

135
Q

in a manifests metadata, what is included if versioning is used?

A

classes

136
Q

it a manifest’s metadata, what can applications and assemblies create to other side-by-side assemblies?

A

Dependencies

137
Q

What should be considered when troubleshooting application issues?

A

manifests

138
Q

where can application configuration settings be found if they are not found in the Windows registry?

A

the manifest from the app’s side-by-side assembly.