General Knowledge & Current Affairs Questions and Answers - Set 2174 1125687
To which the Article 360 of the Constitution of India relates ?9 11534
State with the largest foodgrain production in: (a) MP (b) UP (c) AP (d) Punjab17 12722
?Unicorn? motorbike model has been launched by which company? 1 Hero 2 TVS 3 Honda 4 Yamaha2 2918
What is difference between "terms of payment" and "payment terms" Fields are available in vendor master purchasing view and accounting view respectively. System can take two differnt values for same vendor? why different values are maintained?8 21691
want rrb section engineer previous questions papers of chennia of mechanical department23 48221
Which of the following is used as a lubricant? 1 Graphite 2 Silica 3 Diamond 4 Iron oxide3 17704
if HR asks about, to tel us about automobile engineering wht should we answer him2 6623
what is the Ageing analysis?what is the purpose?11 61263
why a vaccum is created in condenser13 51148
what are the necessary basic electrical topics to learn for mechanical engineer to deal practical problems.1001
If we are late sitting in the office after office Time then any expenses like Fooding charges is made during this hours is taxable under FBT??? If there are Two conditions 1. Staff take reimbursement of such expenses. 2- company directly pay expenses1 2743
Detailed working of a diesel generator set ?1 1298
Sir, plz tell me how droop setting is done in parellel operation od DG set ? please give practical example ?876
Expand L T A7 5062
I am selected interview for computer sc.please give me some information how many types question asked in interview.my id is firstname.lastname@example.org
Code for display the images from drive using vb 6.0?
How to Move a form by clicking in its client area ?
Global and Local shortcuts. Advantages.
what is the difference between poolymer concrete and normal concrete
Define configuration and calibration and explain with an example
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
What is cash clearing account
Types of DBCombo boxes
(1) In turbine, what does term CDP, NI, NH, HSSOC, means. (2) What is the purpose of LO overhead tank in turbines.(3) An equipment is certified for EEX, IA, IIC,T6, what do you under stand by this.(4) what is SURGE, and how it is prevented, what is the purpose of bypass valve across AS valve.(5) Give 2 application of quartz crystal used for process parameter measurement.(6) what is meant by cold float of compressor shaft. (7) state four different types of flow measurement. For gas flow measurement mmscfd is the common unit. Expand the unit and specify significance of word S in the unit.(8) what is meant by Gap voltage, in vibration measurement. Normally how much Gap voltage is set and state the reason.(9) what will the new flow factor if D/P transmitter is Re-Ranged from 25” wc to 50” wc.(10) what is the usage of QDV & Volume booster.
What is the typical sales cycle between initial customer contact and closing of a sale? - Venture Capitalists
a depository bank is held where either in company's exist country or foreign country and how depository work with investor and how investor has to pay share price. please reply me quick because tomorrow my presentation so please........... alok
Topics: Structures, Arrays, Searching and Sorting Assume there is a small mobile computer device including a hard disk and a slot for a memory card. The device shall be used to backup photos e.g. during holiday. Every time a memory card is connected all photos of the card are copied into a new folder automatically. And your task is to develop some basic controlling software to show, add, remove, search and sort the directories of photos. Step by Step Implementation 1.Define two symbolic constants, one to hold the total volume of the disk (e.g. VOLUME) and another one to hold the number of entries the files system of the device can handle (MAXFOLD). 2.Define a new structure data type named DATE to store a date consisting of year, month and day as unsigned values. 3.Define an other structure data type FOLDER to store the information of one folder of photos: ◦A title as character array of appropriate length ◦The location (event) the photos are taken as character array of appropriate length ◦The date of the day the photos are copied to the disk using the just defined data type DATE ◦The number of photos as natural number ◦And the size of the folder in MB as floating point value 4.Define the following global variables and initialise them: ◦disk as an array with MAXFOLD elements of data type FOLDER ◦folders as natural value to count the number of folders currently stored at the disk (valid elements in the array) TEST: Now you should be able to compile the code the first time without any warning or error. In the menu only "p" to print and "q" to quit will work!. 5.Now complete the functions given by their prototype: float freeSpace ();The function has to calculate the sum of the size component of all elements currently stored in the disk array. The function shall return the free space of the disk by the difference between the available total volume and the calculated sum. TEST: To test this function you only need to uncomment printing the "statusline" at the function actionmenu(). Compare the calculated value with a manual calculation of the example values given above. unsigned isBefore (DATE, DATE);The function checks if one date is before the other. There are 3 different possibilities which have to be handled. Imagine for example these 3 different combinations of values: ◦2010-01-01 : 2010-01-02 ◦2010-01-01 : 2010-02-01 ◦2010-01-01 : 2009-01-01 The function shall just return the result of the comparison. unsigned isEqual (DATE, DATE);The function checks if one date is equal to the other, all components have to be compared. The function shall just return the result of the comparison. int findByDate (DATE);As the array is should be kept in order (sorted by date) implement a binary search for a folder by its date here. You need only to adapt the binary search we used in the exercise. Use the 2 comparing functions above where appropriate. The function shall return the index of the element which was found or -1. TEST: Now you can try searching a folder by date via the "s" in the menu. Activate the corresponding part in the main function. int isSpaceLeft (FOLDER);This function compares the free space of the disk with the size of folder given with the parameter list. The function shall return 1 if there is enough space to add the folder, otherwise 0 (just the result of the comparison). void SortByDate ();This function shall implement the InsertionSort using the component date as key. Use the provided algorithm/souce code of the exercise as template. If you need a comparison between dates, use the function isBefore you have written again. void addFolder (FOLDER);The function has to check if the disk has additional capacities to add the new folder (number of folders and space left). If at least one of these conditions is false print an error message and return -1. Else there has to be added an other test to avoid 2 folder elements with the same date (use the findByDate function here. If there is no folder with the new date simply attach the new folder at the end of the array and call the sorting algorithm afterwards to keep the order in the array. TEST: Now you can try to add a folder via the "a" in the menu. Activate the corresponding part in the main function. void delDir (int);This function removes one element of the disk array. The input parameter contains the index of the element to delete. Deletion can simply be done by moving all elements at the right one to the left (overwriting the element to delete. The function may get a -1. This has to be checked first (certainly there is nothing to delete then!) Don't forget to decrement the counter of elements at the end. TEST: Now you can try to remove a folder by date via the "r" in the menu. Activate the corresponding part in the main function. unsigned findAllOfLocation(char, FOLDER);This is an optional additional task: The function shall find all elements with the given value for the component location (first input parameter). The array elements which are found have to be added to the FOLDER array (second input parameter). As this parameter is an array we can use the result later in the main function. There kernel of function implements a modified linear search on the disk array (it does not stop if one element is found bat continues search until the location of all elements is checked). The finally function shall return the number of elements found in the disk array. TEST: Now you can try to add a folder by date via the "l" in the menu. Activate the corresponding part in the main function.
How will you implement sets and the intersection operation? Complexity?
What do you like LEAST & MOST about your current position?