Showing posts with label SESE (CS). Show all posts
Showing posts with label SESE (CS). Show all posts

Computer Science Operating System MCQs for NTS Test

These are the past Computer Science Operating System MCQs for NTS test.


1.                  Four necessary conditions for deadlocks to exist are: mutual exclusion, no- preemption, circular wait and
a.      Hold and wait
b.      Deadlock avoidance
c.       Race round condition
d.      Buffer overflow
2.                  Round-robin scheduling
a.       Allows interactive tasks quicker access to the processor
b.      Is quite complex to implement
c.       Gives each task the same chance at the processor
d.      Allows processor-bound tasks more time in the processor
3.                  Block or Buffer caches are used
a.      To improve disk performance
b.      To handle interrupts
c.       To increase the capacity of main memory
d.      To speed up main memory read operation
4.                  Part of a program where the shared memory is accessed and which should be executed invisibly, is called
a.       Semaphores
b.      Directory
c.       Critical section
d.      Mutual exclusion
5.                  The total time to prepare a disk drive mechanism for a block of data to be read from it is
a.       Latency
b.      Latency plus transmission time
c.       Latency plus seek time
d.      Latency plus seek time plus transmission time
6.                  What scheduling algorithm allows processes that are logical runnable to be temporarily suspended?
a.      Preemptive scheduling
b.      Non- Preemptive scheduling
c.       FIFO
d.      FCFS
7.                  What problem is solved by Dijkstra’s banker’s algorithm?
a.       Mutual exclusion
b.      Deadlock recovery
c.       Deadlock avoidance
d.      Cache coherence
8.                  Special software to create a job queue is called a
a.       Drive
b.      Spooler
c.       Interpreter
d.      Linkage editor
9.                  Page stealing
a.       Is a sign of an efficient system
b.      Is taking page frames from other working sets
c.       Should be the tuning goal
d.      Is taking larger disk spaces for pages paged out.
10.              Page-map table is
a.       A data file
b.      A directory
c.       Used for address translation

d.      All of the above



These are the past Computer Science Operating System MCQs for NTS test. 

1.                  Process is
a.       Program in High level language kept on disk
b.      Contents of main memory
c.       A program in execution
d.      A job in secondary memory
2.                  Fork is
a.       The dispatching of a task
b.      The creation of a new job
c.       The creation of a new process
d.      Increasing the priority of a task
3.                  To avoid the race condition, the number of processes that may be simultaneously inside their critical section is
a.       8
b.      1
c.       16
d.      0
4.                  FIFO algorithm
a.       Executes first the job that last entered the queue
b.      Executes first the job that first entered the queue
c.       Execute first the job that has been in the queue the longest
d.      Executes first the job with the least processor needs
5.                  The principal of locality of reference justifies the use of
a.       Reenterable
b.      Non reusable
c.       Virtual memory
d.      Cache memory
6.                  A page fault
a.       Is an error is a specific page
b.      Occurs when a program accesses a page of memory
c.       Is an access to a page not currently in memory
d.      Is a reference to a page belonging to another program.
7.                  The SJF algorithm executes first the job
a.       That last entered the queue
b.      That first entered the queue.
c.       That has been in the queue the longest.
d.      With the least processor needs.
8.                  Paging
a.      Is a method of memory allocation by which the program is subdivided into equal portions or pages and core is subdivided into equal portions or blocks.
b.      Consists of those addresses that may be generated by a processor during execution of a computation.
c.       Is a method of allocating processor time.
d.      Allows multiple programs to reside in separate areas of core at the time.
9.                  Scheduling is
a.      Allowing jobs to use the processor
b.      Unrelated to performance consideration
c.       Not required in uniprocessor systems
d.      The same regard-less of the purpose of the system.
10.              Semaphores
a.      Synchronize critical resources to prevent deadlock
b.      Synchronize critical resources to prevent contention
c.       Are used to do I/O


d.      Are used for memory management.

NTS Solved Question for Educator Test on 27 Dec, 2017

NTS Educator Test Questions Solved and Collect here. These are the questions of NTS test on 27 Dec, 2017.
Here is the solved paper of NTS test for the post of educator held on 28 dec 2017. You can find here all past and current papers of NTS test for the post of educator in Punjab Govt Education Department.

