Post 25 Agile Software Development

                            Post 25

Software Engineering Multiple Choice Questions & Answers (MCQs) focuses on “Agile Software Development”.

1. Select the option that suits the Manifesto for Agile Software Development
a) Individuals and interactions
b) Working software
c) Customer collaboration
d) All of the mentioned

Answer:d
Explanation: None.

2. Agile Software Development is based on
a) Incremental Development
b) Iterative Development
c) Linear Development
d) Both Incremental and Iterative Development

Answer:d
Explanation: The software is developed in increments with the customer specifying the requirements to be included in each increment and the highest priority is to satisfy the customer through early and continuous delivery of valuable software.

3. Which on of the following is not an agile method?
a) XP
b) 4GT
c) AUP
d) All of the mentioned

Answer:b
Explanation: The 4GT approach does not incorporate iteration and the continuous feedback,which is the fundamental aspect of an agile method.

4. Agility is defined as the ability of a project team to respond rapidly to a change.
a) True
b) False

Answer:b
Explanation: The aim of agile methods is to reduce overheads in the software process and to be able to respond quickly to changing requirements without excessive rework.

5. How is plan driven development different from agile development ?
a) Outputs are decided through a process of negotiation during the software development process
b) Specification, design, implementation and testing are interleaved
c) Iteration occurs within activities
d) All of the menti

Answer:c
Explanation: A plan-driven approach to software engineering is based around separate development stages with the outputs to be produced at each of these stages planned in advance.

6. How many phases are there in Scrum ?
a) Two
b) Three
c) Four
d) Scrum is an agile method which means it does not have phases

Answer:b
Explanation: There are three phases in Scrum.The initial phase is an outline planning phase followed by a series of sprint cycles and project closure phase.

7. Agile methods seem to work best when team members have a relatively high skill level.
a) True
b) False

Answer:a
Explanation: None.

8. Which of the following does not apply to agility to a software process?
a) Uses incremental product delivery strategy
b) Only essential work products are produced
c) Eliminate the use of project planning and testing
d) All of the mentioned

Answer:c
Explanation: Testing is a major part of each software development process which cant be avoided.

9. Which three framework activities are present in Adaptive Software Development(ASD) ?
a) analysis, design, coding
b) requirements gathering, adaptive cycle planning, iterative development
c) speculation, collaboration, learning
d) all of the mentioned

Answer:c
Explanation: None.

10. In agile development it is more important to build software that meets the customers’ needs today than worry about features that might be needed in the future.
a) True
b) False

Answer:a

Post :23 Built-in Commands in Linux Bash Shell

                 🎂Poster::23 🎂
Built-in Commands in Linux Bash Shell.

1. Which command sets up shorthand for command or command line?
a) set
b) alias
c) new
d) echo

Answer: b
Explanation: None.

2. What is the function of bind command in bash shell?
a) defining new macros
b) defining new key bindings for existing commands
c) dumping the installed key bindings
d) all of the mentioned

Answer: d
Explanation: None.

3. The command ‘compgen -c’ shows
a) all variable names
b) all system wide aliases
c) full list of all commands
d) none of the mentioned

Answer: c
Explanation: None.

4. Which statement resumes the next iteration of a for, while, select, or untill loop?
a) continue
b) break
c) complete
d) command

Answer: a
Explanation: None.

5. Which command prints the directory stack?
a) cd
b) dirs
c) popd
d) pushd

Answer: b
Explanation: None.

6. The command ‘disown -r’
a) removes all jobs
b) removes all running jobs
c) marks jobs to not receive SIGHUP when bash exits
d) marks all jobs

Answer: b
Explanation: None.

7. The command ‘enable -n ‘
a) enables the specified built-in command
b) disables the specified built-in command
c) print the status of the command
d) none of the mentioned

Answer: b
Explanation: None.

8. Which command can create environment variable?
a) export
b) set
c) read
d) none of the mentioned

Answer: a
Explanation: None.

9. Which command concatenate the specified argument into a single command, then execute the command?
a) fc
b) eval
c) exec
d) getopts

Answer: b
Explanation: None.

