You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-- Insert sample questions for Placeholder Course 1
24
+
-- Insert sample questions for Software Testing Fundamentals
25
25
INSERT INTO questions (question_id, text, sample_solution, chapter_id, ordering) VALUES
26
26
('550e8400-e29b-41d4-a716-446655441011',
27
-
'What are the fundamental principles of software testing?',
28
-
'The fundamental principles of software testing include: 1) Testing shows the presence of defects, not their absence, 2) Exhaustive testing is impossible, 3) Early testing saves time and money, 4) Defects cluster together, 5) Testing is context-dependent, 6) The pesticide paradox - tests need to be updated regularly, and 7) Absence-of-errors fallacy - finding defects does not guarantee system usability.',
27
+
'What are the seven fundamental principles of software testing?',
28
+
'The seven principles are: 1) Testing shows the presence of defects, not their absence, 2) Exhaustive testing is impossible, 3) Early testing saves time and money, 4) Defects cluster together, 5) Testing is context-dependent, 6) Pesticide paradox - tests need regular updates, 7) Absence-of-errors fallacy - finding defects doesn''t guarantee usability.',
29
29
'550e8400-e29b-41d4-a716-446655441001', 1),
30
30
('550e8400-e29b-41d4-a716-446655441012',
31
-
'Explain the difference between verification and validation in testing.',
32
-
'Verification is the process of checking whether the product is being built correctly according to specifications (Are we building the product right?). Validation is the process of checking whether the correct product is being built according to user requirements (Are we building the right product?). Verification typically involves static testing methods like reviews and inspections, while validation involves dynamic testing by executing the code.',
33
-
'550e8400-e29b-41d4-a716-446655441002', 1);
31
+
'Explain the difference between verification and validation in software testing.',
32
+
'Verification asks "Are we building the product right?" - checking if software meets specifications through static methods like reviews. Validation asks "Are we building the right product?" - ensuring software meets user needs through dynamic testing by executing code.',
33
+
'550e8400-e29b-41d4-a716-446655441001', 2),
34
+
('550e8400-e29b-41d4-a716-446655441013',
35
+
'What is the difference between black-box and white-box testing?',
36
+
'Black-box testing examines functionality without knowledge of internal code structure, focusing on inputs and outputs. White-box testing involves testing with full knowledge of internal code structure, paths, and logic to ensure all code paths are tested.',
37
+
'550e8400-e29b-41d4-a716-446655441002', 1),
38
+
('550e8400-e29b-41d4-a716-446655441014',
39
+
'Describe the key differences between unit testing, integration testing, and system testing.',
40
+
'Unit testing tests individual components in isolation. Integration testing verifies interfaces between integrated components. System testing validates the complete integrated system against requirements. Each level increases in scope and complexity.',
41
+
'550e8400-e29b-41d4-a716-446655441002', 2);
34
42
35
-
-- Insert sample questions for Placeholder Course 2
43
+
-- Insert sample questions for Network Security Essentials
36
44
INSERT INTO questions (question_id, text, sample_solution, chapter_id, ordering) VALUES
37
45
('550e8400-e29b-41d4-a716-446655442011',
38
-
'Describe advanced testing strategies for complex systems.',
39
-
'Advanced testing strategies for complex systems include: 1) Risk-based testing to prioritize test efforts, 2) Model-based testing using formal models, 3) Property-based testing with automated test case generation, 4) Mutation testing to evaluate test suite quality, 5) Exploratory testing for discovering unexpected behaviors, 6) Performance testing under realistic loads, and 7) Security testing to identify vulnerabilities.',
46
+
'What are the main types of network security threats?',
'How do you implement continuous testing in modern development workflows?',
43
-
'Continuous testing in modern development workflows involves: 1) Integrating automated tests into CI/CD pipelines, 2) Implementing multiple test layers (unit, integration, system, acceptance), 3) Using test automation frameworks and tools, 4) Parallel test execution for faster feedback, 5) Test data management and environment provisioning, 6) Real-time monitoring and reporting, 7) Shift-left testing practices, and 8) Continuous feedback loops for test improvement.',
44
-
'550e8400-e29b-41d4-a716-446655442002', 1);
50
+
'Explain how a firewall works and describe different types of firewalls.',
51
+
'Firewalls monitor and control network traffic based on security rules. Types include: 1) Packet-filtering firewalls (examine packet headers), 2) Stateful inspection firewalls (track connection states), 3) Application layer firewalls (deep packet inspection), 4) Next-generation firewalls (combine multiple technologies).',
52
+
'550e8400-e29b-41d4-a716-446655442001', 2),
53
+
('550e8400-e29b-41d4-a716-446655442013',
54
+
'What is the purpose of network encryption and how does TLS/SSL work?',
55
+
'Network encryption protects data confidentiality during transmission. TLS/SSL works through: 1) Handshake protocol establishing secure connection, 2) Certificate exchange for authentication, 3) Key exchange using asymmetric encryption, 4) Symmetric encryption for data transfer using shared keys.',
56
+
'550e8400-e29b-41d4-a716-446655442002', 1),
57
+
('550e8400-e29b-41d4-a716-446655442014',
58
+
'Describe the components and benefits of a Virtual Private Network (VPN).',
59
+
'VPN components include: VPN client, VPN server, tunneling protocols (IPSec, OpenVPN), and encryption algorithms. Benefits: secure remote access, data encryption, IP address masking, bypassing geo-restrictions, protection on public networks.',
60
+
'550e8400-e29b-41d4-a716-446655442002', 2);
45
61
46
62
-- Insert questions for Chapter 1: CI/CD Pipelines
47
63
INSERT INTO questions (question_id, text, sample_solution, chapter_id, ordering) VALUES
'What is the difference between monitoring and observability?',
113
129
'Monitoring tells you WHAT is happening (predefined metrics), while observability helps you understand WHY it is happening (ability to debug unknown issues)');
114
130
115
-
-- Insert test flashcards for Testing Strategies Deck
131
+
-- Insert test flashcards for Software Testing Fundamentals Deck
116
132
INSERT INTO flashcards (flashcard_id, deck_id, front, back) VALUES
'What is the difference between verification and validation?',
119
135
'Verification: Are we building the product right? (according to specifications)\nValidation: Are we building the right product? (according to user requirements)'),
'Name 3 fundamental principles of software testing',
123
-
'1. Testing shows presence of defects, not their absence\n2. Exhaustive testing is impossible\n3. Early testing saves time and money'),
138
+
'Name the 7 fundamental principles of software testing',
139
+
'1. Testing shows presence of defects, not absence\n2. Exhaustive testing is impossible\n3. Early testing saves time and money\n4. Defects cluster together\n5. Testing is context-dependent\n6. Pesticide paradox\n7. Absence-of-errors fallacy'),
'A testing technique that evaluates test suite quality by introducing small changes (mutations) to the code and checking if tests can detect these changes');
142
+
'What is the difference between black-box and white-box testing?',
143
+
'Black-box: Testing without knowing internal code structure, focusing on inputs/outputs\nWhite-box: Testing with full knowledge of internal code structure and logic'),
'What are the main differences between unit, integration, and system testing?',
147
+
'Unit: Tests individual components in isolation\nIntegration: Tests interfaces between integrated components\nSystem: Tests complete integrated system against requirements');
128
148
129
-
-- Insert test flashcards for CI/CD Pipeline Essentials Deck
149
+
-- Insert test flashcards for Network Security Essentials Deck
130
150
INSERT INTO flashcards (flashcard_id, deck_id, front, back) VALUES
'When actual infrastructure configuration deviates from the defined specification over time due to manual changes, patches, or updates'),
160
+
'How does TLS/SSL work?',
161
+
'1. Handshake protocol\n2. Certificate exchange for authentication\n3. Key exchange using asymmetric encryption\n4. Symmetric encryption for data transfer'),
0 commit comments