Sie sind auf Seite 1von 5

---------

phpMyAdmin SQL Dump version 2.10.3 http://www.phpmyadmin.net Servidor: localhost Tiempo de generacin: 06-06-2011 a las 08:49:21 Versin del servidor: 5.5.12 Versin de PHP: 5.2.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; --- Base de datos: `bd_auditoria` --- ---------------------------------------------------------- Estructura de tabla para la tabla `pregunta` -CREATE TABLE `pregunta` ( `id_pregunta` int(11) NOT NULL AUTO_INCREMENT, `nro_pregunta` int(11) NOT NULL, `enunc_pregunta` varchar(200) NOT NULL, `opc_1` varchar(115) NOT NULL, `opc_2` varchar(115) NOT NULL, `opc_3` varchar(115) NOT NULL, `opc_correcta` varchar(5) DEFAULT NULL, `id_tipo` int(11) NOT NULL, PRIMARY KEY (`id_pregunta`), KEY `id_tipo` (`id_tipo`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; --- Volcar la base de datos para la tabla `pregunta` -INSERT INTO `pregunta` VALUES (1, 1, 'What is the maximum number of records to a database can be obtained?', 'a.5000 records', 'b.32000 records', 'c.28000 recor ds', 'b', 1); INSERT INTO `pregunta` VALUES (2, 2, 'What is the number of fields you can have a database and how many characters a field can contain up?', 'a.Up to 256 fields to 256 characters per field', 'b.Fields and 238 to 236 characters per field', ' c.Fields 256 and 250 characters per field', 'a', 1); INSERT INTO `pregunta` VALUES (3, 3, 'Is it possible to create specific fields w ith data validation? (For example, if a field is numeric and a user tries to ent er a letter, tell the program error)', 'a. Yes. It is possible.', 'b. Only BD ju st as Microsoft Access or FoxPro ', 'c. No BD to validate fields', 'b', 1); INSERT INTO `pregunta` VALUES (4, 4, 'Can customize dialog input?', 'a. Yes. It is possible.', 'b. Only BD just as Microsoft Access or FoxPro', 'c. No DB permit s', 'b', 1); INSERT INTO `pregunta` VALUES (5, 5, 'What Works import ASCII text file delimite d by commas or tabs? For example, it will import all within the first cell forci ng the user to redistribute in the appropriate fields?', 'a. All information is kept in the first cell to open the database module.', 'b. All data will be autom atically distributed in columns', 'c. Some data will be lost when you open the m odule BD', 'b', 1); INSERT INTO `pregunta` VALUES (6, 1, 'What does MVC mean for the Web environment ?', 'a. Mountain View College', 'b. Model View Controller', 'c. Motor Vehicle Co

mmission', 'b', 2); INSERT INTO `pregunta` VALUES (7, 2, 'What is one of the advantages of using the MVC pattern?', 'a. The distribution of components required to create and mainta in a large number of files', 'b. Clear separation between interface, logic and p resentation', 'c. Having to adhere to a predefined structure', 'b', 2); INSERT INTO `pregunta` VALUES (8, 3, 'What is ASP.NET MVC Framework?', 'a. It is a web application framework', 'b. It is a work environment created by IBM', 'c. N.A', 'a', 2); INSERT INTO `pregunta` VALUES (9, 4, 'Is it the first MVC framework created for. NET?', 'a. If, and only. ', 'b. No, there are many MVC frameworks. NET', 'c. Yes , but It s not the only', 'b', 2); INSERT INTO `pregunta` VALUES (10, 5, 'Can I use Ajax libraries with the MVC fra mework?', 'a. No, the MVC model does not allow the use of server controls', 'b. Yes, ASP.NET MVC fable brings scripting libraries such as those included in the ASP.NET framework or jQuery', 'c. N/A', 'b', 2); INSERT INTO `pregunta` VALUES (11, 1, 'What are the 3 types of failure in networ k security?', 'a. Bit lost during reception of the message, Alteration of the sequence of bits.', 'b. Alteration of bits, No frames, Alteration of the sequence in which the receiver reconstructs the message', 'c. Frame alteration , Absence of sequence in the reception of the message, Absence of sequences of b its.', 'b', 3); INSERT INTO `pregunta` VALUES (12, 2, 'There must be rules of communication:', ' a. Types of equipment such as LAN adapters. And Use digital connection to t he outside as the Internet.', 'b. Installing eavesdropping devices as Snif fers or debugger.', 'c. All of the above', 'c', 3); INSERT INTO `pregunta` VALUES (13, 3, 'This IP address is a Class B', 'a. 120.150.150.1', 'b. 150.10.10.15', 'c. 10.115.137.40', 'c', 3); INSERT INTO `pregunta` VALUES (14, 4, '127.0.0.1 is a special address used to', 'a. Check the TCP / IP', 'b. NIC Test', 'c. No use', 'a', 3); INSERT INTO `pregunta` VALUES (15, 5, 'Maximum distance twisted pair cable', 'a. 200 m', 'b. 100m', 'c. 10m', 'b', 3); INSERT INTO `pregunta` VALUES (16, 1, 'Windows 7,how many bits work?', 'a. 32 bits', 'b. 64 bits', 'c. A.B.', 'a', 4); INSERT INTO `pregunta` VALUES (17, 2, 'The Windows operative system 95/98/XP, or ganize files for quick and easy search by:', 'a. File Types', 'b. Storage slots', 'c. The Memory RAM', 'a', 4); INSERT INTO `pregunta` VALUES (18, 3, 'Regarding the operating system kernel, is true to say that:', 'a. It is a process that runs in privileged mode', ' b. Contains the code for system software', 'c. Permanently residentinma in memory', 'c', 4); INSERT INTO `pregunta` VALUES (19, 4, 'Where you install a virus, which is the p rimary point of attack?', 'a. Software and modification of data', 'b. Eliminat ion of programs and / or data and Theft of confidential information', 'c. T.A.', 'c', 4); INSERT INTO `pregunta` VALUES (20, 5, 'What is there commended operating system and why?', 'a. Is fast, powerful, reliable, versatile and functional course.', 'b. Cheaper cost of acquisition.', 'c. High security assured', 'a', 4); INSERT INTO `pregunta` VALUES (21, 1, 'Regardless of the Manual of Procedures: W hat are the instructions for maintenance and upkeep?', 'a. Cleaning of any area or section, cleaning machinery, equipment and tools at your expense.', 'b. Order and identification of the material being processed or stored.', 'c. A.B.', 'c', 5); INSERT INTO `pregunta` VALUES (22, 2, 'Which organizational level must implement systems of quality documentaries?', 'a. Management Level', 'b. Operatio nal Level', 'c. From Operational to Management Level', 'c', 5); INSERT INTO `pregunta` VALUES (23, 3, 'After the quality audit carried out, Whic h activities can be carried out periodically?', 'a. All documents are properly f iled in their place.', 'b. All archived documents are duly completed and signed by those responsible for each report.', 'A.B.', 'c', 5); INSERT INTO `pregunta` VALUES (24, 4, 'In the evaluation of product quality, if