10. The command ‘hash’
a) manages a internal hash table
b) find and remember the full path name of the specified command
c) displays used command names and the number of hits
d) all of the mentioned

Answer: d
Explanation: None.

Post No:. 22 Bash Shell programming

                  Post No :22

This set of Linux / Unix questions and answers focuses on Command History and Job Control in Bash Shell programming

1. fc stands for
a) find command
b) fix command
c) both find & fix command
d) none of the mentioned

Answer: c
Explanation:’fc -l’ is used to list history of commands and ‘fc -e’ to edit them and ‘history’ command also provides the histroy of commands.

2. Which command is used to reexecute the previous command?
a) !!
b) !cat
c) !3
d) !$

Answer: a
Explanation:’!cat’ will reexecute the last cat command, ‘!3’ will reexecute the third last command and ‘!$’ will execute the last argument of previous command.

3. Which one of the following is not correct about job control in bash shell?
a) it is the ability to stop and resume any process running in shell at a later point
b) user employs this facility via an interactive interface supplied by the kernel’s terminal driver and bash
c) it is the ability to create any process
d) none of the mentioned

Answer: c
Explanation: None.

4. Which command allows to view the current jobs being handled by the shell?
a) jobs
b) view
c) show
d) none of the mentioned

Answer: a
Explanation: None.

5. What is job number?
a) same as PID
b) a unique number, assigned to each job in shell
c) same as PID and a unique number, assigned to each job in shell
d) none of the mentioned

Answer: b
Explanation: None.

6. Ctrl-Z key combination
a) generates a SIGINT signal
b) stops the process running in the shell
c) kills the process running in the shell
d) generates a SIGINT signal & kills the process running in the shell

Answer: b
Explanation: Ctrl-Z key combination generates a SIGTSTP signal and stops the process running in the shell.

7. Which command brings a background job into the foreground?
a) fg
b) bg
c) jobs %1
d) none of the mentioned

Answer: a
Explanation: bg command brings a foreground job into the background.

8. ‘kill %s’ command will
a) terminate the job whose command line starts with s
b) terminate the last job
c) terminate the first job
d) none of the mentioned

Answer: a
Explanation: None.

9. ‘stty tostop’ command will
a) stop all jobs running in the shell
b) stop background jobs if they try to send output to the terminal
c) this is not a valid command
d) none of the mentioned

Answer: b
Explanation: None.

10. Which command terminates a running process by name of the process?
a) kill
b) pkill
c) killall
d) none of the mentioned

Answer: c
Explanation: None

18 OS MCQ 4


4-1 Which one of the following is not the function of Operating System?
A. Resource Management
B. File Management
C. Networking
D. Processor Management

4-2 The Banker’s algorithm is used
A. to rectify deadlock
B. to detect deadlock
C. to prevent deadlock
D. to slove deadlock

4-3 Which of the following concept is best to preventing page faults?
A. Paging
B. The working set
C. Hit ratios
D. Address location resolution

4-4 Which of the following memory unit that processor can access more
rapidly
A. Main Memory
B. Virtual Memory
C. Cache memory
D. Read Only Memory

4-5 A page fault occurs when
A. the Deadlock happens
B. the Segmentation starts
C. the page is found in the memory
D. the page is not found in the memory

4-6 Bringing a page into memory only when it is needed, this
mechanism is called
A. Deadlock
B. Page Fault
C. Dormant Paging
D. Demand Paging

4-7 First-in-First-Out (FIFO) scheduling is
A. Non Preemptive Scheduling
B. Preemptive Scheduling
C. Fair Share Scheduling
D. Deadline Scheduling

4-8 Copying a process from memory to disk to allow space for other
processes is Called
A. Swapping
B. Deadlock
C. Demand Paging
D. Page Fault

4-9. The necessary conditions needed before deadlock can occur?
A. No Mutual Exclusion, Hold and wait, Preemption, Circular Wait
B. Mutual Exclusion, No Hold and wait, Preemption, Circular Wait
C. Mutual Exclusion, Hold and wait, No Preemption, Circular Wait
D. Mutual Exclusion, Hold and wait, Preemption, No Circular Wait

4-10 A program in execution is called
A. A Paging
B. A Process
C. A virtual memory
D. A Demand Page
  Answers
