Answer:
1. touch command
2. wall command
3.apt-get is the command-line tool for handling packages, and may be considered the user's "back-end" to other tools using the APT library
4. -rwxrw-r-
5. sudo command
6. read command is used for getting user input in a Linux shell script.
7. top command
8. ask them to use dig command.
9. Type echo $PATH at the command prompt and press ↵ Enter
10. If a process is already in execution, such as the tar command example below, simply press Ctrl+Z to stop it then enter the command bg to continue with its execution in the background as a job. You can view all your background jobs by typing jobs.
When a team of developers are working in the same module of a project is convenient to follow the next good practices:
USE NAME CONVENTIONS: in a team project is important to use descriptive names to the variables, functions, classes and files, so others developers can understand more quickly what the code is doing.
CLEAN FOLDER STRUCTURE: if project is too big (and must be, or will be, if there are many developers) then is you should avoid putting all the code in 1-2 files. It would not break the code but it will be a nightmare to read, modify and debug. Use different files and define a clear responsabilit for each file.
DON'T REPEAT CODE: this is obvious advice but frequently hard to follow when each developer in a team act like a lonely wolf. It is important to comunicate inside the team to avoid this kind of mistakes. If there is no communication every developer will implement their own solution and that will follow to a lot of repeated code. Try to make reusable code.
USE A VERSION CONTROL SOFTWARE: like git. As man people are working in the same codeit will be common when someone make a mistake that break all the project, so it's important to keep safe old versions. Besides, if the team divide in internal teams, each one with it's own module on the project, it will be useful to keep isolate some changes until the module is complete.
Answer:
False
Explanation:
An abstract class is a class declared abstract — it may or may not include abstract techniques. It is not possible to instantiate abstract classes, but they can be sub-classed.
<u></u>
<u>Abstract method declaration</u>
abstract void moveTo(double X, double Y);
Usually the subclass offers solutions for all of the abstract techniques in its parent class when an abstract class is sub-classed. If not, however, the subclass must be declared abstract as well.
<u>Example</u>
public abstract class GraphicObject {
// declaring fields
// declaring non-abstract methods
abstract void draw();
}
Answer:
// This method is written in Java Programming Language
// Comments are used for explanatory purpose
// Method starts here
// Declare method isSorted
public boolean isSorted() {
// Create a listnode
ListNode lst = list;
// Check if list is null
if (list == null) {
return true;
}
// Iterate while list is not null
while (lst.next != null) {
// Get current list item
ListNode current = lst.next;
// Compare; if less than, return false
if (current.data < lst.data) {
return false;
}
// Assign current to lst
lst = current;
}
return true;
}
Answer:
Apart from the stack pointer (ESP), the other register that points to variables on the stack include the register extended stack pointer, the extended frame pointer, the stack base pointer register; which is used to refer the stack base, and the Stack Segment register, which is used for pointing to the stack.
Explanation:
Apart from the stack pointer (ESP), the other register that points to variables on the stack include the register extended stack pointer, the extended frame pointer, the stack base pointer register; which is used to refer the stack base, and the Stack Segment register, which is used for pointing to the stack.