Acomputer den track of its users in the table Userlogin_name manager_login lopn_time time_best_ctive). A transaction cal

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Acomputer den track of its users in the table Userlogin_name manager_login lopn_time time_best_ctive). A transaction cal

Post by answerhappygod »

Acomputer Den Track Of Its Users In The Table Userlogin Name Manager Login Lopn Time Time Best Ctive A Transaction Cal 1
Acomputer Den Track Of Its Users In The Table Userlogin Name Manager Login Lopn Time Time Best Ctive A Transaction Cal 1 (35.55 KiB) Viewed 58 times
Acomputer Den Track Of Its Users In The Table Userlogin Name Manager Login Lopn Time Time Best Ctive A Transaction Cal 2
Acomputer Den Track Of Its Users In The Table Userlogin Name Manager Login Lopn Time Time Best Ctive A Transaction Cal 2 (9.87 KiB) Viewed 58 times
Acomputer Den Track Of Its Users In The Table Userlogin Name Manager Login Lopn Time Time Best Ctive A Transaction Cal 3
Acomputer Den Track Of Its Users In The Table Userlogin Name Manager Login Lopn Time Time Best Ctive A Transaction Cal 3 (44.24 KiB) Viewed 58 times
Acomputer Den Track Of Its Users In The Table Userlogin Name Manager Login Lopn Time Time Best Ctive A Transaction Cal 4
Acomputer Den Track Of Its Users In The Table Userlogin Name Manager Login Lopn Time Time Best Ctive A Transaction Cal 4 (44.24 KiB) Viewed 58 times
Acomputer Den Track Of Its Users In The Table Userlogin Name Manager Login Lopn Time Time Best Ctive A Transaction Cal 5
Acomputer Den Track Of Its Users In The Table Userlogin Name Manager Login Lopn Time Time Best Ctive A Transaction Cal 5 (39.93 KiB) Viewed 58 times
Acomputer den track of its users in the table Userlogin_name manager_login lopn_time time_best_ctive). A transaction called to login the user and to logout the user. The timekeeper transaction below displays an alert to a user's manager when a user is inactive for more than 10 minutes, SI TANLATION ISOLATION LEVE SELLE START TRANSACTION BEAD ONLY E SELECT telewi welastactive corran ta intes Alert the snagers at the users who are tractive Which of the following pseudo-code descriptions provides correct transactions compatible with the timekeeper tramaction above, for kogsing the users in and out? Transaction for Login SET TRANSACTION LOCATION LEVEL SOLARE STAIT TRANSACTION Use SELECT to contine the strady Copped in If the ser rely logged in NOELBACK Use SELECT to count the logoed in ters in the Tonite ir Use out 20, ROLLER INSERT the interest in the per ta login Troco For Logout . SITTENSTEIN ISOLATION LEVEL SERTATZAILE START TISTON DILETE the user from the user Tele art LETTIS. the war is not gond and the transaction is tonticoly rottebe CORT O . Trmation for Lopit UIT TISACTION ISOLATION LEVELSERTALABLE START TRANSACTION Use SELECT 10 core the war is not already and to If the currently on I ROLICK1 SELECT to count the tooded there in the role If the cout 20, GOLLARE SAVERGINT SI INSERT the newer in the User Tibe there in the war permission to login Logo Follow etc CUIT O ration for in ET TRACTION TILATION LEVEL HEAD UNCOMMITTED STMETHANSACTION Use SELECT conthewer is ready Toged in the correctly aged in LK SELECT LOC the lines in the role If the count. 20, KOLLAR the nee vor inte the rule they giving the wur son to tin COM Tromotion for Logout SE TRANSACTION ISOLATION LEVEL HEAD LINCOMITTED START TRANSACTION DELETE our free the ele If the DELTE these I not tood in and the transaction utically rolled back CAT

Trine Torin SET TRANSACTION SOLATION LEVEL SEREALTIMBLE; START TUMATTON Use SELECT to confirm the user is not ready logged in TF the war is currently in ROLLBAR SELECT to count the winters in the user Table Ir the count, BOLLE THIRT The into the wrote the Diving the sont loin CRITI Tontor Logout MY TRACTION ISOLATION LEVESEKILALE SYAL TRANSACTION DELETE from the ther Yble IF I DELETE faits the rise ou into the transaction CI

A computer keeps track of its users in the table User/login_name manager_login, login_time, time_last_active). A transaction is called to login the user and to logout the user. The timekeeper transaction below displays an alert to a user's manager when a user is inactive for more than 10 minutes. SET TRANSACTION ISOLATION LEVEL SERIALIZABLE: START TRANSACTION READ ONLY: Use SELECT to find users who time_last active was more than 10 minutes ago Alert the managers of the users who are inactive. COMMIT: Which of the following pseudo-code descriptions provides correct transactions, compatible with the timekeeper transaction above, for logging the users in and out? Transaction for Login SET TRANSACTION ISOLATION LEVEL SERIALIZABLE: START TRANSACTION Use SELECT to confirm the user is not already logged in If the user is currently logged in, ROLLBACK Use SELECT to count the logged in users in the User Table If the count> 20, ROLLBACK INSERT the new user into the user Table thereby giving the user permission to login yo • Transaction for Logout ./ SET TRANSACTION ISOLATION LEVEL SERTALIZABLE; START TRANSACTION DELETE the user from the User Table If the DELETE foils, the user is not logged in and the transaction is automatically rolled back COMMIT: COMMIT • Transaction for Login and Logout 19/ SET TRANSACTION ISOLATION LEVEL SERIALIZABLE START TRANSACTION Use SELECT to confirm the user is not already logged in If the user is currently logged in, ROLLBACK Use SELECT to count the logged in users in the User Table If the count - 20, ROLLBACK SAVEPOINT SI INSERT the new user into the User Table thereby giving the user permission to login Logout follows Rollback to S1 COMMIT:

a • Transaction for Login SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; START TRANSACTION; Use SELECT to confirm the user is not already logged in. If the user is currently logged in, ROLLBACK; Use SELECT to count the logged in users in the User Table. If the count > 20, ROLLBACK; INSERT the new user into the User Table thereby giving the user permission to login COMMIT: • Transaction for Logout SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; START TRANSACTION; DELETE the user from the User Table. If the DELETE fails, the user is not logged in and the transaction is automatically rolled back. COMMIT: / • Transaction for Login SET TRANSACTION ISOLATION LEVEL SERIALIZABLE; START TRANSACTION; Use SELECT to confirm the user is not already logged in. If the user is currently logged in, ROLLBACK; Use SELECT to count the logged in users in the User Table. If the count > 20, ROLLBACK; INSERT the new user into the User Table thereby giving the user permission to login COMMIT; / • Transaction for Logout */ SET TRANSACTION ISOLATION LEVEL SERIALIZABLE; START TRANSACTION; DELETE the user from the User Table If the DELETE fails, the user is not logged in and the transaction is automatically rolled back COMMIT:
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply