Weekly Contest #12 - TechXNinjas

Quiz
•
Education
•
University
•
Hard
TechXNinjas undefined
Used 1+ times
FREE Resource
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
Similar Resources on Wayground
5 questions
Ukuran Kemiringan

Quiz
•
University
8 questions
Estadios de la Variable

Quiz
•
University
15 questions
CHUONG 1

Quiz
•
University
10 questions
DMat Quiz

Quiz
•
University
10 questions
Memes

Quiz
•
University
10 questions
Quiz 1 Algebra

Quiz
•
University
15 questions
Data Structure

Quiz
•
University
15 questions
BSED 3 - Phonemic Awareness

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University