An input device is interfaced with Intel 8085A microprocessor as memory mapped I/O.The address of the device is 2500H.In order to input data from the device to accumulator,the sequence of instruction will be
1 6484there are two candidates p and q in an election.During the campaign,40% of the voters promised to vote for P ,and rest for Q.however, on the day of election 15% of the voter went back on their promise to vote for P and instead voted for Q. 25% of the voters went back on their promise to vote for Q and instead voted for P.suppose,P lost by two votes,then what was the total no. of voters.
1 5271there are two candidates p and q in an election.During the campaign,40% of the voters promised to vote for P ,and rest for Q.however, on the day of election 15% of the voter went back on their promise to vote for P and instead voted for Q. 25% of the voters went back on their promise to vote for Q and instead voted for P.suppose,P lost by two votes,then what was the total no. of voters.
4 19696posted by surbhi just now main() { float a = 5.375; char *p; int i; p=(char*)&a; for(i=0;i<=3;i++) printf("%02x",(unsigned char) p[i]); } how is the output of this program is :: 0000ac40 please let me know y this output has come
2 15291Three solid objects of the same material and of equal mass – a sphere, a cylinder (length = diameter) and a cube – are at 5000C initially. These are dropped in a quenching bath containing a large volume of cooling oil each attaining the bath temperature eventually. The time required for 90% change of temperature is smallest for a) cube b) cylinder c) sphere d) equal for all the three whyyyyyyy???????
3 7370For an ideal black body (A) absorptivity = 1 (B) reflectivity = 1 (C) emissivity = 0 which is true???????
4 10773main() {int i=5; // line 1 i=(++i)/(i++); // line 2 printf("%d",i); // line 3 } output is 2 but if we replace line 2 and line 3 by printf("%d",i=(++i)/(i++)); then output is 1. Why?
1 8245two independent random variables x and y are uniformly distributed in the interval [-1,1].the probability that max[x,y] is less than 1/2 is a) 3/4 b)9/16 c)1/4 d)2/3
3 10526in 4 pole lap wound dc motor one brush is disconnected then what result in new voltage if its voltage is v volts power is p watts current is i amp
1 3667For fixed primary voltage how does secondary terminal voltage of a transformer change if the pf of inductive load is raised from 0.7 to 0.9 with load current remaining fixed ?
1 5214suppose a processor does not have any stack pointer register which of the following statements is true? a)it cannot have subroutine call instructions b)it cannot have subroutine call instruction but no nested subroutine calls c)nested subroutine calls are possible, but interrupts are not d)all sequences of subroutine calls and also subroutines are possible
1 9872in india are trains run by DC or AC? if DC , from where it receives negative potential? because pentograph receives singe potential only?
2 5078Post New GATE Interview Questions
What is affix plugin?
I am DD. I am working as a Tester in e-learning company? IS there scope for content testing? or i have to change to software testing. pls guide me...
Do you know how to mouse hover an element in selenium?
Described ternary conditional operator in PHP?
What is the meaning of immutable?
Draw a simple diagram of PeopleSoft three tire architecture?
How to assign division to sales organization?
Hi All, i am Karthik and i have applied sor syndicate bank PO's post. I am an MBA graguate and i have 7 years experience in banking and mnc bpo. Will i get call letter for interview?. Pls let me know any tips to clear the interview. My ID is yemkarthik@rediffmail.com.
How Wireless Communications might affect the Development and Implementation of the Internet of Things (IoT)?
What is a line break?
correct all performance problem without changing any functionality REPORT z_assignment_01. DATA: gt_user TYPE TABLE OF usr02 WITH HEADER LINE, gt_user_role TYPE TABLE OF agr_users WITH HEADER LINE, ********** DO NOT CHANGE THIS SECTION ********** g_begintime TYPE i, g_endtime TYPE i, g_tottime TYPE i. DATA: BEGIN OF gt_output OCCURS 0, bname LIKE usr02-bname, name_text LIKE adrp-name_text, agr_name LIKE agr_users-agr_name, text LIKE agr_texts-text, role_count TYPE i, END OF gt_output. TYPE-POOLS: slis. START-OF-SELECTION. GET RUN TIME FIELD g_begintime. ********** END NO CHANGE ********** SELECT * INTO TABLE gt_user FROM usr02 WHERE class > 'E'. SELECT * INTO TABLE gt_user_role FROM agr_users FOR ALL ENTRIES IN gt_user WHERE uname = gt_user-bname. PERFORM combine_tables. PERFORM get_addl_data. ********** DO NOT CHANGE THIS SECTION ********** GET RUN TIME FIELD g_endtime. g_tottime = ( g_endtime / 1000000 ) - ( g_begintime / 1000000 ). MESSAGE s398(00) WITH g_tottime. PERFORM output. ********** END NO CHANGE ********** *&---------------------------------------------------------------------* *& Form combine_tables *&---------------------------------------------------------------------* * Combine user and role tables *----------------------------------------------------------------------* FORM combine_tables. DATA: ls_usr21 TYPE usr21, ls_adrp TYPE adrp, ls_texts TYPE agr_texts. LOOP AT gt_user. * Get user name SELECT * INTO ls_usr21 FROM usr21 WHERE bname = gt_user-bname. SELECT * INTO ls_adrp FROM adrp WHERE persnumber = ls_usr21-persnumber. gt_output-name_text = ls_adrp-name_text. ENDSELECT. ENDSELECT. LOOP AT gt_user_role WHERE uname = gt_user-bname. * Only process roles that are currently active CHECK gt_user_role-from_dat <= sy-datum AND gt_user_role-to_dat >= sy-datum. * Get role text SELECT * INTO ls_texts FROM agr_texts WHERE agr_name = gt_output-agr_name AND spras = sy-langu AND line = 0. gt_output-text = ls_texts-text. ENDSELECT. gt_output-bname = gt_user-bname. gt_output-agr_name = gt_user_role-agr_name. APPEND gt_output. ENDLOOP. ENDLOOP. ENDFORM. " combine_tables *&---------------------------------------------------------------------* *& Form get_addl_data *&---------------------------------------------------------------------* * Get extra fields *----------------------------------------------------------------------* FORM get_addl_data. DATA: l_count TYPE i. * Count number of roles per user SORT gt_user_role BY uname. LOOP AT gt_user_role. ADD 1 TO l_count. AT END OF uname. LOOP AT gt_output WHERE bname = gt_user_role-uname. gt_output-role_count = l_count. MODIFY gt_output. CLEAR l_count. ENDLOOP. ENDAT. ENDLOOP. ENDFORM. " get_addl_data *&---------------------------------------------------------------------* *& Form output *&---------------------------------------------------------------------* * Output report *----------------------------------------------------------------------* FORM output. DATA: lt_fieldcat TYPE slis_t_fieldcat_alv, ls_fieldcat TYPE slis_fieldcat_alv, l_repid LIKE sy-repid, ls_layout TYPE slis_layout_alv, ls_variant TYPE disvariant. l_repid = sy-repid. CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = l_repid i_internal_tabname = 'GT_OUTPUT' i_inclname = l_repid CHANGING ct_fieldcat = lt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. ls_fieldcat-seltext_l = 'Role Count'. ls_fieldcat-seltext_m = 'Role Count'. ls_fieldcat-seltext_s = 'Role Count'. ls_fieldcat-reptext_ddic = 'Role Count'. MODIFY lt_fieldcat FROM ls_fieldcat TRANSPORTING seltext_l seltext_m seltext_s reptext_ddic WHERE fieldname = 'ROLE_COUNT'. ls_layout-zebra = 'X'. ls_layout-colwidth_optimize = 'X'. CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING is_layout = ls_layout it_fieldcat = lt_fieldcat i_save = 'A' is_variant = ls_variant TABLES t_outtab = gt_output EXCEPTIONS program_error = 1 OTHERS = 2. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. ENDFORM. " output
Is error checking the same as chkdsk?
On which transformations you created partitions in your project?
Discuss about db2 bind?
What is sdk stand for?