Category: uncategorised

  • Assignment #3

    Just need someone to rewrite and proof read my one page code write up about about my timing study

    Timing Study: Linear Search vs. Binary Search

    Purpose

    The purpose of this assignment was to compare the performance of Linear Search and Binary Search as the size of the array (N) increases. Since Binary Search requires a sorted array, Insertion Sort was used before performing Binary Search. The time for sorting was included in the Binary Search timing.

    Method

    For this experiment, arrays of random numbers were generated for different sizes of N. The sizes tested were increasing values such as 100, 500, 1000, 2000, 5000, and 10000.

    For each array, the following steps were performed:

    1. An array of N random integers was created.
    2. A random index between 0 and N-1 was selected.
    3. The value at that index was used as the search target.
    4. Linear Search was performed and timed.
    5. A copy of the array was sorted using Insertion Sort.
    6. Binary Search was performed on the sorted array.
    7. The total time for sorting and Binary Search was recorded.

    The time.perf_counter() function in Python was used to measure execution time.

    Results

    As the value of N increased, the time for Linear Search increased steadily. The time for Binary Search alone is very small, but when combined with Insertion Sort, the total time increased much faster.

    For small values of N, both methods performed quickly. However, for larger values of N, Binary Search with Insertion Sort took significantly longer than Linear Search.

    Analysis

    The results match the expected time complexities of the algorithms. Linear Search has a time complexity of O(n). Insertion Sort has a time complexity of O(n2). Binary Search has a time complexity of O(log n).

    Even though Binary Search is faster than Linear Search by itself, the required sorting step makes the overall process much slower. Since Insertion Sort is O(n2), it dominates the total runtime.

    This explains why Binary Search with sorting became slower than Linear Search for large arrays.

    Conclusion

    This experiment shows that the overall efficiency of an algorithm depends on all steps involved. Although Binary Search is very efficient, the need to sort the array using Insertion Sort makes it less practical for large datasets. Linear Search performed better overall when sorting time was included.

    If a faster sorting algorithm such as Merge Sort (O(n log n)) were used, Binary Search would likely outperform Linear Search for large values of N.

    Attached Files (PDF/DOCX): Timing Study.docx

    Note: Content extraction from these files is restricted, please review them manually.

  • Case for or Against Literature

    The Case for (or against) Literature: Take a position on the first unit question: Does literature matter? You will build an argument using at least two course readings (or other related), and you will define what matter means (emotionally, culturally, historically, ethically, politically, etc.). Requirements: 9001100 words, MLA citations.

    My argument is that Literature does matter because it preserves cultural and historical memory. Literature documents lived experiences often excluded from history. Stories, poems, and essays preserve emotions, language, and community memory that might otherwise be erased. To help argue this claim I will use a piece of writing called Writing with Scissors by Ellen Gruber Garvey and The Holocaust in American Life by Peter Novick.

  • Discussion Post

    After completing your reading of Chapter 5; write one paragraph (4-5 sentences) on your thoughts of guidance for young children. Take into consideration the information from the text, Week 5 outline, and your personal opinion of what guidance is with young children. This assignment is worth 20 points.

    Chapter 5 in Foundations of Early childhood Education

  • Psychology Subfields

    MUST BE WRITTEN RED

    Identify five (5) subfields in Psychology. For each subfield give a description and the names of scholars associated with that field. And also give the names of the books/experiments done by the scholars.

    For example for Psychology you will

    1. select 5 subfields
    2. write a description of each of the 5 subfields selected
    3. write the name of 1 scholar in that chosen subfield
    4. write the name of the book written or experiment conducted by that schol

    Requirements: as needed

  • BAM312 Essay 1

    Question: Identify and describe the three directions that information flows within organizations and discuss strategies for improving communication within each. Textbook: (H) Business Communication Process & Product Mary Ellen Guffey & Dana Lowey, 2021 Cenage ISBN.13: 978-0-357-12923-4
  • MGT-560: Leadership Development-Critical Thinking

    Module 03: Critical Thinking

    Leadership Practice

    The Vice President of operations recently promoted you to branch manager and moved you to a new branch office where the morale among employees is low and performance is poor. Of the five employees, Amani has the most tenure with six years. Amani seems to have the lowest morale and is not motivated to do the work, although she is quite capable of doing it successfully. Bassmah has been with the company for four years but has not mastered the new software and is performing at a low level even three months after being trained on the software. Hadeel also has four years with the company and Rawan has two years. Hadeel and Rawan are responsible for client contact, and while in the past they worked well together on reaching out to clients, now there are conflicts and low morale. Samah has been with the company just three months and does not understand what is expected on the job and is contemplating leaving the company.

    Approach the case as the branch manager well versed in situational leadership.

    • Explain situational leadership to your Vice President.
    • Determine the readiness level of each employee and explain your reasoning.
    • Determine the appropriate leader behavior to match the employee level and explain your reasoning.
    • Develop a plan of action as to how you will lead each person to higher performance and morale and explain it to your Vice President.

    Directions:

    • Write an essay that includes an introduction paragraph, the essays body, and a conclusion paragraph to address the assignments guide questions. Do not address the questions using a question-and-answer format.

    Your well-written paper should meet the following requirements:

    • Be 3-5 pages in length, which does not include the title and reference pages, which are never a part of the content minimum requirements.
    • Use Saudi Electronic University academic writing standards and APA style guidelines.
    • Support your submission with course material concepts, principles, and theories from the textbook and at least two current, scholarly, peer-reviewed journal articles. Current articles are those published in the last five years.
    • It is strongly encouraged that you submit all assignments to the Turnitin Originality Check prior to submitting it to your instructor for grading. If you are unsure how to submit an assignment to the Originality Check tool, review the Turnitin Originality CheckStudent Guide for step-by-step instructions.

    In advance of submission, review the grading rubric to see how you will be graded for this assignment.

    Requirements: as shown above

  • Sandy Coun 120

    Week 2 Discussion, Managing Your Time

    For this week’s discussion, share one of your lifetime goals and describe the time management techniques you will use to accomplish this goal. If there are obstacles in the way, how will you deal with them?

    Do you get distracted by technology? Does your phone, the social media, or video games get in the way of accomplishing important goals or getting enough sleep? If so, watch this video and comment on it.

    Discussion Board Guidelines, this applies to all discussions

    Requirements: Follow

  • Reflective Essays Defining an IDBE community

    Defining an IDBE community

    For all of your Reflective Essays, the following should serve as a guide for you:

    • Please remember your reaction piece is intended to give you the opportunity to think, and explain a topic on your own terms – based on what you are reading in the text or other sources. To this end, remember to:
    • Include your own thoughts/observations/reflections, as they are just as important as factual content
    • Please “ground” your essay by citing or referring to the professional literature i.e., the text or other articles so as to show you have examined your topic in the professional sources
    • You are definitely welcome to refer to actual statements made in the source, and reflect on them back and forth. Just don’t make your essay a summary repeat of what the source says, as your reactions are important.
  • Speech Analysis Essay Assignment

    Speech Analysis Essay Assignment

    Watch a (Tim Urbans TED Talk: Inside the Mind of a Master Procrastinator) and

    write a 5-page analysis focusing on structure, delivery, and audience adaptation. Essay must

    be double-spaced in MLA-format.

    Grading Rubric (50 points)

    Criteria Points

    Understanding of Speech Elements 20 pts

    Application of Textbook Concepts 15 pts

    Clarity and Writing Mechanics 10 pts

    Organization and Insight 5 pts

    the Textbook(The Art of Public Speaking: 2023 Release)