CBSE Class 11 Computer Science Advanced Scripting MCQs

Refer to CBSE Class 11 Computer Science Advanced Scripting MCQs provided below. CBSE Class 11 Computer Science MCQs with answers available in Pdf for free download. The MCQ Questions for Class 11 Computer Science with answers have been prepared as per the latest syllabus, CBSE books and examination pattern suggested in Class 11 by CBSE, NCERT and KVS. Multiple Choice Questions for Advanced Scripting are an important part of exams for Class 11 Computer Science and if practiced properly can help you to get higher marks. Refer to more Chapter-wise MCQs for CBSE Class 11 Computer Science and also download more latest study material for all subjects

MCQ for Class 11 Computer Science Advanced Scripting

Class 11 Computer Science students should refer to the following multiple-choice questions with answers for Advanced Scripting in Class 11. These MCQ questions with answers for Class 11 Computer Science will come in exams and help you to score good marks

Advanced Scripting MCQ Questions Class 11 Computer Science with Answers

 

Question : _______ is a program loaded into memory and running.

a) Shell Script

b) Command

c) PID

d) Process

Answer : D

 

Question : Each process when started has a unique number associated with it known as ...........

a) Shell Script

b) Command

c) PID

d) Process

Answer : C

 

Question : Process can be _______

a) Viewed

b) Stopped

c) Running (executing)

d) All of these

Answer : D

 

Question : In Linux all programs are executed as ______ .

a) Shell Script

b) Variables

c) Loop

d) Process

Answer : D

 

Question : Which command is used To see the processes associated with the current shell ?

a) ps command without any parameters

b) ps command with any parameters

c) sp command with parameters

d) sp command without parameters

Answer : A

 

Question : Which command is used to view the process of all the users ?

a) ps -ef

b) ps -e

c) ps -f

d) ps -fe

Answer : A

 

Question : In ps -ef , UID is _______ .

a) A unique numeric process identifier assigned to each process

b) Name or number of the user who owns the process

c) Identifies the parent process id, the process that created the current process

d) None of these

Answer : A

 

Question : In ps -ef ,PID is ________ .

a) A unique numeric process identifier assigned to each process

b) Name or number of the user who owns the process

c) Identifies the parent process id, the process that created the current process

d) All of these

Answer : A

 

Question : In ps -ef ,PPID is _______ .

a) A unique numeric process identifier assigned to each process

b) Name or number of the user who owns the process

c) Identifies the parent process id the process that created the current process

d) None of these

Answer : C

 

Question : In ps -ef ,STIME is ______

a) The start time for the current process

b) Identifies the amount of CPU accumulated by the current process

c) Identifies the parent process id, process that created the current pro

d) All of these

Answer : A

 

Question : In ps -ef ,TTY is _______

a) The start time for the current process

b) Identifies the terminal that controls current process

c) Identifies the parent process id, process that created the current process

d) Identifies the command used to invoke process.

Answer : B

 

Question : In ps -ef ,TIME is ________

a) The start time for the current process

b) Identifies the amount of CPU accumulated by the current process

c) Identifies the parent process id, process that created the current proc

d) None of these

Answer : B

 

Question : In ps -ef ,CMD is ______

a) The start time for the current process

b) Identifies the terminal that controls current process

c) Identifies the parent process id, process that created the current process

d) Identifies the command used to invoke process

Answer :C

 

Question : In ps -ef, ____ is the name or number of the user who owns the process.

a) PPID

b) PID

c) UID

d) TTY

Answer : C

 

Question : In ps -ef,_____is a unique numeric process identifier assigned to each process.

a) PPID

b) PID

c) UID

d) TTY

Answer : B

 

Question : In ps -ef, ____ is the start time for current process.

a) PPID

b) TTY

c) STIME

d) TIME

Answer : B

 

Question : The if-then-elif-then-else-if statement looks clumsy as number of comparison grows.

a) True

b) False

c) None of these

d) Both (A) and (B)

Answer : A

 

Question : When number of comparison (condition) grows it is advisable to use _______.

a) If-elseif-else-if

b) If - else-if

c) Case - esac

d) While loop

Answer : C

 

Question : In ps -ef, ________ identifies the parent process id, the process that created the current process.

a) PPID

b) PID

c) UID

d) TTY

Answer : B

 

Question : All the statements written within the section of case are executed till two ________ are encountered.

a) Semicolons (;;)

b) Colons (::)

