Coding Standards Quiz

Coding Standards Quiz

Professional Development

15 Qs

quiz-placeholder

Similar activities

Administrative Law for Public Authorities - Topic 1

Administrative Law for Public Authorities - Topic 1

University - Professional Development

10 Qs

Common Mistakes - Part G

Common Mistakes - Part G

4th Grade - Professional Development

20 Qs

COVID-19

COVID-19

Professional Development

16 Qs

National Education Day Quiz

National Education Day Quiz

6th Grade - Professional Development

20 Qs

Action Research

Action Research

University - Professional Development

10 Qs

Bringing Language to Life through Technology

Bringing Language to Life through Technology

Professional Development

10 Qs

17 Days of SDGs Quiz - Day 16 (English)

17 Days of SDGs Quiz - Day 16 (English)

3rd Grade - Professional Development

15 Qs

CodeMonkey Platform Management & Resources

CodeMonkey Platform Management & Resources

Professional Development

10 Qs

Coding Standards Quiz

Coding Standards Quiz

Assessment

Quiz

Education

Professional Development

Practice Problem

Hard

Created by

Archit Dugar

Used 8+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you ensure that code adheres to good coding standards?

Ensure that the code passes all unit test cases.

Ensure that the code reviews are conducted consistently and effectively.

Use linters to ensure the code is error-free and follows best practices.

All of the above

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Code is said to be understandable when _____.

it is valid, no exception errors and properly commented

it is easily readable with proper comments, indented code and naming conventions

proper naming conventions are used and it is efficient

easily adaptable, error free with adequate validation checks

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the fundamentals of code readability?

Appropriate naming convention

Proper alignment of code

Avoid deep nesting

All of the above

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following isn't true about variable names in modern programming languages like C++, Java and JavaScript?

Shorter variables names generate more efficient code

A space between words in a variable will cause a compile time error

Descriptive variable names increase readability of code

Good variable names help avoid naming collisions

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Alternatively known as dash case or lisp case, what variable naming strategy places a dash between words?

Snake case

Camel case

Kebab case

Pascal case

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following tend not to create challenges or inconsistencies with naming conventions?

Nouns

Acronyms

Initialisms

Compound words

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

A variable named oneTwoThree follows which variable naming convention?

Snake case

Camel case

Kebab case

Pascal case

Access all questions and much more by creating a free account

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?