INFORMATION TECHNOLOGY (IT)
Information Technology (IT)
Show Answers
چار آپشن میں سے کسی ایک پر کلک کرنے سے جواب سرخ ہو جائے گا۔
کمپیوٹر میں منطقی یونٹ کے کام کیا ہیں؟
To produce result
To perform arithmetic and logical unit
To control flow of information
To store result data
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A Logical Unit is also known as an Arithmetic Logic Unit (ALU).
It is a digital circuit that performs arithmetic and logical operations on binary numbers, such as:
Arithmetic operations (e.g., addition, subtraction, multiplication, division) Logical operations (e.g., AND, OR, NOT, XOR)
ترجیحی قطار بنانے کے لئے مندرجہ ذیل میں سے کون سا ڈیٹا ڈھانچہ بہترین ہے؟
Array
Linked List
Binary Heap
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A priority queue processes elements based on priority, not arrival order .
A heap allows efficient insertion and removal of the highest (or lowest) priority element.
Min-Heap gives quick access to the smallest element , Max-Heap to the largest .
مندرجہ ذیل میں سے کون سی او او پی میں پولیمورفزم کی بہترین وضاحت کرتا ہے؟
The process of grouping related objects together
The ability of an object to take on many forms
The relationship between clauses and their objects
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Polymorphism allows objects to be treated as instances of their parent class. This enabling them to take on different forms (e.g., method overriding or overloading). It promotes flexibility and reusability in object-oriented programming.
ہیش ٹیبل میں تلاش کرنے کی وقت کی پیچیدگی کیا ہے؟
O(1)
O(N)
O(log N)
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
On average, searching in a well-implemented hash table has a time complexity of O(1) (constant time) due to direct indexing using the hash function.
In the worst-case scenario , if many elements hash to the same index (collisions), the time complexity can degrade to O(n) (linear time).
کس قسم کے نیٹ ورک اٹیک میں صارف کی حساس معلومات کا انکشاف کرنا شامل ہے؟
Denial of Service (DoS)
Phishing
Man-in-the-middle attack
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
Phishing is a network attack where attackers attempt to obtain sensitive information like usernames, passwords, or credit card details by pretending to be a trustworthy entity.
It often involves misleading emails or fake websites designed to trick users into revealing their personal information.
جاوا میں کنسٹرکٹر کا کیا کام ہے؟
It is used to call other methods.
It initializes an object when it is created.
It is used to delete objects.
None of these.
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A constructor is automatically called when an object is instantiated , setting initial values.
Unlike regular methods , it has the same name as the class and does not have a return type.
0(N²)
O(N)
O(log N)
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
In a nested for-loop , the inner loop executes N times for each iteration of the outer loop.
This results in a total of N × N = N² iterations, making the time complexity O(N²).
کون سا اسٹوریج ڈیوائس تیز رفتار اور کم تاخیر کے لئے جانا جاتا ہے؟
Solid State Drive (SSD)
Hard Disk Drive (HDD)
Optical Disk Drive (ODD)
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
SSDs have no moving parts, which results in faster data access speeds and lower latency .
HDDs rely on mechanical components like spinning disks , which make them slower and more prone to delays in data retrieval.
بیس 5 نمبر سسٹم میں استعمال ہونے والے نمبر ہندسے ______ ہیں؟
5
10
8
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
A base-5 number system uses digits from 0 to 4 , meaning there are 5 different digits in total.
Any number system in base-N uses N unique digits , so base 5 has 5 digits (0, 1, 2, 3, 4) .
چیٹ جی پی ٹی کس ماڈل پر بنایا گیا ہے؟
Transformer architecture
Recurrent Neural Network (RNN)
Convolutional Neural Network (CNN)
None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
Explanation
ChatGPT is based on Transformer architecture , which enables efficient natural language processing .
It uses deep learning to generate human-like text responses.