c) Full stops(..)

d) Commas(„)

Answer : A

 

Question : All the statements written within the section of case are executed till ______ semicolon(s) are encountered.

a) Four

b) Three

c) Two

d) One

Answer : C

 

Question : Once semicolons are encountered in case construct the control is transferred to the _______.

a) Next section of the case statement

b) Section of the case statement

c) Line before the end of the case statement

d) Line after the end of the case statement

Answer : D

 

Question : Once _______ are encountered in case construct the control is transferred to the line after the end of the case statement.

a) Semicolons (;;)

b) Colons (::)

c) Full stops(..)

d) Commas(„)

Answer : A

 

Question : The end of case statement is specified by ________ keyword.

a) case

b) esac

c) asec

d) esca

Answer : B

 

Question : If user enters any value that does not match any of the case value specified, then the control is transferred to the section that has ________ as its value.

a) asterisks (**)

b) semicolons (;;)

c) commas^,)

d) asterisk (*)

Answer : D

 

Question : We can assign______value to the variable that accepts the choice in case construct.

a) Numeric

b) Character

c) String

d) All of these

Answer : D

 

Question : In case we assign string values then within the case it should be enclosed between.........

a) Colon

b) Comma

c) Double quote

d) Single quote

Answer : D

 

Question : The ______ test is performed using relational operators.

a) Numerical

b) Logical

c) File

d) All of these

Answer : A

 

Question : The options _______ refers to relational operators.

a) -ge

b) ge

c) greater than

d) all of these

Answer : A

 

Question : Relational operators are used to compare values of_______ numeric operands.

a) One

b) Two

c) Three

d) Any of these

Answer : B

 

Question : _________ operators are used to compare values of two numeric operands.

a) Relational

b) Logical

c) File

d) All of these

Answer : A

 

Question : The options_______ refers to relational operators.

a) -gt

b) -le

c) -ne

d) All of these

Answer : D

 

Question : _______ operators are used to compare values of two numeric operands.

a) Relational

b) Logical

c) File

d) All of these

Answer : A

 

Question : ______ is used as"greater than" operator.

a) -gt

b) ge

c) greater than

d) -ge

Answer : -A

 

Question : _______ is used as"greater than equal to" operator.

a) -ge

b) gt

c) greater than equal to

d) -gt

Answer : A

 

Question : ______ is used as "less than equal to" operator.

a) -le

b) It

c) less than equal to

d) -It

Answer : A

 

Question : _______ is used as "less than" operator.

a) -It

b) le

c) Less than

d) -le

Answer : A

 

Question : _______ is used as "not equal to" operator.

a) -ne

b) =

c) not equal to

d) !=

Answer : A

 

Question : ________ is used as " equal to" operator.

a) -eq

b) =

c) equal to

d) ==

Answer : A

 

Question : To combine conditions we make use of _______ operators.

a) Numerical

b) Logical

c) File

d) All of these

Answer : B

 

Question : The _______ test is performed using logical operators

a) Numerical

b) Logical

c) File

d) All of these

Answer : B

 

Question : _______ is used as "AND" operator.

a) -a

b) a

c) and

d) -ae

Answer : A

 

Question : ______ is used as "OR" operator.

a) -eo

b) o

c) or

d) -o

Answer : D

 

Question : Minimum conditions that can be combined using -a operator in Ubuntu are _______.

a) One

b) Two

c) Three

d) Any of these

Answer : B

 

Question : _______ is used as "NOT" operator.

a) -not

b) not

c) !=

d) !

Answer : D

 

Question : Minimum conditions that can be combined using -o operator in Ubuntu are ______.

a) One

b) Two

c) Three

d) Any of these

Answer : B

 

Question : Minimum conditions that can be combined using ! operator in Ubuntu are _______.

a) One

b) Two

c) Three

d) Any of these

Answer : A

 

Question : ______ operator is True if both conditions are true, false otherwise.

a) -a

b) -o

c) !

d) -or

Answer : A

 

Question : _______ operator is True if any one condition is true, false only if both conditions are false.

a) -a

b) -o

c) !

d) -or

Answer : B

 

Question : ______ operator converts true to false and vice versa.

a) -a

b) -o

c) !

d) -or

Answer : C

 

Question : ______ operators allows to check the status of a file.

a) Relational

b) Logical

c) File

d) All of these

Answer : C

 

Question : By using _____operators we can come to know whether a specified name is an ordinary file or a directory.