1.                  Hydrosphere makes up almost
a.       29% of Earth’s Surface
b.      71% of Earth’s Surface
c.       40% of Earth’s Surface
d.      60% of Earth’s Surface
2.                  According to the administrative system of the Mughal Empire. Wakeel-e-Saltanat was considered second to:
a.       Vizier
b.      Emperor
c.       Mir Bakhshi
d.      Mir Saman
3.                  Who said “to live like a lion for a day is far better than to live like a jackal for a hundred years”?
a.      Tipu Sultan
b.      Hyder Ali
c.       Akbar Shah
d.      Ahmed Shah
4.                  In __________, the rule of East India Company came to an end.
a.      1858
b.      1859
c.       1860
d.      1861
5.                  Lahore Resolution was presented by:
a.       Allama Iqbal
b.      Liaquat Ali khan
c.       Jinnah
d.      A K Fazal Ul Haq
6.                  Pakisan is importing the LNG from:
a.       UAE
b.      Bahrain
c.       Qatar
d.      Saudi Arabia
7.                  Who is the First Lady of America since January 20, 2017?
a.      Melania Trump
b.      Michelle
c.       Barbra
d.      Rosalyun
8.                  Which three countries have signed a MoU to maintain Safe Zones in Syria?
a.       Russia, Turkey, Iraq
b.      Russia, America, China
c.       Turkey, Yemen, US
d.      Russia, Iran, Turkey
9.                  Who is the interior minister of Pakistan with effect from October 2017?
a.       Ishaq Dar
b.      Ahsan Iqbal
c.       Saad Rafique
d.      Chaudry Nisar
10.              In Excel, Which of the following is the intersection of a row and a column?
a.      Table
b.      Form
c.       Cell

d.      Formula
Solved Paper of NTS Educator Test 2018 held on 27-12-2017



1.                  The artimmetic mean of the data -6, -4, 2, 3, 5 is
a.       -4
b.      0
c.       4
d.      2


2.                  The number of students in different classes of middle school are
Classes
5th
6th
7th
8th
No. of Students
20
15
12
13
The relative frequency of 6th class is
a.                   0.25
b.                  15.0
c.                   0.15
d.                  1.50


3.                  Anum needs 9/8 meter cloth for her dress. How much such pieces can be cut from 27/4 cloth.
a.       3
b.      4
c.       5
d.      6



4.                  If the sales price of a laptop is 25000. Profit of 25% earned on sale. The cost price of the laptop is
a.       Rs. 18000
b.      Rs. 20000
c.       Rs. 22000
d.      Rs. 24000


5.                  In the given number line     ----------X----------Y-------------Z----------- >
a.       X>Y
b.      X>Z
c.       Y>Z
d.      X<Z


6.                  Which is subset of every set?
a.       Infinite set
b.      Finite set
c.       Singleton set
d.      Empty Set


7.                  After the death of Sultan Shahab-ud-Din Ghori, the responsibility of his Kingdom was divided on his:
a.       Sons
b.      Brothers
c.       Followers
d.      Slaves


8.                  Indian people were included in Governor General Council for the first time under the:
a.       Lukhnow Pact 1916
b.      Simon Commission
c.       3rd June Plan
d.      Indian Councils Act of 1861


9.                  On December 30, 1906, a resolution for the establishment of All India Muslim League was presented by:
a.       Nawab Waqar-uk-Malik
b.      Sir Agha Khan
c.       Nawab Saleem Ullah Khan
d.      Sir Syed Ahmed Khan


10.              It is believed that the Aryans left their homeland due to:
a.      Natural calamities
b.      Storms
c.       Epidemics

d.      Scarcity of food




What is the currency of Malaysia?
Ringgit

Afridi Longest Six against Which Team?
South Africa

Turch Mir Peak belong to?
Koh Hindu Kash

Atomic Number of CL:
17

Population of Pakistan, According to 2017 Census:
Total
207,774,520
Males
106,443,520
Females
101,331,000



CPEC is the project of _________ Millions:
$62 billion USD

Sulah Hudebya _______ Hijri ma huwa. 6th Hijri ma

Mother age is 3 time greater then daughter age. After four year the sum of the ages daughter and mother is 60. What is the age of mother? Mother age is 39. (

Let

Daughter age = x
Mother age = 3x

After 4 years

Daughter age = x+4
Mother age = 3x+4

After 4 years, the sum of ages is 60, hence

  (x+4)+(3x+4)=60

   4x+8=60

   4x = 60 - 8

   4x = 52

   x = 13

Hence, Mother Age = 3x

             Mother age = 3(13) = 39
)
or
(Beti ki age 13 year 
13 ×3 = 39 
39 is mother age ...

After 4 year 
Beti ki age 13+4 =17
Mother age 39+4 = 43
17+43= 60)


Polythene is made of: ethene


2013 min pmln k muqably min kon c party 2nd nb py rahi: PPP

Spy kalmosion kon sy country sy hy: India

China ka kon sa news pepar Pakistan niklta hy:  Huashang

Kalbhoshan pakistan mn kahan sy pakra gya.(kulbushan(raw agent) ko kahn sa arrest ki)... Iska ans h balochistan sy

2018 worl cup kon sa country organize kr rha ah: Russia


which planet in not added in 2006? Pluto

madir millat kiya hay? kehtab

Mhmaan ka mutzad Kia hy: Mezban




حرف جار

 وہ لفظ جو اسم کو فعل یا مشابہ فعل سے ملائے، مثلاً سے، پر، میں، تک، من، حاشا۔ : 


Quaidazam na 14 nakat kb paish kia.: March 28,1929

dost ka oposit kia ha: Dushman

nawaz sharif ka khelaf 2014 me sb sa baraaa dharna ks na dia: PTI ka Imran aur Awani taheeq tahir ul qadri


فلک بوس کا مطلب ہے بلند


1965 main foreign minister ka poocha tha wo bhutto sahb thay


switzerland capital Bern



Bait e rizman kahan li




A. 5th
B. 6th
C. 7th
D. 8th
 Bait- e Rizwan was infact a promise which was taken by the prophet sallallaho allihiwaslam by all companions under a tree of ACASIA . Hudabiya mosque (treaty of hudabia)

China main kis leadr ny revolution laya.
The Chinese Revolution of 1949. On October 1, 1949, Chinese Communist leaderMao Zedong declared the creation of the People's Republic of China (PRC).
Habsha ka king konsa . najashi
Haj islam ka kosa rukn.: 5th
almeen e zakat kitny.: 
’زکوٰۃ تو صرف ان لوگوں کے لئے جو محتاج اور نرے نادار (مسکین) ہوں اور جو اس کی تحصیل پر مقرر ہیں اور جن کے دلوں کو اسلام سے الفت دی جائے (اسلام کی طرف مائل کرنا ہو) اور (مملوکوں کی) گردنیں آزاد کرنے میں اور قرض داروں کو اور اللہ کی راہ اور مسافر کو، یہ ٹھہرایا ہوا (مقرر شدہ) ہے اللہ کی طرف سے اور اللہ علم و حکمت والا ہے‘‘۔
اس آیت مبارکہ میں آٹھ مصارفین کا ذکر موجود ہے۔
  1. فقراء
  2. مساکین
  3. عاملین زکوٰۃ (زکوٰۃ اکٹھی کرنے والے)
  4. مؤلفۃ القلوب
  5. غلام کی آزادی
  6. مقروض
  7. فی سبیل اللہ
  8. مسافر


 khatra ki jma.: خطرات


ayb ki jma.: عیب, عیوب


Baite_Rizwan kis ky nechy le ge?? tree


I ___ y0ur w0rk,plz remind me
1.f0rgets
2.f0rget

3.had f0rget




State secretary of USARex W. Tillerson

Maximum row and column in Excel? Microsoft Office Excel worksheet contains     65,536 rows and 256 columns. In  Excel 2010, the maximum worksheet size is 1048576 rows by 16384 columns.

Maximum parts of Font format in word: 72

URL mean.? Uniform Resource Locator



(muhawara) noo soo choye kha k bili haj ko chali


.......................................................................................................................................................









👉President na ho to Mulk (Country) chairman senate chalata ha ya speaker????

