Nested Statements in JavaScript (OCR A-Level Computer Science): Flashcards

📚Flashcards
Nested Statements in JavaScript
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

7 cards from this deck

Show

Nested statements in JavaScript

Statements (loops/conditionals) placed within each other

Purpose of nested statements

Handle more complex logic

Use of nested if statements

Multiple conditions

Use of nested loops

Iterating through multidimensional arrays

Common nesting mistake

Too many nested levels

Effect of excessive nesting

Hard to read code

Nested statement best practice

Use judiciously for readability

Explore OCR A-Level Computer Science Revision Notes by Topics

Explore OCR A-Level Computer Science Model Answers by Topics

Explore OCR A-Level Computer Science Quizzes by Topics

Explore OCR A-Level Computer Science Exam Questions by Topics

Join 100,000+ A-Level students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.