ExamPlay Dark Logo
दाखिल करना

Computer Science for IGCSE & O level - Programming (Section 10 - No. 6)

In the context of the table of counting operations, what is the purpose of the statement: `NumberOfSacks = NumberOfSacks + 1`?
To multiply the number of sacks by 1.
To subtract 1 from the number of sacks.
To increase the count of sacks by one.
To assign the value 1 to the variable NumberOfSacks.

स्पष्टीकरण

This statement increments the NumberOfSacks variable by 1. This is the standard method for counting in programming.

टिप्पणियाँ (0)

टिप्पणी करने के लिए लॉगिन करें
विज्ञापन
BrainBehindX Inc Logo
©2026; द्वारा संचालित BrainBehindX Inc