CS 400 MODERN SCENARIO ANALYSIS
COMPLETE RESOLUTION 2026 ACADEMIC
SUPPORT PROFESSIONAL PRACTICE
DOCUMENTATION
Version. Answer: (aka revision, or COMMIT) - name (or number) for
a given copy
◉ repository (repo). Answer: files, tracking data, configurations etc.
that is being tracked
◉ checkin in. Answer: put new and changed local working directory
files into repo (git commit)
◉ checkin out. Answer: get earlier version of files from you repo to
your local working directory (git checkout abdf)
◉ local repository. Answer: - Stored on local computer.
◉ remote repository. Answer: repository on a different computer or
network
◉ commit. Answer: saves and names changes as a new "version" in
the repository
,◉ ls. Answer: list files in current directory
◉ list files in current directory - command line. Answer: ls
◉ cp vs. scp vs. pscp. Answer: -cp:
- used to copy file, files, directories to a new location on disk with
different name. generally its "cp source destination"
-scp: windows and linux allow copying to remote directory without
establishing connection. "scp sourcefile remotedestination", can also
use this to copy on one local machine (you can use it on ya own
computer) basically functions same as cp
-pscp: putty's scp command, allows windows users to do the above
without launching putty
◉ cp filename filename
cp -r Src_file1 Src_file2 Src_file3 Dest_directory
cp -r directory1 directory2. Answer: filename filename: copies first's
contents into second, overwriting it. if 2nd one doesn't exist, creates it
multiple src files then directory: copies all files to directory. must end
with directory name if multiple files are to be copied
directory directory: if 2 doesn't exist, creates it and copies 1 into it. if
2 does exist, 1 becomes a subdirectory of 2
◉ cd. Answer: change directory. "cd ../directory/directory"
, ◉ ".." vs ".". Answer: "cd ../folder/folder/folder" lets you navigate
here without knowing the whole path
"cd ..\" goes up one level in the directory
basically .. represents parent directory, . represents cwd
◉ pwd. Answer: print working directory, in form of /src/src/fold/dir/
◉ javac. Answer: compiles, which is NECESSARY before running it
javac *.java
javac *.java *.java *.java
◉ cat. Answer: can be used for lotta stuff
-cat filename shows contents of file
-cat filename filename shows contents of both
-cat >newFile creates file newFile
-can also use extra verbiage to specify how copying and showing
contents is done
◉ time complexity of insert/delete/lookup for balanced tree vs.
unbalanced tree. Answer: o(n) if unbalanced vs. o(logn) if balanced
◉ left bias/right bias. Answer: b tree, when there is an uneven order,
thus each node has an even amount of keys, this decides whether you
promote the left of middle or right of middle key when separating
COMPLETE RESOLUTION 2026 ACADEMIC
SUPPORT PROFESSIONAL PRACTICE
DOCUMENTATION
Version. Answer: (aka revision, or COMMIT) - name (or number) for
a given copy
◉ repository (repo). Answer: files, tracking data, configurations etc.
that is being tracked
◉ checkin in. Answer: put new and changed local working directory
files into repo (git commit)
◉ checkin out. Answer: get earlier version of files from you repo to
your local working directory (git checkout abdf)
◉ local repository. Answer: - Stored on local computer.
◉ remote repository. Answer: repository on a different computer or
network
◉ commit. Answer: saves and names changes as a new "version" in
the repository
,◉ ls. Answer: list files in current directory
◉ list files in current directory - command line. Answer: ls
◉ cp vs. scp vs. pscp. Answer: -cp:
- used to copy file, files, directories to a new location on disk with
different name. generally its "cp source destination"
-scp: windows and linux allow copying to remote directory without
establishing connection. "scp sourcefile remotedestination", can also
use this to copy on one local machine (you can use it on ya own
computer) basically functions same as cp
-pscp: putty's scp command, allows windows users to do the above
without launching putty
◉ cp filename filename
cp -r Src_file1 Src_file2 Src_file3 Dest_directory
cp -r directory1 directory2. Answer: filename filename: copies first's
contents into second, overwriting it. if 2nd one doesn't exist, creates it
multiple src files then directory: copies all files to directory. must end
with directory name if multiple files are to be copied
directory directory: if 2 doesn't exist, creates it and copies 1 into it. if
2 does exist, 1 becomes a subdirectory of 2
◉ cd. Answer: change directory. "cd ../directory/directory"
, ◉ ".." vs ".". Answer: "cd ../folder/folder/folder" lets you navigate
here without knowing the whole path
"cd ..\" goes up one level in the directory
basically .. represents parent directory, . represents cwd
◉ pwd. Answer: print working directory, in form of /src/src/fold/dir/
◉ javac. Answer: compiles, which is NECESSARY before running it
javac *.java
javac *.java *.java *.java
◉ cat. Answer: can be used for lotta stuff
-cat filename shows contents of file
-cat filename filename shows contents of both
-cat >newFile creates file newFile
-can also use extra verbiage to specify how copying and showing
contents is done
◉ time complexity of insert/delete/lookup for balanced tree vs.
unbalanced tree. Answer: o(n) if unbalanced vs. o(logn) if balanced
◉ left bias/right bias. Answer: b tree, when there is an uneven order,
thus each node has an even amount of keys, this decides whether you
promote the left of middle or right of middle key when separating