Untitled

 avatar
unknown
plain_text
22 days ago
2.6 kB
1
Indexable
#include <iostream>
#include <string>
using namespace std;

int main() {
    int score = 0;
    string answer;

    cout << "Mastering Digital Competency in the 21st Century" << endl;
    cout << "By Digital Empowerment Alliance" << endl;
    cout << "--------------------------------------------" << endl;
    cout << "Take this quick quiz to assess your digital skills." << endl;

    // Question 1
    cout << "1. Do you know how to create strong passwords? (yes/no): ";
    cin >> answer;
    if (answer == "yes" || answer == "Yes") {
        score++;
    }

    // Question 2
    cout << "2. Do you regularly update your software? (yes/no): ";
    cin >> answer;
    if (answer == "yes" || answer == "Yes") {
        score++;
    }

    // Question 3
    cout << "3. Do you verify sources before sharing information online? (yes/no): ";
    cin >> answer;
    if (answer == "yes" || answer == "Yes") {
        score++;
    }

    // Question 4
    cout << "4. Do you use two-factor authentication for your online accounts? (yes/no): ";
    cin >> answer;
    if (answer == "yes" || answer == "Yes") {
        score++;
    }

    // Question 5
    cout << "5. Are you familiar with identifying phishing emails or scams? (yes/no): ";
    cin >> answer;
    if (answer == "yes" || answer == "Yes") {
        score++;
    }

    // Display the result
    cout << "\nYour quiz score: " << score << "/5" << endl;

    if (score == 5) {
        cout << "Excellent! You have strong digital skills." << endl;
    } else if (score >= 3) {
        cout << "Good job! You can improve a little more." << endl;
    } else {
        cout << "Keep learning! Strengthen your digital skills." << endl;
    }

    // Tips for improvement
    cout << "\nTips to Assess and Improve Your Digital Capabilities:" << endl;
    cout << "1. Learn to create strong, unique passwords using a combination of letters, numbers, and symbols." << endl;
    cout << "2. Regularly update your operating system and applications to ensure security." << endl;
    cout << "3. Be cautious of online misinformation; verify sources before sharing content." << endl;
    cout << "4. Familiarize yourself with common cybersecurity practices, such as recognizing phishing attempts." << endl;
    cout << "5. Explore and use AI tools to boost productivity and efficiency in your work." << endl;

    // Reminder about AI tools
    cout << "\nReminder: AI tools can come with potential risks." << endl;
    cout << "Be mindful of data privacy, avoid over-reliance, and ensure ethical usage of AI in your work that can lead to cybercrime" << endl;

    return 0;
}
Editor is loading...
Leave a Comment