a) Relational

b) Logical

c) File

d) All of these

Answer : C

 

Question : _______ operators are used to find out the status of file permissions using them.

a) Relational

b) Logical

c) File

d) All of these

Answer : C

 

Question : _________ condition tested using file operators is True if a file with the specified name exists and has size greater than 0.

a) -r name

b) -d name

c) -s name

d) -f name

Answer : C

 

Question : condition tested using file operators is True if a file with the specified name exists and is not a directory.

a) -r name

b) -d name

c) -s name

d) -f name

Answer : D

 

Question : ______ condition tested using file operators is True if a directory with the specified name exists

a) -r name

b) -d name

c) -s name

d) -f name

Answer : B

 

Question : ______ condition tested using file operators is True if a file with the specified name exists and the user has read permission on it.

a) -r name

b) -w name

c) -s name

d) -x name

Answer : D

 

Question : ________ condition tested using file operators is True if a file with the specified name exists and the user has write permission on it.

a) -r name

b) -w name

c) -s name

d) -x name

Answer : -B

 

Question : ________ condition tested using file operators is True if a file with the specified name exists and the user has execute permission on it.

a) -r name

b) -w name

c) -s name

d) -x name

Answer : D

 

Question : How many decision making instructions are available in Linux which can be used in shell script ?

a) One

b) Two

c) Three

d) Four

Answer : D

 

Question : Which decision making instructions are available in Linux which can be used in shell script ?

a) if-then-fi

b) if-then-else if-then-else-fi

c) case-esac

d) All of these

Answer : D

 

Question : If student has greater than 35 percentage display "Result: Pass". When we want to write a shell script for above task which decision making instructions will be used ?

a) if-then-fi

b) if-then -el if-then-else-fi

c) case-esac

d) if-then-else-fi

Answer : A

 

Question : The if statement of Linux is concerned with the ______ status of a test expression.

a) Exit

b) Append

c) Delete

d) All of these

Answer : A

 

Question : The exit status of command is _____ if it has been executed successfully.

a) Zero

b) One

c) Two

d) None of these

Answer : A

 

Question : The ______ status in if statement indicates whether the command was successfully executed or not.

a) Exit

b) Append

c) Delete

d) All of these

Answer : A

 

Question : The exit status of command is_______ if it has been not executed successfully.

a) Zero

b) One

c) Two

d) None of these

Answer : B

 

Question : The condition in the shell script is enclosed in a _______ .

a) Parenthesis

b) Angular bracket

c) Curly bracket

d) Square bracket

Answer : D

 

Question : There should be _________ space after opening square bracket and one before closing square bracket in if condition statement.

a) Zero

b) One

c) Two

d) None of these

Answer : B

 

Question : If the condition of if statement is evaluated to________ then statements typed inside then block will be executed.

a) True

b) False

c) Both (A) and (B)

d) None of these

Answer : A

 

Question : If the condition of if statement is evaluated to______ then statements typed inside then block will be not be executed.

a) True

b) False

c) Both (A) and (B)

d) None of these

Answer : B

 

Question : If the condition of if statement is evaluated to ________ then statements typed after if will be executed.

a) True

b) False

c) Both (A) and (B)

d) None of these

Answer : B

 

Question : The end of the if statement is indicated by ______ statement.

a) if

b) else if

c) end if

d) else

Answer : B

 

Question : If student has greater than 35 percentage display "Result : Pass" otherwise display "Result : Fail". When we want to write a shell script for above task which decision making instructions will be used ?

a) if-then-fi

b) if-then-else-if-then-else-fi

c) case-esac

d) if-then-else-fi

Answer : D

 

Question : _____ command is used to compares two files.

a) cmp

b) cp

c) compare

d) verify

Answer : A

 

Question : ________ command is used in place of brackets in if statement.

a) Test

b) cp

c) cmp

d) fi

Answer : A

 

Question : Process can be _______

a) Viewed

b) Stopped

c) Running (executing)

d) All of these

Answer : D

 

Question : Which command is used To see the processes associated with the current shell ?

a) ps command without any parameters

b) ps command with any parameters

c) sp command with parameters

d) command without parameters

Answer : A

 

Question : The ________ command is used to display long listed details of files and directories.

a) Is -1

b) Is -v

c) Is -r

d) Is -f

Answer : A

 

Question : Which command is used to view the process of all the users ?

a) ps -ef

b) ps -e

c) ps -f

d) ps -fe

Answer : A

 

Question : In Linux all programs are executed as ________.

a) Shell Script

b) Variables

c) Loop

d) Process

Answer : D

More Study Material

CBSE Class 11 Computer Science Advanced Scripting MCQs

We hope students liked the above MCQs for Advanced Scripting designed as per the latest syllabus for Class 11 Computer Science released by CBSE. Students of Class 11 should download the Multiple Choice Questions and Answers in Pdf format and practice the questions and solutions given in above Class 11 Computer Science MCQs Questions on daily basis. All latest MCQs with answers have been developed for Computer Science by referring to the most important and regularly asked topics which the students should learn and practice to get better score in school tests and examinations. Studiestoday is the best portal for Class 11 students to get all latest study material free of cost.

MCQs for Computer Science CBSE Class 11 Advanced Scripting

Expert teachers of studiestoday have referred to NCERT book for Class 11 Computer Science to develop the Computer Science Class 11 MCQs. If you download MCQs with answers for the above chapter daily, you will get higher and better marks in Class 11 test and exams in the current year as you will be able to have stronger understanding of all concepts. Daily Multiple Choice Questions practice of Computer Science and its study material will help students to have stronger understanding of all concepts and also make them expert on all critical topics. You can easily download and save all MCQs for Class 11 Computer Science also from www.studiestoday.com without paying anything in Pdf format. After solving the questions given in the MCQs which have been developed as per latest course books also refer to the NCERT solutions for Class 11 Computer Science designed by our teachers

Advanced Scripting MCQs Computer Science CBSE Class 11

All MCQs given above for Class 11 Computer Science have been made as per the latest syllabus and books issued for the current academic year. The students of Class 11 can refer to the answers which have been also provided by our teachers for all MCQs of Computer Science so that you are able to solve the questions and then compare your answers with the solutions provided by us. We have also provided lot of MCQ questions for Class 11 Computer Science so that you can solve questions relating to all topics given in each chapter. All study material for Class 11 Computer Science students have been given on studiestoday.

Advanced Scripting CBSE Class 11 MCQs Computer Science

Regular MCQs practice helps to gain more practice in solving questions to obtain a more comprehensive understanding of Advanced Scripting concepts. MCQs play an important role in developing understanding of Advanced Scripting in CBSE Class 11. Students can download and save or print all the MCQs, printable assignments, practice sheets of the above chapter in Class 11 Computer Science in Pdf format from studiestoday. You can print or read them online on your computer or mobile or any other device. After solving these you should also refer to Class 11 Computer Science MCQ Test for the same chapter

CBSE MCQs Computer Science Class 11 Advanced Scripting

CBSE Class 11 Computer Science best textbooks have been used for writing the problems given in the above MCQs. If you have tests coming up then you should revise all concepts relating to Advanced Scripting and then take out print of the above MCQs and attempt all problems. We have also provided a lot of other MCQs for Class 11 Computer Science which you can use to further make yourself better in Computer Science

Where can I download latest CBSE MCQs for Class 11 Computer Science Advanced Scripting

You can download the CBSE MCQs for Class 11 Computer Science Advanced Scripting for latest session from StudiesToday.com

Can I download the MCQs of Advanced Scripting Class 11 Computer Science in Pdf

Yes, you can click on the links above and download topic wise MCQs Questions PDFs for Advanced Scripting Class 11 for Computer Science

Are the Class 11 Computer Science Advanced Scripting MCQs available for the latest session

Yes, the MCQs issued by CBSE for Class 11 Computer Science Advanced Scripting have been made available here for latest academic session

How can I download the Advanced Scripting Class 11 Computer Science MCQs

You can easily access the links above and download the Advanced Scripting Class 11 MCQs Computer Science for each topic

Is there any charge for the MCQs with answers for Class 11 Computer Science Advanced Scripting

There is no charge for the MCQs and their answers for Class 11 CBSE Computer Science Advanced Scripting you can download everything free

How can I improve my MCQs in Class 11 Computer Science Advanced Scripting

Regular revision of MCQs given on studiestoday for Class 11 subject Computer Science Advanced Scripting can help you to score better marks in exams

What are MCQs for Class 11 Computer Science Advanced Scripting

Multiple Choice Questions (MCQs) for Advanced Scripting Class 11 Computer Science are objective-based questions which provide multiple answer options, and students are required to choose the correct answer from the given choices.