Ans : Chairman Senate

👉2014 PMLN k against Long March ya dharna kis ny dia

Ans: PTI (Imran)

👉Indian spy Kulbhushan Jadhav was arrested from..

Ans: Balochistan

👉Quran Pak me kitny sajdy hain

Ans : 14
👉Foriegn Minister at the time of 1965 battle
Ans: Zulfikar Ali Bhutto
👉The minimum number of rows and columns in MS Word document is
A. 1 and 1 (Ans)
B. 2 and 1
C. 1 and 2
D. 2 and 2
👉2018 FIFA World Cup
Ans: Russia
👉First Chinese newspaper launched in Pakistan.
Ans: Huashang
👉Capital of Switerzland
Ans : Bern 
👈مادر ملت گرامر کے لحاظ سے ۔۔۔۔۔
خطاب ہے
👉Haj islam ka kon sa rukan hy?
Ans : 5th
👉Masrif e zakat kitny hain?
Ans: 8
👉King farouk kis mulk k hain?
Ans: Egypt (مصر)
👉Text editor kahan hota hy??
Ans: Notepad، 
👉Which planet not added 2006
Ans: Pluto
👉AFTABA means?
Ans: Loata (لوٹا)
👉I ____ your work. Please remind me later.
a) forget
b) forgot 
c) had forgotten
d) have forgotten
👉Bait e Rizwan kahan hui?
Ans: Darkhat k neechy
👉Century of Bu Ali Seena??
Ans:11th
👈بچھڑا کا مذکر
جواب : بچھڑی
👉14 nakat kb psah kiay gaye
Ans: 1929

👉Kutbudin abaik
was the founder of the #Mamluk Dynasty


.......................................................................................................................................................

Total NATO member: 29

Zimbabwe president: Emerson Mnangagwa


قیام کا مطلب کیا ہے?
رک جانا
2۔سیدھا کھڑا ہو نا
3۔بیٹھ جانا
44۔لیٹ جانا

سستانا کا کیا مطلب ہے?
1۔محنت کرنا
آرام کرنا
3۔ستانا
44۔کام کرنا

اراضی کا کیا مطلب ہے?
1۔مرضی
2۔زمین
3۔راضی
44۔عرضی

امراض کس کی جمح ہے?
1۔مرض
2۔مرضی
3۔مریض
44۔مریضہ

حرکت کی جمح کیا ہے?
1۔حرکات
2۔محرک
33۔محرکات

کسی شخص جگہ کے نام کو قواعد میں کیا کہتے ہیں?
1۔حرف
اسم
3۔فعل
44۔کلمہ


 Desoi national Park? Gilgit baltistan


 Sastana ka matlb? Aram karna


روم کا حکمران ۔۔۔۔۔۔۔۔۔۔۔جو مسلمانوں کی طاقت کو مانتا تھا
نوفل
ہرقل👉
ابوجہل
 حبشی


اعتراف کا جملے میں صیحیح استعمال 
اس کی ایمانداری کا سب اعتراف کرتے ہیں
اس کی محنت اعتراف میں مانی جاتی ہے 
 باقی کے دو جملے اب یاد نہیں

صیحیح جملے کی نشاندہی کرہں
میرے بھائ جان دفتر سے لوٹ آۓ ہیں
میرے بھائ جان دفتر سے لوٹ آگۓ ہیں
میرے بھائ جان دفتر سے لوٹ آگے👉

سنسان کا متضاد کیا ہے
1۔آباد
2۔بے آباد
3۔اجاڑ
4۔ بیابان👉

غیر حقیقی تانیث کونسی ہے
1۔دھوبی
2۔نائ
3۔زندگی👉
44۔باورچی

مونث
جملے میں جو مونث میں لایا جاۓ
1۔حلوائ👉
2۔مرضی
3۔باورچی
44۔دھوبی

عداوت کا مطلب کیا ہے
1۔دعوت دینا
2۔دوستی
3۔دعوت اڑانا
4۔دشمنی👉

جہاں چاہ وہاں۔۔۔۔۔۔۔۔۔
راہ👉
جاہ
چلے
 جانا

چار حروف بھیجنا کیا ہے
روز مرہ
محاورہ