
Unit- 5
Authored by Dhanalakshmi Venkatesh
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
CARS="bmw"
case "$CARS" in
"mercedes") echo "Headquarters - Affalterbach, Germany" ;;
"audi") echo "Headquarters - Ingolstadt, Germany" ;;
"bmw") echo "Headquarters - Chennai, Tamil Nadu, India" ;;
esac
Headquarters - Affalterbach, Germany
Headquarters - Ingolstadt, Germany
Headquarters - Chennai, Tamil Nadu, India
none of the above
2.
OPEN ENDED QUESTION
3 mins • 1 pt
x=1
while [ $x -le 5 ]
do
echo "Welcome $x times"
x=$(( $x + 1 ))
done
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
i=10
until [ $i == 1 ]
do
echo "$i is not equal to 1";
i=$((i-1))
done
echo "i value is $i"
echo "loop terminated"
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
i=1
weekdays="Mon Tue Wed Thu Fri"
for day in $weekdays
do
echo "Weekday $((i++)) : $day"
done
Evaluate responses using AI:
OFF
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements that are used to control shell loops?
A. break
B. continue
C. Both A and B
D. None of the above
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
รถ
Quiz
•
University
10 questions
Konsep Asas Pemikiran Komputasional
Quiz
•
University
10 questions
Memahami konsep Kewargaan Digital
Quiz
•
9th Grade - University
10 questions
Ôn tập & Điểm danh PTDL Buổi 2
Quiz
•
University
10 questions
Control Operations and Instruction Sets Quiz
Quiz
•
University
10 questions
Notes on Blender 3D - Section 5/6
Quiz
•
6th Grade - University
10 questions
Teknologi layanan jaringan
Quiz
•
University
8 questions
Pengetahuan Tentang PUBG
Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade