题目详情
当前位置:首页 > 外语类考试 > 大学英语四级
题目详情:
发布时间:2024-07-31 00:54:55

[填空题]To open a file and show the information, ______ (你需要双击文件名).

更多"To open a file and show the informa"的相关试题:

[填空题]To open a file and show the information, ______ (你需要双击文件名).


[填空题]To open a file and show the information, ______ (你需要双击文件名).


[单项选择]由语句OPEN(3,FILE=FILE.DAT,SYATUS=NEW‘=)打开的文件是()。
A. 有格式顺序存取文件
B. 无格式顺序存取文件
C. 有格式随机存取文件
D. 无格式随机存取文件
[填空题]
File Management Commands
A -- to open (edit/create) a document
B -- to access the Block and Save Menu
C -- to exit WINDOWS
D -- to cancel a command
E -- to erase (抹去) a file
F -- to copy a file
G -- to rename a file
H -- to erase a character
I -- to erase a word
J -- to erase a line
K -- to restore text just erased
I -- to move cursor one character to the right
M -- to move cursor one word to the left
N -- to move cursor one line up
O -- to move cursor one line down
P -- to move cursor to the top left of the screen
Q -- to move cursor to the bottom right of the screen
R -- to print a file
S -- to insert page number
T -- to insert a symbol
U -- to insert date and time
V -- to close a file
重新命名一个文件 ( )编页码
[简答题]information
[单项选择]有程序
open(1,file=’datl’,status=’old’)
read(1,*)a,b,c
read(1,*)x,Y
backspace 1
do 10 I=1.9
read(1,*,end=20)x
y=y+x
if(y.ge.19)goto 20
10 continue
20 print*,x
end
数据文件dat1经编辑其内容为
1,2,3
4,5,6
7,8,9
程序执行后,输出结果为()。
A. 7.0
B. 5.0
C. 6.0
D. 8.0
[单项选择]

阅读下列FORTRAN77程序:
F(X,Y)=X*X+Y*Y
OPEN(8,FILE=’FD.DAT,STATUS=’NEW’,ACCESS=’DIRECr’,
*FORM=’UNFORMATTED’,RECL=16)
D010K=1,6
P=F(REAL(K),REAL(K+1))
10WRITE(8,REC=K)P
CLOSE(8)
OPEN(6,FILE=’FD.DAT’,STATUS=’OLD’,ACCESS=’DIRECr’,
*FORM=’UNFORMATTED’,RECL=16)
DO20K=2,6,2
READ(6,REC=K)T
20WRITE(*,100)T
100FORMAT(1X,F4.1)
CLOSE(6)
END
运行上述程序后,输出的结果为()。


A. 5.0
B. 5.0
C. 13.0
D. 41.0
[简答题]本题程序的功能是:单击窗口左上角的File菜单中的Open命令,打开一个GIF图像文件,并将图像文件显示在窗口中;单击File菜单中的Exit命令,能够退出程序。请将下述程序补充完整(注意:不得改动程序的结构,不得增行或删行)。
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import java.io.*;
public class simple extends JFrame implements ActionListener

public simple( )

setTitle ("ImageViewer" );
setSize(300,400);
JMenuBar mbar = new JMenuBar( );
JMenu m = new JMenu("File");
openItem = new JMenuItem("Open");
openItem,addActionListener (this);
m.add (openItem);
exitItem = new JMenuItem("Exit");
exitItem.addActionListener(this);
m.add(exitItem);
mbar.add (m);
setJMenuBar (mbar);
label = new JLabel( );
Container contentPane = getContentPane( );
contentPane.add(label,"Center");
public void actionPerformed(ActionEvent evt)
Object source = evt.getSource( );
if (source == openItem)

JFileChooser chooser = new JFileCho
[简答题]本题程序的功能是通过菜单打开一个图像文件。窗臼中有一个菜单“File”,其中包括菜单项“Open”和“Exit”。单击菜单项“Open”可弹出一个打开对话框,选中一个图像文件后单击“打开”按钮返回主窗口,则选中的图像文件显示在窗口中。单击菜单项“Exit”可退出程序。请将下述程序补充完整(注意:不得改动程序的结构,不得增行或删行)。
import java.awt.*;
import java.awt.event.*;
import java.io.*;
import javax.swing.*;
public class advance

public static void main(String[] args)

JFrame frame = new ImageViewerFrame( );
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.show ( );


class ImageViewerFrame extends JFrame

public ImageViewerFrame( )

setTitle("advance");
setSize(DEFAULT WIDTH,DEFAULT_HEIGHT);
label = new JLabel( );
Container contentPane = getContentPane( );
contentPane.add(label);
______;
chooser.setCurrentDireetory(new File("."));
JMenuBar menuBar = new JMenuBar( );
______;
JMenu menu = new JMenu("File");
menuBar,add (menu);
JMenuItem openItem = new JMenuItem("Open");
menu.add(openIt
[名词解释]open class

我来回答:

购买搜题卡查看答案
[会员特权] 开通VIP, 查看 全部题目答案
[会员特权] 享免全部广告特权
推荐91天
¥36.8
¥80元
31天
¥20.8
¥40元
365天
¥88.8
¥188元
请选择支付方式
  • 微信支付
  • 支付宝支付
点击支付即表示同意并接受了《购买须知》
立即支付 系统将自动为您注册账号
请使用微信扫码支付

订单号:

截图扫码使用小程序[完全免费查看答案]
请不要关闭本页面,支付完成后请点击【支付完成】按钮
恭喜您,购买搜题卡成功
重要提示:请拍照或截图保存账号密码!
我要搜题网官网:https://www.woyaosouti.com
我已记住账号密码