Which of the following major sea-ports of India does not have a natural harbour ? (1) Mumbai (2) Cochin (3) Marmagao (4) Paradeep
8 25571Which of the following natural regions is known as the ‘bread basket’ of the world? (1) The Steppe region (2) The Mediterranean region (3) The Monsoon region (4) The Equatorial region
6 23850. The only Hindu Courtier of Akbar who accepted Din-e-Ilahi was (1) Raja Todar Mal (2) Raja Birbal (3) Raja Man Singh (4) Tansen
13 46113. The Sikh Guru put to death by Aurangzeb was (1) Arjun Dev (2) Tegh Bahadur (3) Har Gobind (4) Har Kishan
3 11116. The capital of the Mughal Empire was transferred from Agra to Delhi by (1) Shahjehan (2) Babar (3) Jahangir (4) Humayun
3 28631. Humayun had to run away from India after he was defeated at the battle of (1) Champaner (2) Tarain (3) Panipat (4) Kannaus
5 13969. The youngest folded mountains in India is (1) Nilgiris (2) Siwalic (3) Vindhyas (4) Aravallis
5 27411. In which type of rocks are coal and petroleum found? (1) Granite (2) Igneous (3) Metamorphic (4) Sedimentary
8 41555. The salary of the Chief Justice of India (1) Rs. 33,000 (2) Rs. 30,000 (3) Rs. 40,000 (4) Rs. 36,000
5 15624. A member of Parliament will lose his seat if he remains absent from all meetings without permission for a period of (1) 90 days (2) 100 days (3) 50 days (4) 60 days
1 13408. Which part of the constitution reflects the mind and ideals of the framers? (1) Directive principles (2) Fundamental rights (3) Preamble (4) Emergency provisions
3 41369. Sikkim became a new state in the Indian Union by the amendement act in (1) 32nd, 1974 (2) 35th, 1975 (3) 36th, 1975 (4) 37th, 1975
2 8904. How long can a Presidential ordinance remain in force? (1) 2 moths (2) 3 months (3) 6 months (4) Till the president revokes it
9 55354. Who is the first Law officer of the Government of India? (1) Chief Justice of the Supreme Court (2) Minister of law in the union Government (3) Attorney General of India (4) None
11 79899Post New SSC Interview Questions
What is test closure?
What is redefines clause in COBOL?
Do the lions or lionesses do most of the hunting in a pride?
How do I link an entire row in excel?
What causes diesel engine to automatically stop?
Bearing capacity of soil determined as per ASTM is to design the foundation size.what is the importance of EV1/EV2 value as per DIN .My consultant ask me to test the the soil as per din to find out this ratio to assess the compacted strength of soil ,,?? is it meaning full ??
How failures in execution are handled with include() and require() functions?
What is the basic principle of elisa?
What tasks can be performed at the attendee level in the dynamic attendance menu?
What is form feed in python?
I need help with the following lab. Can anyone explain it to me on how to approach this problem. Coding would be great too !!! No busy waiting allowed. Remember that Java monitors are 'signal and continue'. The input data is called the database (DB). In this problem, it consists of a single variable initialized in the main thread, to contain the current time of day in HH:MM:SS:mmm format (mmm is milliseconds) truncated to 3 digits. Threads follow these rules: 1. Readers may all attempt to read at the same time, but NOT if a writer is writing (i.e.; the writer is in the monitor. 2. Writing is exclusive (only 1 writer at a time, no readers while writing). 3. Options: (to be specified by instructor) a. Readers have absolute priority over writers. b. Writers have absolute priority over readers c. When a reader arrives and a writer is waiting, the reader is suspended behind the writer instead of being admitted immediately. Thus, a writer waits for readers that were running when it arrived, but does not to wait for new readers. You may program this in C++ or Java. There are 4 controlling input values: 1. r – number of readers 2. w – number of writers 3. R – delay for a reader to restart 4. W – delay for a writer to restart Create the following program consisting of 1 main process (your main program) with n threads: 1. The main thread: a. Creates the 'n' threads needed. Of these, r of them are readers and w of them are writers. Starts all readers and writers. b. Waits for all 'n' threads to complete. You may use any method to detect when they are all complete. c. Prints out the resulting outputs from the threads. 2. Threads: a. When a thread starts to run, it immediately tries to enter the monitor. b. A reader thread reads the DB, outputs the exact message below, then exits: >>> DB value read =: HH:MM:SS:mmm by reader number: rr where the underlined text is replaced with actual data. c. A writer thread updates the DB with a new value (from the system time), outputs the exact message below, then exits: *** DB value set to: HH:MM:SS:mmm by writer number: ww where the underlined text is replaced with actual data. d. Each thread accesses the data a total of 10 times, exiting, then re-entering the monitor after each access. Hints: 1. File access *might* not be thread-safe, so you should be prepared to handle this. Read the documentation for the language you are using. 2. Suggested values for delays are: a. If looping, R >=1,000,000 and W>=100,000 b. If using “sleep”, then R=100 ms, W=50 ms. Additional: • Thread output is to ONE file used by ALL threads (so you need to synchronize access to it). • Readers must provide sufficient delay that results are useful (delay by R before re-trying). R is another input value. • Writers must also delay. Delay by W, updating the DB each time. W is an input. • Test your program with AT LEAST TWO different sets of values for r and w (#s of readers and writers) plus this set: r = 4, w=2. Basic operation of a thread: attempt to enter the monitor. If unsuccessful, you get put on a queue. When you get in, read or write the data (depending on type of thread), exit the monitor, wait the required delay amount, then try again. Repeat 10 times.
How do I fix error code 0xc0000005?
What are the advantages of applying connect patches in magento?
What api can be used to programmatically follow people?
What is masking?