کلاؤڈ کمپیوٹنگ کی تعیناتی کی لاگت کا حساب لگانے کا صحیح فارمولا کیا ہے؟
-
A. CostCLOUD = Σ(UnitCostCLOUD / (Revenue – CostCLOUD))
-
B. CostCLOUD = Σ(UnitCostCLOUD / Revenue)
-
C. None of these
-
D. CostCLOUD = Σ(UnitCostCLOUD × (Revenue + CostCLOUD))
Explanation
CostCLOUD = Σ(UnitCostCLOUD / (Revenue – CostCLOUD)).
- This formula reflects the relationship between unit cost, revenue, and total cost in a cloud computing deployment.
- The cost is adjusted by factoring in both the unit cost and the difference between revenue and total cost.
-
A. *ptr
-
B. None of these
-
C. ptr*
-
D. ©ptr
Explanation
In C, the asterisk (*) symbol is used to dereference a pointer.
It means to access the value stored at the address held by the pointer.
Therefore, *ptr is the correct syntax to access the value at the address ptr.
کمپائلر میں انٹرمیڈیٹ کوڈ جنریشن کا مقصد کیا ہے؟
-
A. To produce machine code directly
-
B. To provide a platform-independent representation of the source code
-
C. To perform lexical analysis
-
D. None of these
Explanation
- Intermediate code allows portability across different hardware platforms.
- It serves as a bridge between high-level language and machine code generation.
-
A. 5
-
B. None of these
-
C. 0
-
D. Undefeated behavior
Explanation
- The
printf("%dn", x++);
prints the value of x
before incrementing it. - Since
x++
is a post-increment operator, the value of x
(5) is printed first, and then x
becomes 6 after the statement.
مندرجہ ذیل میں سے کون سا کلاؤڈ تعیناتی ماڈل ہے؟
-
A. None of these
-
B. Network cloud
-
C. Open cloud
-
D. Private cloud
Explanation
- A private cloud is a cloud deployment model where resources are dedicated to a single organization.
- This offering greater control and security.
- Other deployment models include public cloud, hybrid cloud, and community cloud.
مندرجہ ذیل میں سے کون سا غیر کلسٹرڈ انڈیکس کی خصوصیت ہے؟
-
A. The physical order of rows is same from the index order
-
B. The physical order of rows is different from the index order
-
C. None of these
-
D. It cannot be created on a table with a clustered index
Explanation
- A non-clustered index stores pointers to the actual data, so the physical order of rows differs from the index order.
- It allows multiple non-clustered indexes on a table and supports duplicate values.
ایک کثیر صارف ماحول میں، صارفین کے درمیان منصفانہ سی پی یو وقت کی تقسیم کو یقینی بنانے کا ایک عام طریقہ کیا ہے؟
-
A. Shortest Job Next Scheduling
-
B. Priority Scheduling
-
C. None of these
-
D. Round Robin Scheduling
Explanation
- Round Robin Scheduling allocates a fixed time slice (quantum) to each user or process, ensuring fair CPU time.
- It prevents any single process from monopolizing the CPU, making it ideal for multi-user environments.
-
A. Document
-
B. None of these
-
C. Relational
-
D. Key-Value
Explanation
- Relational databases use structured tables and SQL.
- This making them distinct from NoSQL databases.
- NoSQL types include Key-Value, Document, Column, and Graph databases.
ویب ہوسٹنگ کے لیے عام طور پر کون سا سروس ماڈل استعمال ہوتا ہے؟
-
A. None of these
-
B. IaaS
-
C. PaaS
-
D. Saas
Explanation
- Platform as a Service (PaaS) provides the tools and environment to develop, host, and manage web applications.
- It abstracts underlying infrastructure.
- It allowing developers to focus on deployment and scaling.
-
A. 172.16..0 - 172.31.255.255
-
B. None of these
-
C. 169.254.0.0 - 169.254.255.255
-
D. 192.168.0.0 - 192.168.255.255
Explanation
- The range 169.254.0.0 - 169.254.255.255 is reserved for APIPA (Automatic Private IP Addressing), not private IPs defined by RFC 1918.
- Private IP ranges in RFC 1918 include 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.
✅ Correct: 0 |
❌ Wrong: 0 |
📊 Total Attempted: 0