Computer Science Flashcards

(10 cards)

1
Q

What does bash stand for

A

Bourne Again Shell (enhanced replacement for sh)

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

Diff b/w Windows & Linux

A

Gameboy vs. Mechano!

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

Command to display both shell and env variables

A

set | less

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

Command to display list of filesystems currently mounted

A

mount

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

What’s the process to mount a device, say CDROM to some other location

A
su -
umount /dev/hdc 
mkdir /mnt/cdrom 
mount -t iso9660 /dev/hdc /mnt/cdrom
cd /mnt/cdrom
ls
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why is unmounting a device very important

A

Due to buffer. If device is removed before unmounting, the buffer data may not be transferred. This may lead to file system corruption

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

What the fsck!

A

Filesystem check

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

What are the two kinds of diagrams in software development

A

Structural and Behavioral

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

What are the different types of structural diagrams

A
  1. Class
  2. Object
  3. Component
  4. Deployment
  5. Package
  6. Profile
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Difference between library and framework

A

Your program uses a library

Framework uses your program

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