Weekly Contest #12 - TechXNinjas

Weekly Contest #12 - TechXNinjas

University

10 Qs

quiz-placeholder

Similar activities

Conocimiento General

Conocimiento General

University

10 Qs

Statistics_December_2020

Statistics_December_2020

University

10 Qs

Grand Nursing Theories Based on Unitary Process

Grand Nursing Theories Based on Unitary Process

1st Grade - University

10 Qs

Quizz ISAE 2024

Quizz ISAE 2024

University

11 Qs

9кл ОГЭ тип 6 (Hard)

9кл ОГЭ тип 6 (Hard)

University

10 Qs

Аяқ қол артериялары мен веналары

Аяқ қол артериялары мен веналары

University

15 Qs

измерение информации

измерение информации

University

11 Qs

SQ #04 Vente et Relation Client

SQ #04 Vente et Relation Client

University

10 Qs

Weekly Contest #12 - TechXNinjas

Weekly Contest #12 - TechXNinjas

Assessment

Quiz

Education

University

Practice Problem

Hard

Created by

TechXNinjas undefined

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?