Weekly Contest #12 - TechXNinjas
Quiz
•
Education
•
University
•
Practice Problem
•
Hard
TechXNinjas undefined
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of pattern is formed by the following sequence? 1 22 333 4444
Pyramid pattern
Reverse pyramid pattern
Number pattern
Diamond pattern
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following patterns requires the most number of asterisks (*) to print a triangle of height 'n'?
Right-angled triangle
Isosceles triangle
Equilateral triangle
Pyramid
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To print a hollow square pattern of side length 'n', what should be the condition for printing asterisks (*)?
Only for the first and last row
Only for the first and last column
For the border rows and columns
For all rows and columns except the center
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the total number of asterisks (*) printed in a full pyramid pattern of height 'n'?
n*(n+1)/2
n*(n-1)/2
n^2
n!
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which pattern can be formed using nested loops with a single loop variable?
Chessboard pattern
Diamond pattern
Spiral pattern
Zigzag pattern
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To print a reverse pyramid pattern of height 'n', what should be the loop condition for the outer loop?
i = n to 1
i = 1 to n
i = 0 to n-1
i = n-1 to 0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of pattern is formed by alternating asterisks (*) and spaces?
Checkerboard pattern
Stripe pattern
Zigzag pattern
Diagonal pattern
Create a free account and access millions of resources
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
13 questions
Preliminary 1 sesi 1
Quiz
•
University
15 questions
Ôn Tập Lịch Sử Và Địa Lí Lớp 4
Quiz
•
4th Grade - University
10 questions
Escales de mesurament
Quiz
•
University
15 questions
¡JUGUEMOS!
Quiz
•
1st Grade - University
10 questions
Computer Security Quiz
Quiz
•
University
10 questions
Games C and R
Quiz
•
University
6 questions
Sources of financing
Quiz
•
University
15 questions
Unidad 2 - Probabilidad y Estadística
Quiz
•
University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Education
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
