
Database System Concepts
7th Edition
ISBN: 9780078022159
Author: Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher: McGraw-Hill Education
expand_more
expand_more
format_list_bulleted
Question
Fill in the blanks :
The output of ls dir* is ______.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by stepSolved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- Question 2: multiply Problem statement In this question first we will practice function overloading and then function templates. Please follow below instructions. We can extend multiplication easily for string types if we interpret the operation as repetition. For example "code" * 3 may be interpreted as "codecodecode". In fact, languages like Python already support this operation. Write a C++ function named multiply that can multiply(repeat) an std::string by a given integer number and return the repeated string. Write another C++ function named multiply that can multiply two given integer (int type) numbers and return the product as an integer. Write another C++ function with the same name that can multiply a floating point number (double type) by a given integer number and return the product as a floating point number. We defined three functions with the same name without a problem. It is either because they have a different number of parameters, or because any of their…arrow_forwardExercise 2 The built-in function eval takes a string and evaluates it using the Python interpreter. For example: >>> eval('1 + 2 * 3') 7 >>> import math >>> eval('math.sqrt(5)') 2.2360679774997898 >>> eval('type(math.pi)') <class 'float'> Write a function called eval_loop that iteratively prompts the user, takes the resulting input and evaluates it using eval, and prints the result. It should continue until the user enters 'done', and then return the value of the last expression it evaluated.arrow_forwardCan you help me with a C++ program: To the class Song you created previously (included below)add functions that perform conversions between songs and strings. Moreprecisely, create a function to_string(s) that takes a song as argumentand returns a string that contains three lines with the song data. For example, the 2019 song September Blues by Quantic should convert to thefollowing string:September Blues\nQuantic\n2019\nAnd create a function to_Song(s) that takes a string as argument andreturns a Song object. The string argument is assumed to contain threelines with valid song data, as shown above.Use string streams #include <iostream>#include <string>using namespace std;class Song {private: string Title; string Artist; int Year;public: Song() : Title("invalid"), Artist("invalid"), Year(-1) {} Song(const string &Title) : Title(Title), Artist("unknown"), Year(-1) {} Song(const string &Title, const string &Artist, int Year) : Title(Title),…arrow_forward
- * Assignment: Longest increasing subsequence * * Sequences are a natural source of computational problems. One such * family of problems involves finding subsequences with specified * properties in a given sequence. This exercise asks you to write * a program that, given a sequence * * s(0), s(1), ..., s(n-1) * * of integers as input, finds a ___longest increasing subsequence___ * of the sequence s. * * For example, suppose we are given as input the sequence * * 72, 16, 51, 17, 6, 21, 92, 59, 54, 78, 41, 33, 94, * 85, 83, 56, 2, 46, 57, 44, 73, 6, 47, 47, 0. * * In this sequence, a longest increasing subsequence has length 7. * One example of such an increasing subsequence is * * 16 < 17 < 21 < 54 < 56 < 57 < 73. * * More generally, your program must be such that * given a sequence * * s(0), s(1), ..., s(n-1) * * of integers as input, the program returns a subsequence * * s(i_1), s(i_2), ..., s(i_k) * * that meets all…arrow_forwardC++arrow_forwardWrite code in C++ There are two scientists working on set of numbers. The first person is looking for two numbersspecifically. The second person is responsible for entering all data. Help the first person to know ifthe numbers set entered by the second person includes the two numbers he is looking for!InputThe first person shall enter two numbers. The second person enters set of numbers of any size. S/hecan enter any range of numbers (up to you how to read those numbers).OutputMessage showing if both numbers entered by the first person have been found or not. If one of thenumbers was found show which one has been found. Hint: you may need to use flag-controlled loop.arrow_forward
- Please fill in the blanks for C. /* Part 1 will count how many times a character appears in a sentence. Part 2 will remove the character of interest from the sentence. Note: I also use different typs of loop to show it doesnt have to be the same type of loop everytime. */ __1__<__2__> //add the library to use printf and scanf functions __3__<__4__> //add the library to use boolean #__5__ LEN 1000 //create a constant max LEN // Add function headers __6__ search_char(__7__ c1, __8__ c2); __9__ get_occurrences(__10__ str[], __11__ search); __12__ scan_string(__13__ str[]); __14__ remove_char_from_str(__15__ s1[], __16__ s2[], __17__ search); //PART 1 + 2 /*This function returns an integer 1 is the two character are the same and 0 otherwise. Normally, we returns -1 if they are not the same, but in this case, this number will be added to the counts from get_occrrences function to return the number of times a character appears for Part 1. */ __18__…arrow_forwardpart 1) Write a generator expression G that produces the sequence of positive integers k in therange 1 < k < 100 such that k is not divisible by 7. Part2) Write a Python function called not_divisible by (d, n) that takes as input two positiveintegers d and n, and returns a generator object producing th: sequence of positive integers k in therange 1 ≤ k < n such that k is not divisible by darrow_forward公 * 00 9. Write the has_same_words_count user defined function, call it, and print out the results: has_same_words_count function has two input parameters from data type String, and it returns true if the two strings have the same number of the words, or returns false otherwise. Example 1: str1%3D' How are you?' str2= ' We are good.' comp = has_same_words_count(str1, str2) will print True. Example 2 str1='How are you? str3=' Welcome to CSCI 111 class' comp = has_same_words_count(str1, str3) %3D print(comp) will print the value False. print(comp) MacBook Air 000 O00 DD F3 F4 F5 F6 F8 V #3 $ 6arrow_forward
- Help and show me fix an error problem? def decorator(decorated_function:callable): def wrapper_function(*args, **kwargs): #this is where we make modifications to the arguments before invoking the decorated function return_value = decorated_function(*args, **kwargs) #this is where we make modifications to the returned value after invoking the decorated function return return_value return wrapper_function def reverse_decorator(function:callable): This question is meant to test your knowledge of creating a decorator to decorate a function that accepts no arguments and alters the decorated function's output. This decorator will decorate a function that only returns strings and has no arguments. This decorator should reverse the string value returned by the decorated function and return the reversed string. In other words, if a function is decorated by this decorator all of the functional output should be the reverse of its normal output. def…arrow_forwardKindly fix the code:arrow_forwardin c++arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education