SECONDARY SCHOOL TEACHER SST IT PAST PAPER 06-03-2022
SST 5 years Past Papers Click Here
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
ایک منطق کا گیٹ _____ ہے؟
- Electronic circuit
- Digital circuit
- Silicon circuit
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A logic gate is a basic building block of a digital circuit that performs logical operations (AND, OR, NOT).
It processes binary inputs (0s and 1s) to produce a single binary output.
جب حرف 'اے' کمپیوٹر میں ان پٹ ہوتا ہے تو ، اس کا بائنری کوڈ نمائندگی کیا ہے؟
- 01000001
- 01100001
- 01000010
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
In ASCII code, the capital letter 'A' is represented by the binary 01000001.
Computers use this binary format to store and process text data.
ایک _____ کا نام ایک خط کے ذریعہ رکھا گیا ہے جس کے بعد ایک بڑی آنت (:)۔
- Drive
- File
- Window
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
In computer systems, especially Windows, a drive is represented by a letter followed by a colon, like C:, D:.
This notation is used to identify different storage locations or partitions.
- لکڑ ہارے نے
- اپنے غلام نے
- کسان نے
- ان میں سے کوئی نہیں
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
ایک مرتبہ حاتم طائی نے ایک لکڑ ہارے کو کھانے کی دعوت دی، مگر اُس نے انکار کرتے ہوئے کہا
جو شخص اپنی محنت سے روٹی کماتا ہے، وہ حاتم طائی کا احسان نہیں اٹھاتا۔
کون سا لوپ ان حالات میں استعمال کرنے کے لئے موزوں ہے جہاں پروگرامر کو معلوم نہیں ہوتا ہے کہ لوپ کے جسم کو کس وقت کی تعداد میں پھانسی دی جائے گی؟
- Nested loop
- Do-while loop
- For loop
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The do-while loop is useful when the loop must run at least once, even if the condition is false initially.
It's suitable when the number of iterations is not known in advance and depends on runtime conditions.
متن کو سبسکرپٹ میں تبدیل کرنے کے لئے کون سے ایچ ٹی ایم ایل ٹیگ استعمال کیے جاتے ہیں؟
- <sub>
- <sup>
- <small>
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The <sub> tag is used to display text below the normal line, as in subscript (e.g., x<sub>5</sub>).
Commonly used in chemical formulas and mathematical expressions.
ایچ ٹی ایم ایل میں ، کس ٹیگ کو ہر اصطلاح کو تعریف کی فہرست میں بیان کرنے کے لئے استعمال کیا جاتا ہے؟
- <dd>
- <dl>
- <dt>
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The <dt> tag defines the term in a definition list.It is used within a <dl> block along with <dd> for the description.
اگر حالت سچ ہے تو بیانات کے ایک ہی بلاک کو عملی جامہ پہنانے کے لئے کون سا استعمال کیا جاتا ہے؟
- While loop
- Do-while loop
- If statement
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
An if statement executes a single block of code only if the given condition is true.
It is a conditional control structure.
جب پروگرامر کو پہلے ہی معلوم ہوتا ہے کہ لوپ کے جسم کو کتنی بار عمل میں لایا جائے گا تو کس لوپ کو استعمال کرنے کو ترجیح دی جاتی ہے؟
- While
- For
- Do-while
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The for loop is ideal when the number of iterations is known beforehand.
It allows initializing, testing, and updating the loop variable in a single line.
پروگرامنگ لینگویج کے قواعد جن کے مطابق پروگرام کے بیانات لکھے جاتے ہیں انہیں کیا کہا جاتا ہے؟
- Variable
- Syntax
- Semantic
- Expression
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
The rules of a programming language according to which statements are written are referred to as syntax.
Syntax defines the structure and format of valid statements in the language.