Computer Science Fundamentals Quiz
5 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which option is always correct in relation to computer science?

  • The faster the processor, the faster the execution of code. (correct)
  • A higher clock speed automatically means a faster system.
  • As more memory is made available, software becomes more efficient.
  • Algorithms with a time complexity of $O(n)$ are always faster than algorithms with $O(n^2)$ time complexity.

Which of the following is not necessarily true of a new piece of software?

  • It consists of an algorithm.
  • It requires a computer to execute.
  • It will always outperform existing software in all tasks. (correct)
  • It will have an intended purpose.

What is the core purpose of an algorithm in computer science?

  • To produce complex data structures.
  • To specify a sequence of steps for solving a problem. (correct)
  • To translate human language into machine code.
  • To define the hardware architecture of a computing system

What is the primary function of an operating system?

<p>To manage a computer's hardware and software resources. (D)</p> Signup and view all the answers

Which of these is not a common goal when writing software?

<p>To add as many features as possible. (B)</p> Signup and view all the answers

Flashcards

Empty String

An empty string, represented by two quotation marks with nothing in between, holds no characters.

String

A sequence of characters, like letters, numbers, or symbols, that appear together.

String Length

The size of a string is determined by the number of characters it contains.

String Concatenation

Connecting two strings end-to-end to create a longer string.

Signup and view all the flashcards

String Search

Locating a specific character or sequence of characters within a string.

Signup and view all the flashcards

Study Notes

  • Law is a system of rules, regulations, and norms to govern, maintain, and achieve order and justice.
  • There is no universally accepted definition of law. Some legal thinkers prioritize defining law by what it is not or by its purpose.
  • Every society has its own rules, but these are not always considered law.
  • Law is closely interconnected with ethics and morality.
  • Social values and morality shape acceptable laws. Laws must be accepted by the majority of society to be enforced.
  • What is considered moral or socially acceptable varies between cultures and over time.
  • Law is a narrower concept than morality.
  • Only some moral issues are legally enforceable.

Purpose of Law

  • The main function of law is to maintain order, including public, social, political, economic, and moral order.
  • Law sets boundaries and prescribes sanctions.
  • Law helps create a framework for the government, foster social justice, and mitigate inequality.
  • Law outlines economic order by recognizing property rights.
  • Law aids international order, resolving social problems, and regulating relationships among people.
  • Law helps define acceptable behavior and the consequences for certain kinds of actions.
  • It creates legal frameworks, empowers agents of the State to act, assists the public, and sets rules for the use of law.

History of Law

  • Law is interconnected with human behavior and morality, like religious beliefs.
  • There were complex legal cultures in ancient societies like India, China, Mesopotamia, and Egypt.
  • European legal systems were developed concurrently with religious systems until the 18th century.
  • Churches and other religious organizations have their legal systems in regions like the Czech Republic.
  • Legal systems vary across countries and jurisdictions, from common law to continental/civil law systems.
  • Legal systems describe institutions that craft and enforce law.
  • Common law is dominant in English-speaking countries.
  • Continental/civil law is common in much of Europe.
  • The legal systems of the world have a vast range of traditions and variations; some have significant influence from codified systems of Roman law.
  • The content of legal work varies across legal systems and jurisdictions.
  • Barristers are senior lawyers frequently specializing as court advocates, consultants, and advisors.
  • A solicitor is a primary contact for advice in many areas of law.
  • Legal Executives are part of the legal profession in jurisdictions like the UK.
  • Legal norms are generally accepted rules of behavior while regulatory law makes explicit and concrete ways that the laws are followed.
  • Legislation is the codified law in countries, and is frequently the central and most basic source of law.
  • Various bodies create legislation for specific legal jurisdictions like the EU, state parliaments and local governments.

Primary and Secondary Sources of Law

  • Primary sources are authoritative statements of what the law is; secondary sources interpret law. In legal systems, primary sources are mostly the acts of legislature or decisions by courts.
  • The interpretation of law is important in applying legislated law to diverse and changing real-world circumstances.

Legislative Power, Legitimacy, and Authority

  • Law supports political order by establishing a framework for state power.
  • Many legal systems are based on some form of constitutional law; the source of this legal authority is often political or constitutional
  • The underlying concepts of a country's values and traditions can be a source of power in enforcing laws.
  • Legal norms typically have three parts: hypothesis, disposition, and sanction.
  • Hypothesis defines the situation that triggers a legal obligation or rule.
  • Disposition describes the conduct required or forbidden.
  • Sanction defines the consequences of violating a legal norm.
  • Legal norms can be categorized as injunctive, prohibiting, or permitting based on the requirements they establish.

Substantive and Procedural Law

  • Substantive law defines legal rights and obligations in a certain jurisdiction.
  • Procedural law outlines the procedures for enacting, enforcing, and interpreting legislation.
  • Substantive and procedural law are mutually interdependent and both are vital functions of any legal framework.
  • Procedural law is equally important in any legal framework.

Statutory Interpretation

  • Statutes are used by legal bodies to outline standards for behavior.
  • Interpretation is the process of applying the meaning of statutes to various circumstances.
  • Multiple approaches and rules (the 'literal' or 'golden' rule, the 'mischief' rule, and a more unified common law approach) are used in interpreting statutes.
  • The Czech Republic has a system with multiple legal bodies (including the parliament and various courts) and with codified legislation.
  • The country has adopted codified laws (statutes) which derive from a combination of Roman legal tradition and legacy from the Austro-Hungarian Empire.

International Law

  • International law is a system of rules governing states' interactions; it consists of treaties, customs, and general principles.
  • The United Nations plays a significant role in international law and in upholding human rights for all individuals in multiple locations.
  • Several international courts (such as the International Criminal Court and the European Court of Human Rights) are involved in upholding legal standards in international relations.

Human Rights in Law

  • Human rights are fundamental rights; they belong to individuals simply for being human.
  • International and regional organizations, including the UN and the Council of Europe, address individual violations of human rights.
  • Domestic law requires legal frameworks to protect an individual's rights in each nation.

Private Law

  • Private law regulates relationships among individuals and businesses. It covers diverse areas such as contracts, property, torts, and family law.
  • Private law principles are based largely on Roman legal traditions, which have been codified in many European countries, such as the Czech Republic.
  • Various aspects of private law are derived from norms of good morality, good faith, and similar standards.
  • Legal language differs from ordinary language, including vocabulary, grammar, and textual style.
  • Its goal is to be precise and unambiguous in order to avoid ambiguity and to reduce errors.
  • Plain language movements aim to bring legal language closer to ordinary language.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

low pdf_compressed.pdf PDF

Description

Test your understanding of fundamental concepts in computer science with this quiz. Explore critical aspects like algorithms, operating systems, and software development goals. Perfect for students looking to reinforce their knowledge in the field.

Use Quizgecko on...
Browser
Browser