1 – C 2 – C 3 – B 4 – C 5 – D 
 6 – D 7 – A 8 – A 9 – C 10 – B

List of Windows commands

Post 20
The complete list of Windows commands

Command                                                   Description 

assoc Displays or modifies file name extension associations. Used alone, displays a                      list of all the current file name associations


at Schedules commands and programs to run on a computer at a specified time and                   date. Requires the Schedule service. Superseded by schtasks

attrib Configures file attributes read only, hidden, system

bootcfg Used to repair or edit the boot.ini file

cd or chdir Displays the name of the current directory or changes the current folder

chkdsk Checks hard drives for errors. With switches,does repairs.

cls Clears the screen

copy Copies a file from one location to another  

del Deletes one or more files

dir Displays a list of a folder's files and subfolders

diskpart Disk management shell. A suite of various commands

driverquery Displays a list of all installed device drivers and their properties. Requires                         administrator privileges. (Not available in Windows XP Home) 

echo Used to display a message or to turn off/on messages in batch scripts echo                           message

exit             Exits batch script or current command control
                                                          https://mcq4all.blogspot.in/
fc Compares two files and displays the differences between them  

find Searches for a text string in a file or files. Can also be used with output from                       another command.  
findstr Searches for text string patterns in a file using regular expressions
 
for Runs a specified command for each item in a set  

fsutil Displays and configures certain file system properties. A suite of various commands  

ftype Displays or modifies file types used in file name extension associations
 
getmac Returns the media access control (MAC) address for your network card

goto Directs the Windows command interpreter to a labeled line in a batch program

if Performs conditional processing in batch programs

ipconfig Displays all current TCP/IP network configuration values and refreshes  
                Dynamic Host Configuration Protocol (DHCP) and Domain Name                                       System (DNS)  settings  
                                                               https://mcq4all.blogspot.in/
md or mkdir Creates a directory (folder) or subdirectory (subfolder)  
more Displays one screen of output at a time. Used with another command that                                      has  extensive output

move Moves a file from one folder to another  

net A suite of various networking and service commands

netsh Network services shell . Complex suite of commands.  

netstat Displays active TCP connections, ports on which the computer is listening,                          Ethernet   statistics, the IP routing table, statistics for the IP, ICMP, TCP, and                      UDP protocols

path      Sets the command path in the PATH environment variable, which is the set of                  directories used to search for executable files  

pathping Provides information about network performance and conditions at intermediate hops between a source and destination
                                      https://mcq4all.blogspot.in/
pause Used in batch scripts  

ping Checks connectivity to other networked computers, routers, or Internet sites

popd, pushd Changes the directory being referenced in a command prompt. 
  Pushd changes the directory and stores the previous directory. 
Popd changes the current directory to the directory stored by the pushd   command  pushd somefolder  popd

powercfg Manages the power settings such as hibernation. Has numerous switches  
reg Adds, changes, and displays registry entries. A suite of various 
                                commands  

                                         https://mcq4all.blogspot.in/
rd or rmdir Deletes a directory (folder)  

ren or rename Changes the name of a file or a set of files  

sc               Used to obtain information about services and to configure them. A suite of                                         various commands  
                                       https://mcq4all.blogspot.in/
schtasks Schedules commands and programs to run periodically or at a specific time
 
set Displays, sets, or removes environment variables  

sfc System file checker scans and verifies the versions of all protected system files sfc                /scannow

shutdown Shuts down or restarts a computer  

sort Alphabetizes strings from a text file or the output of a command.


start Starts an application or opens a new command window

subst Associates a folder with a drive letter  

systeminfo Displays detailed configuration information about a computer and its  
                              operating system https://mcq4all.blogspot.in/

taskkill  Ends one or more tasks or processes  

tasklist     Displays a list of applications and services with their Process ID (PID) for all                    tasks   running  

tree Graphically displays the directory structure of a folder or drive tree somefolder

type Displays the contents of a text file

vssadmin For administering and configuring volume shadow copies  

xcopy Powerful command with many switches for copying and backing up files and                       folders

😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊😊 

                                                https://mcq4all.blogspot.in/