the results were incorrect, indicate the possible decisions to be taken:', 'a. C ommunicate to customers the existence of defective equipment process to replacem ent.', 'b. Recover the equipment, taking advantage of them only the items that m eet specifications, defective sending junk.', 'A.B.', 'c', 5); INSERT INTO `pregunta` VALUES (25, 5, 'The quality policy must be documented spe cified in:', 'a. Policy Manual', 'b. Quality Manual', 'c. Organization an Functi ons Manual', 'b', 5); -- ---------------------------------------------------------- Estructura de tabla para la tabla `respuesta` -CREATE TABLE `respuesta` ( `id_respuesta` int(11) NOT NULL AUTO_INCREMENT, `opc_seleccionada` varchar(5) DEFAULT NULL, `id_test` int(11) NOT NULL, `id_pregunta` int(11) NOT NULL, PRIMARY KEY (`id_respuesta`), KEY `id_test` (`id_test`), KEY `id_pregunta` (`id_pregunta`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; --- Volcar la base de datos para la tabla `respuesta` --- ---------------------------------------------------------- Estructura de tabla para la tabla `test` -CREATE TABLE `test` ( `id_test` int(11) NOT NULL AUTO_INCREMENT, `nro_test` int(11) NOT NULL, `fecha` date NOT NULL, `hora_inicio` time NOT NULL, `hora_termino` time DEFAULT NULL, `resp_correctas` int(11) DEFAULT NULL, `resp_incorrectas` int(11) DEFAULT NULL, `id_usuario` int(11) NOT NULL, PRIMARY KEY (`id_test`), KEY `id_usuario` (`id_usuario`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; --- Volcar la base de datos para la tabla `test` --- ---------------------------------------------------------- Estructura de tabla para la tabla `tipo_pregunta` -CREATE TABLE `tipo_pregunta` ( `id_tipo` int(11) NOT NULL AUTO_INCREMENT,

`nom_tipo` varchar(50) NOT NULL, PRIMARY KEY (`id_tipo`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ; --- Volcar la base de datos para la tabla `tipo_pregunta` -INSERT INSERT INSERT INSERT INSERT INTO INTO INTO INTO INTO `tipo_pregunta` `tipo_pregunta` `tipo_pregunta` `tipo_pregunta` `tipo_pregunta` VALUES VALUES VALUES VALUES VALUES (1, (2, (3, (4, (5, 'Database Audit'); 'Web Audit'); 'Network Audit'); 'Operative Systems Audit'); 'Quality Systems Audit');

-- ---------------------------------------------------------- Estructura de tabla para la tabla `usuario` -CREATE TABLE `usuario` ( `id_usuario` int(11) NOT NULL AUTO_INCREMENT, `nom_usuario` varchar(30) NOT NULL, `ap_usuario` varchar(30) NOT NULL, `dni` int(11) NOT NULL, `telefono` int(11) NOT NULL, `id_ingreso` varchar(20) NOT NULL, `pass` varchar(20) NOT NULL, `tipo_usuario` varchar(20) NOT NULL, PRIMARY KEY (`id_usuario`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ; --- Volcar la base de datos para la tabla `usuario` -INSERT INTO `usuario` VALUES (1, 'jose', 'anticona', 12345678, 55555, 'admin1', 'admin', 'administrador'); INSERT INTO `usuario` VALUES (2, 'luis', 'tenorio', 11223344, 999999, 'luis01', '12345', 'usuario'); --- Filtros para las tablas descargadas (dump) ---- Filtros para la tabla `pregunta` -ALTER TABLE `pregunta` ADD CONSTRAINT `pregunta_ibfk_1` FOREIGN KEY (`id_tipo`) REFERENCES `tipo_preg unta` (`id_tipo`) ON DELETE CASCADE ON UPDATE CASCADE; --- Filtros para la tabla `respuesta` -ALTER TABLE `respuesta` ADD CONSTRAINT `respuesta_ibfk_1` FOREIGN KEY (`id_test`) REFERENCES `test` (` id_test`) ON DELETE CASCADE ON UPDATE CASCADE, ADD CONSTRAINT `respuesta_ibfk_2` FOREIGN KEY (`id_pregunta`) REFERENCES `preg unta` (`id_pregunta`) ON DELETE CASCADE ON UPDATE CASCADE;

--- Filtros para la tabla `test` -ALTER TABLE `test` ADD CONSTRAINT `test_ibfk_1` FOREIGN KEY (`id_usuario`) REFERENCES `usuario` ( `id_usuario`) ON DELETE CASCADE ON UPDATE CASCADE;

Das könnte Ihnen auch gefallen